#big-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--c-green);
    border-radius: .5rem;
}

.dropdown-wrapper > a {
    display: inline-flex;
    align-items: center;
    padding: .6rem 1.1rem .6rem 1.1rem;
    color: var(--c-green);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.15s;
    border-radius: .5rem 0 0 .5rem;
}

.dropdown-wrapper > a svg {
    margin-right: 1rem;
}

@media (hover: hover) {
    .dropdown-wrapper > a:hover {
        background: var(--bg-mult);
    }
}

.dropdown-wrapper > a:active {
    background: var(--bg-mult);
}

.dropdown-sep {
    display: inline-block;
    width: 1px;
    background: var(--c-green);
    opacity: .4;
    margin: .4rem 0;
    flex-shrink: 0;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: .6rem .75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--c-green);
    opacity: .75;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    line-height: 1;
    border-radius: 0 .5rem .5rem 0;
}

@media (hover: hover) {
    .dropdown-toggle:hover {
        background: var(--bg-mult);
        opacity: 1;
    }
}

.dropdown-toggle:active {
    background: var(--bg-mult);
}

.dropdown-toggle .chevron {
    display: inline-block;
    font-size: 9px;
    transition: transform 0.2s;
}

.dropdown-toggle.open .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--body-bg);
    border: 1px solid var(--bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
}

.dropdown-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--h-color);
    text-decoration: none;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.dropdown-item:active {
    background: var(--body-bg);
}

@media (hover: hover) {
    .dropdown-item:hover {
        background: var(--bg);
    }
}

.dropdown-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--c-green);
}

.dropdown-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dropdown-item-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 180px;
        max-height: 60vh;
    }

    .dropdown-wrapper > a {
        padding: .6rem .9rem .6rem .9rem;
        font-size: .9375rem;
    }

    .dropdown-toggle {
        padding: .6rem .6rem;
    }

    .dropdown-item {
        padding: 14px 16px;
        font-size: 15px;
    }
}

.dropdown-menu {
    display: none;
}

.dropdown-menu.open {
    display: block;
    opacity: 1 !important;
}
