/* Global Dropdown Styles */
.dropdown-modern {
    position: relative;
}

.dropdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: transparent;
    pointer-events: auto;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2001;
    width: 280px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 0;
    animation-duration: 0.2s;
}

.user-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: right;
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: rgba(0,0,0,0.05);
}

.user-dropdown-menu .dropdown-item:active {
    background-color: rgba(0,0,0,0.1);
}

.user-dropdown-menu .dropdown-divider {
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    margin: 8px 0;
    border: none;
}

.user-dropdown-menu .dropdown-item .menu-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
}

/* Shared avatar/menu utilities */
.user-avatar-header {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.x-small {
    font-size: 0.7rem;
}

.uppercase {
    text-transform: uppercase;
}
