/* Dropdown Menu Styles */

.dropdown-container {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.dropdown-container:hover .dropdown-arrow {
    transform: translateY(2px);
}

.dropdown-menu,
.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 4px;
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

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

.dropdown-item,
.menu-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.dropdown-item:hover,
.menu-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 1);
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.dropdown-item:hover .dropdown-icon,
.menu-dropdown-item:hover .dropdown-icon {
    color: rgba(255, 255, 255, 1);
}

.dropdown-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    stroke: currentColor;
    fill: currentColor;
}

.dropdown-title {
    font-weight: 600;
    color: white;
    font-size: 0.95em;
    margin-bottom: 2px;
}

.dropdown-desc {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* Animation */
@keyframes dropdown-enter {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    animation: dropdown-enter 0.2s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        left: auto;
        right: 0;
        min-width: 240px;
    }
}
