﻿.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 8px;
    transform-origin: top right;
    transition: opacity 140ms ease, transform 160ms cubic-bezier(.21,1.02,.73,1), box-shadow 160ms ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.88);
}

    .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 18px 40px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.12);
    }

    .dropdown-menu:not(.show) {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
        pointer-events: none;
    }

.dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    transition: background 120ms ease, transform 80ms ease;
}

    .dropdown-item:hover {
        background-color: rgba(0,0,0,0.05);
        transform: translateX(2px);
    }

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: rgba(255,255,255,0.08);
}

button[aria-expanded="true"] {
    transform: scale(0.97);
    transition: transform 100ms ease;
}

[data-bs-theme="dark"] .dropdown-menu {
    background: rgba(30,30,30,0.9);
    box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 6px 16px rgba(0,0,0,0.35);
}

.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4f46e5;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-circle-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4f46e5;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fi {
    width: 18px;
    height: 13px;
    border-radius: 2px;
}

.bi-sun-fill {
    filter: drop-shadow(0 0 2px rgba(255,193,7,0.5));
}

.selector-btn {
    height: 38px;
    min-width: 50px;
    padding: 0 12px;
}

    .selector-btn .fi,
    .selector-btn .bi {
        font-size: 1rem;
        line-height: 1;
    }