
.user-avatar-btn {
    padding: 0;
    border: none;
    background: transparent;
    transition: transform 0.2s ease;
}

.user-avatar-btn:hover {
    transform: scale(1.05);
}

.user-avatar-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    border-radius: 50%;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: box-shadow 0.2s ease;
}

.user-avatar:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.user-avatar i {
    margin: 0;
}

.user-dropdown {
    min-width: 280px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.user-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.user-info-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.user-info-label {
    font-weight: 600;
    color: #6b7280;
    min-width: 3.25rem;
}

.user-info-value {
    font-weight: 500;
    color: #1f2937;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #374151;
    transition: all 0.15s ease;
}

.user-dropdown .dropdown-item:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.user-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
}

.user-dropdown .dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    text-align: center;
}

.subscription-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.notification-btn {
    position: relative;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 1.25rem;
    transition: color 0.15s ease;
}

.notification-btn:hover {
    color: #2563eb;
}

.notification-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    border-radius: 0.5rem;
}

.user-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e5e7eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .subscription-badge {
        display: none;
    }

    .user-dropdown {
        min-width: 260px;
    }

    .user-info small {
        max-width: 200px;
    }
}
