/* Dropdown Menu Styles */
.dropdown-menu,
.dropdown-menu * {
    mix-blend-mode: normal !important;
    filter: none !important;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

/* Only rotate on desktop hover */
@media screen and (min-width: 769px) {
    .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Desktop dropdown */
@media screen and (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 160px;
        padding: 8px 0;
        margin-top: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        /* Frosted glass background for readability over bright folds (subtle) */
        background: rgba(16, 16, 18, 0.38);
        -webkit-backdrop-filter: blur(6px) saturate(115%);
        backdrop-filter: blur(6px) saturate(115%);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu a {
        display: block;
        padding: 6px 15px;
        text-align: left;
        white-space: nowrap;
        color: #ffffff;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.08);
    }

    /* State variations for light backgrounds */
    .menu.second-fold-state .dropdown-menu a:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .bottom-sheet-handle {
        display: none;
    }
}

/* Mobile: Dropdown styles are handled by hamburger menu in styles.css */
@media screen and (max-width: 768px) {
    /* Mobile dropdown menu styles are now in the hamburger menu */
    /* This ensures no conflicts with the new implementation */
    
    .bottom-sheet-handle {
        display: none;
    }
} 