/* User Profile Dropdown */
.header-user {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s;
    user-select: none;
}

.header-user:hover {
    background-color: #F3F4F6;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    padding: 0.5rem;
    display: none;
    z-index: 1100;
    margin-top: 0.5rem;
    animation: fadeInDropdown 0.2s ease-out;
}

.user-dropdown-menu.show {
    display: block;
}

.dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 0.5rem;
}

.dropdown-user-name {
    font-weight: 600;
    color: #1F2937;
    font-size: 0.9rem;
}

.dropdown-user-role {
    font-size: 0.8rem;
    color: #6B7280;
    margin-top: 2px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4B5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: #F3F4F6;
    color: #1F2937;
}

.dropdown-item.text-danger {
    color: #ef4444;
}

.dropdown-item.text-danger:hover {
    background-color: #FEF2F2;
    color: #dc2626;
}

.dropdown-divider {
    height: 1px;
    background-color: #E5E7EB;
    margin: 0.5rem 0;
}

.dropdown-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}