/* Avatar Styles */
.user-menu-container {
    position: relative;
    margin-left: auto;
}

.avatar-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #E5E5E5;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.avatar-container:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.avatar-container img.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2C2C2C;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50%;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 1000;
}

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

.user-dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #2C2C2C;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid #F5F5F5;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item:hover {
    background: #F5F5F5;
}

.user-dropdown-item.logout {
    color: #DC2626;
}

.user-dropdown-item.logout:hover {
    background: #FEE2E2;
    color: #DC2626;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-dropdown-badge {
    background: #E5E5E5;
    color: #666666;
    font-size: 11px;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 500;
}

.user-dropdown-divider {
    height: 1px;
    background: #E5E5E5;
    margin: 0.5rem 0;
}

