/* ============================================
   USER MENU & DROPDOWN
   ============================================ */

.user-menu {
    position: relative;
}

.user-name-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.user-name-btn:hover {
    background: var(--accent-primary);
    color: #000000;
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: transform var(--transition-base);
}

.user-name-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + var(--spacing-sm));
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-fast);
}

.user-dropdown.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.sign-out-btn {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.sign-out-btn:hover {
    background: var(--accent-primary);
    color: #000000;
}