/* ============================================
   InfluenceHub Premium Dark Theme
   Design System CSS Variables & Components
   ============================================ */

/* --- Design Tokens --- */
:root {
    /* Brand Colors */
    --ih-brand-50: #EEF2FF;
    --ih-brand-100: #E0E7FF;
    --ih-brand-200: #C7D2FE;
    --ih-brand-300: #A5B4FC;
    --ih-brand-400: #818CF8;
    --ih-brand-500: #6366F1;
    --ih-brand-600: #4F46E5;
    --ih-brand-700: #4338CA;
    --ih-brand-800: #3730A3;
    --ih-brand-900: #312E81;

    /* Accent (Featured/Gold) */
    --ih-accent-100: #FEF3C7;
    --ih-accent-400: #FBBF24;
    --ih-accent-500: #F59E0B;
    --ih-accent-600: #D97706;
    --ih-accent-700: #B45309;

    /* Neutrals (Slate) */
    --ih-gray-50: #F8FAFC;
    --ih-gray-100: #F1F5F9;
    --ih-gray-200: #E2E8F0;
    --ih-gray-300: #CBD5E1;
    --ih-gray-400: #94A3B8;
    --ih-gray-500: #64748B;
    --ih-gray-600: #475569;
    --ih-gray-700: #334155;
    --ih-gray-800: #1E293B;
    --ih-gray-900: #0F172A;
    --ih-gray-950: #0A0E1A;

    /* Semantic Colors */
    --ih-success: #22C55E;
    --ih-success-soft: rgba(34, 197, 94, 0.15);
    --ih-warning: #F59E0B;
    --ih-warning-soft: rgba(245, 158, 11, 0.15);
    --ih-danger: #EF4444;
    --ih-danger-soft: rgba(239, 68, 68, 0.15);
    --ih-info: #3B82F6;

    /* Dark Theme Surfaces */
    --ih-bg-body: #0F172A;
    --ih-bg-surface: rgba(255, 255, 255, 0.03);
    --ih-bg-surface-hover: rgba(255, 255, 255, 0.06);
    --ih-bg-elevated: rgba(255, 255, 255, 0.05);
    --ih-border: rgba(255, 255, 255, 0.08);
    --ih-border-strong: rgba(255, 255, 255, 0.12);

    /* Text Colors */
    --ih-text-primary: #FFFFFF;
    --ih-text-secondary: #94A3B8;
    --ih-text-muted: #64748B;
    --ih-text-inverse: #0F172A;

    /* Gradients */
    --ih-gradient-hero: linear-gradient(180deg, rgba(61, 56, 133, 0.5) 0%, #0F172A 100%);
    --ih-gradient-brand: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    --ih-gradient-featured: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(51, 48, 100, 0.1) 100%);

    /* Spacing */
    --ih-space-2xs: 4px;
    --ih-space-xs: 8px;
    --ih-space-sm: 12px;
    --ih-space-md: 16px;
    --ih-space-lg: 24px;
    --ih-space-xl: 32px;
    --ih-space-2xl: 48px;
    --ih-space-3xl: 64px;

    /* Border Radius */
    --ih-radius-sm: 8px;
    --ih-radius-md: 12px;
    --ih-radius-lg: 16px;
    --ih-radius-xl: 20px;
    --ih-radius-full: 9999px;

    /* Shadows */
    --ih-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --ih-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --ih-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
    --ih-shadow-glow: 0 0 32px rgba(99, 102, 241, 0.25);
    --ih-shadow-featured: 0 8px 32px rgba(99, 102, 241, 0.2);

    /* Typography */
    --ih-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Base Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html, body {
    font-family: var(--ih-font-sans);
    background-color: var(--ih-bg-body);
    color: var(--ih-text-primary);
    line-height: 1.6;
}

/* --- Shell / Layout --- */
.ih-shell {
    min-height: 100vh;
    background-color: var(--ih-bg-body);
}

/* --- Navigation (Glassmorphism) --- */
.ih-nav {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--ih-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ih-nav .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ih-text-primary) !important;
}

.ih-logo-nav {
    height: 36px;
    width: auto;
}

@media (max-width: 576px) {
    .ih-logo-nav {
        height: 28px;
    }
}

.ih-logo-banner {
    height: 48px;
    width: auto;
}

.ih-nav .nav-link {
    color: var(--ih-text-secondary) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.ih-nav .nav-link:hover,
.ih-nav .nav-link.active {
    color: var(--ih-brand-300) !important;
}

/* --- Buttons --- */
.btn-primary, .ih-btn-primary {
    background: var(--ih-gradient-brand);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ih-radius-md);
    transition: all 0.2s;
}

.btn-primary:hover, .ih-btn-primary:hover {
    background: var(--ih-brand-500);
    transform: translateY(-1px);
    box-shadow: var(--ih-shadow-glow);
}

.btn-outline-light, .ih-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ih-radius-md);
    transition: all 0.2s;
}

.btn-outline-light:hover, .ih-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--ih-text-secondary);
    font-weight: 500;
}

.btn-ghost:hover {
    color: var(--ih-text-primary);
}

.btn:disabled, .ih-btn-primary:disabled, .ih-btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Cards (Glassmorphism) --- */
.ih-card {
    background: var(--ih-bg-surface);
    border: 1px solid var(--ih-border);
    border-radius: var(--ih-radius-xl);
    padding: var(--ih-space-lg);
    transition: all 0.2s;
}

.ih-card:hover {
    background: var(--ih-bg-surface-hover);
    border-color: var(--ih-border-strong);
}

.ih-card-featured {
    background: var(--ih-gradient-featured);
    border: 1px solid rgba(139, 117, 255, 0.3);
    box-shadow: var(--ih-shadow-featured);
}

.ih-card-featured:hover {
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
}

/* --- Creator Card --- */
.ih-creator-card {
    background: var(--ih-bg-surface);
    border: 1px solid var(--ih-border);
    border-radius: var(--ih-radius-lg);
    padding: var(--ih-space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--ih-space-sm);
    transition: all 0.2s;
}

.ih-creator-card:hover {
    background: var(--ih-bg-surface-hover);
    border-color: var(--ih-border-strong);
    transform: translateY(-2px);
}

.ih-creator-card.featured {
    background: var(--ih-gradient-featured);
    border-color: rgba(139, 117, 255, 0.35);
    box-shadow: var(--ih-shadow-featured);
}

/* --- Avatar --- */
.ih-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--ih-radius-full);
    background: var(--ih-gradient-brand);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    flex-shrink: 0;
}

.ih-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ih-avatar-sm { width: 32px; height: 32px; font-size: 0.75rem; }
.ih-avatar-lg { width: 84px; height: 84px; font-size: 1.75rem; }
.ih-avatar-xl { width: 96px; height: 96px; font-size: 2rem; border: 3px solid rgba(255,255,255,0.2); }

/* --- Badges --- */
.ih-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--ih-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.ih-badge-brand {
    background: var(--ih-success);
    color: white;
}

.ih-badge-featured {
    background: var(--ih-accent-400);
    color: var(--ih-gray-900);
}

.ih-badge-neutral {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ih-text-secondary);
}

.ih-badge-success {
    background: var(--ih-success-soft);
    color: var(--ih-success);
}

.ih-badge-warning {
    background: var(--ih-warning-soft);
    color: var(--ih-accent-500);
}

.ih-badge-danger {
    background: var(--ih-danger-soft);
    color: var(--ih-danger);
}

/* --- Niche Tags --- */
.ih-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--ih-radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ih-text-secondary);
}

/* --- Stats --- */
.ih-stat {
    background: var(--ih-bg-surface);
    border: 1px solid var(--ih-border);
    border-radius: var(--ih-radius-lg);
    padding: var(--ih-space-lg);
}

.ih-stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ih-text-muted);
    margin-bottom: 4px;
}

.ih-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ih-text-primary);
}

.ih-stat-change {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
}

.ih-stat-change.up {
    background: var(--ih-success-soft);
    color: var(--ih-success);
}

.ih-stat-change.down {
    background: var(--ih-danger-soft);
    color: var(--ih-danger);
}

/* --- Hero Section --- */
.ih-hero {
    background: var(--ih-gradient-hero);
    padding: var(--ih-space-3xl) var(--ih-space-xl);
    text-align: center;
}

.ih-hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--ih-space-lg);
    color: var(--ih-text-primary);
}

.ih-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto var(--ih-space-xl);
    line-height: 1.6;
}

/* --- Trust Badge --- */
.ih-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ih-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ih-text-primary);
    margin-bottom: var(--ih-space-lg);
}

/* --- Stats Bar --- */
.ih-stats-bar {
    display: flex;
    justify-content: space-between;
    padding: var(--ih-space-2xl) var(--ih-space-3xl);
    background: var(--ih-bg-body);
}

.ih-stats-bar-item {
    text-align: center;
}

.ih-stats-bar-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ih-text-primary);
}

.ih-stats-bar-label {
    font-size: 0.875rem;
    color: var(--ih-text-muted);
}

/* --- Value Props --- */
.ih-value-props {
    background: rgba(9, 14, 26, 1);
    padding: var(--ih-space-3xl) var(--ih-space-xl);
}

.ih-value-card {
    background: var(--ih-bg-surface);
    border: 1px solid var(--ih-border);
    border-radius: var(--ih-radius-xl);
    padding: var(--ih-space-xl);
}

.ih-value-card-icon {
    font-size: 2rem;
    margin-bottom: var(--ih-space-md);
}

.ih-value-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ih-text-primary);
    margin-bottom: var(--ih-space-xs);
}

.ih-value-card-text {
    color: var(--ih-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* --- Forms --- */
.ih-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ih-border);
    border-radius: var(--ih-radius-md);
    padding: var(--ih-space-sm) var(--ih-space-md);
    color: var(--ih-text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.ih-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--ih-brand-500);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.ih-input::placeholder {
    color: var(--ih-text-muted);
}

.ih-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ih-text-primary);
    margin-bottom: 6px;
    display: block;
}

/* --- Search Bar --- */
.ih-search {
    display: flex;
    align-items: center;
    gap: var(--ih-space-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--ih-radius-lg);
    padding: var(--ih-space-xs) var(--ih-space-xs) var(--ih-space-xs) var(--ih-space-lg);
    max-width: 700px;
    margin: 0 auto;
}

.ih-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--ih-text-primary);
    font-size: 1rem;
    outline: none;
}

.ih-search input::placeholder {
    color: var(--ih-text-muted);
}

/* --- Filter Chips --- */
.ih-chips {
    display: flex;
    gap: var(--ih-space-xs);
    flex-wrap: wrap;
}

.ih-chip {
    padding: 8px 16px;
    border-radius: var(--ih-radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ih-text-secondary);
}

.ih-chip:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ih-chip.active {
    background: var(--ih-brand-600);
    border-color: var(--ih-brand-600);
    color: white;
}

/* --- Footer --- */
.ih-footer {
    background: rgba(10, 14, 26, 1);
    border-top: 1px solid var(--ih-border);
    padding: var(--ih-space-3xl) var(--ih-space-xl);
}

.ih-footer-brand {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ih-text-primary);
    margin-bottom: var(--ih-space-sm);
}

.ih-footer-text {
    color: var(--ih-text-muted);
    font-size: 0.875rem;
}

.ih-footer-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ih-text-secondary);
    margin-bottom: var(--ih-space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ih-footer-link {
    color: var(--ih-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    padding: 4px 0;
    transition: color 0.2s;
}

.ih-footer-link:hover {
    color: var(--ih-text-primary);
}

/* --- Star Rating --- */
.ih-stars {
    color: var(--ih-accent-400);
    font-size: 0.875rem;
}

.ih-rating-text {
    color: var(--ih-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- Pricing Table --- */
.ih-pricing-row {
    display: flex;
    justify-content: space-between;
    padding: var(--ih-space-sm) 0;
    border-bottom: 1px solid var(--ih-border);
}

.ih-pricing-label {
    color: var(--ih-text-secondary);
}

.ih-pricing-value {
    font-weight: 600;
    color: var(--ih-text-primary);
}

/* --- Gated Contact Box --- */
.ih-gated {
    background: var(--ih-gradient-featured);
    border: 1px solid rgba(139, 117, 255, 0.25);
    border-radius: var(--ih-radius-xl);
    padding: var(--ih-space-lg);
}

.ih-gated-title {
    font-weight: 600;
    color: var(--ih-text-primary);
    margin-bottom: var(--ih-space-xs);
}

.ih-gated-text {
    color: var(--ih-text-muted);
    font-size: 0.8125rem;
    margin-bottom: var(--ih-space-md);
}

/* --- Sidebar Navigation --- */
.ih-sidebar {
    background: var(--ih-bg-surface);
    border-right: 1px solid var(--ih-border);
    padding: var(--ih-space-lg);
    width: 240px;
    min-height: 100vh;
}

.ih-sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: var(--ih-space-sm);
    padding: var(--ih-space-sm) var(--ih-space-sm);
    border-radius: var(--ih-radius-md);
    color: var(--ih-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.ih-sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ih-text-primary);
}

.ih-sidebar-nav-item.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--ih-text-primary);
}

/* --- Utility Classes --- */
.text-brand { color: var(--ih-brand-400) !important; }
.text-brand-light { color: var(--ih-brand-300) !important; }
.text-primary-custom { color: var(--ih-text-primary) !important; }
.text-secondary-custom { color: var(--ih-text-secondary) !important; }
.text-muted-custom { color: var(--ih-text-muted) !important; }

.bg-body-dark { background-color: var(--ih-bg-body) !important; }
.bg-surface { background: var(--ih-bg-surface) !important; }
.bg-elevated { background: var(--ih-bg-elevated) !important; }

.border-subtle { border-color: var(--ih-border) !important; }
.rounded-lg { border-radius: var(--ih-radius-lg) !important; }
.rounded-xl { border-radius: var(--ih-radius-xl) !important; }

/* --- Override Bootstrap for Dark Theme --- */
.card {
    background: var(--ih-bg-surface);
    border: 1px solid var(--ih-border);
    color: var(--ih-text-primary);
}

.card-body {
    color: var(--ih-text-primary);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ih-border);
    color: var(--ih-text-primary);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--ih-brand-500);
    color: var(--ih-text-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-control::placeholder {
    color: var(--ih-text-muted);
}

.form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ih-border);
    color: var(--ih-text-primary);
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--ih-brand-500);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-label {
    color: var(--ih-text-primary);
    font-weight: 500;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--ih-border-strong);
}

.form-check-input:checked {
    background-color: var(--ih-brand-600);
    border-color: var(--ih-brand-600);
}

.text-muted {
    color: var(--ih-text-secondary) !important;
}

.border {
    border-color: var(--ih-border) !important;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--ih-border);
    color: var(--ih-text-primary);
}

.table th {
    color: var(--ih-text-muted);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    color: var(--ih-text-secondary);
}

a {
    color: var(--ih-brand-400);
}

a:hover {
    color: var(--ih-brand-300);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ih-text-primary);
}

/* --- Validation States --- */
.valid.modified:not([type=checkbox]) {
    outline: none;
    border-color: var(--ih-success) !important;
}

.invalid {
    outline: none;
    border-color: var(--ih-danger) !important;
}

.validation-message {
    color: var(--ih-danger);
    font-size: 0.8125rem;
    margin-top: 4px;
}

/* --- Error Boundary --- */
.blazor-error-boundary {
    background: var(--ih-danger);
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    border-radius: var(--ih-radius-md);
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* --- Alerts --- */
.ih-alert {
    padding: var(--ih-space-sm) var(--ih-space-md);
    border-radius: var(--ih-radius-md);
    font-size: 0.9375rem;
}

.ih-alert-danger {
    background: var(--ih-danger-soft);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--ih-danger);
}

.ih-alert-success {
    background: var(--ih-success-soft);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--ih-success);
}

.ih-alert-warning {
    background: var(--ih-warning-soft);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--ih-accent-400);
}

.ih-alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--ih-info);
}

/* --- Loading & Empty States --- */
.ih-loading {
    color: var(--ih-text-secondary);
    text-align: center;
    padding: var(--ih-space-2xl);
}

.ih-empty {
    text-align: center;
    padding: var(--ih-space-2xl);
}

.ih-empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ih-text-primary);
    margin-bottom: var(--ih-space-xs);
}

.ih-empty-text {
    color: var(--ih-text-muted);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .ih-hero-title {
        font-size: 2.25rem;
    }
    
    .ih-stats-bar {
        flex-wrap: wrap;
        gap: var(--ih-space-lg);
        padding: var(--ih-space-xl);
    }
    
    .ih-stats-bar-item {
        flex: 1 1 45%;
    }
}

/* --- User menu (avatar dropdown) --- */
.ih-usermenu {
    position: relative;
    outline: none;
}

.ih-usermenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--ih-border);
    border-radius: var(--ih-radius-full);
    padding: 4px 12px 4px 4px;
    color: var(--ih-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.ih-usermenu-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--ih-border-strong);
}

.ih-usermenu-caret {
    font-size: 0.7rem;
    color: var(--ih-text-muted);
}

.ih-usermenu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: var(--ih-bg-surface);
    border: 1px solid var(--ih-border-strong);
    border-radius: var(--ih-radius-md);
    box-shadow: var(--ih-shadow-lg);
    padding: 6px;
    z-index: 1000;
}

.ih-usermenu-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 9px 12px;
    border-radius: var(--ih-radius-sm);
    color: var(--ih-text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
}

.ih-usermenu-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ih-text-primary);
}

.ih-usermenu-item-danger {
    color: var(--ih-danger, #F87171);
}

.ih-usermenu-divider {
    height: 1px;
    background: var(--ih-border);
    margin: 6px 4px;
}

/* --- Progress meter (profile completeness) --- */
.ih-meter {
    height: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--ih-radius-full);
    overflow: hidden;
}

.ih-meter-fill {
    height: 100%;
    background: var(--ih-gradient-brand, linear-gradient(90deg, #6366F1, #8B75FF));
    border-radius: var(--ih-radius-full);
    transition: width 0.3s ease;
}

/* --- Setup checklist --- */
.ih-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ih-checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--ih-border);
    border-radius: var(--ih-radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.ih-checklist-item.done {
    opacity: 0.6;
}

.ih-checklist-mark {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: var(--ih-radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 1px solid var(--ih-border-strong);
    color: var(--ih-text-muted);
}

.ih-checklist-item.done .ih-checklist-mark {
    background: var(--ih-success-soft);
    color: var(--ih-success);
    border-color: transparent;
}

.ih-checklist-label {
    flex: 1;
    color: var(--ih-text-secondary);
    font-size: 0.9rem;
}

.ih-checklist-item.done .ih-checklist-label {
    text-decoration: line-through;
}
