dropdown-menu[open] .dropdown-menu__button svg {
    transform: rotate(-180deg);
}

dropdown-menu[open] .dropdown-menu__button .svglocalgeo svg {
    transform: rotate(0deg) !important;
}

.dropdown-menu {
    position: relative;
}

.dropdown-menu__button {
    gap: 8px;
}
.dropdown-menu__button.new-button{
    background-color: #161a1d;
    border:1px solid #ffffff;
}
.dropdown-menu__button:active::before {
    animation: none;
}

.dropdown-menu__button svg {
    transition: transform 0.2s linear;
    /* color: #ffffff; */
    color: black;
    display: none;
}
.dropdown-menu__list-wrapper {
    position: absolute;
    background-color: rgb(var(--color-page-background));
    overflow: hidden;
    z-index: 10;
    /* padding: 10px 0; */
}

.dropdown-menu__list-wrapper.top {
    bottom: 100%;
    top: unset;
}

.dropdown-menu__list-wrapper.bottom {
    top: 100%;
}

.dropdown-menu__list {
    position: relative;
    max-height: 60vh;
    overflow-y: auto;
    width: max-content;
    /* background-color: rgba(128, 128, 128, 0.5); */
    background-color: black;
}

.dropdown-menu__list a {
    display: block;
    padding: 4px 15px;
    cursor: pointer;
    color: #fff !important;
}

@media screen and (max-width: 959px) {
    .dropdown-menu__list-wrapper.top {
        right: 0;
        background: #f5f5f5;
    }

    .dropdown-menu {
        position: relative;
        bottom: 0;
    }

}

.button.button--secondary.dropdown-menu__button {
    padding: 12px;
    background-color: currentColor;
}

.new_button_text {
    color: #5E5F3E;
}

.new_dropdown-menu__list-wrapper-color {
    background-color: rgba(128, 128, 128, 0.8) !important;
}

@media (max-width:480px) {
    .button.button--secondary.dropdown-menu__button {
        padding: 8px;
        background-color: currentColor;
    }
}


/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */