/* /Components/Layout/AppShell.razor.rz.scp.css */
/*
 * AppShell Styles - Wealth Portal 2
 * ==================================
 * 3-Column CSS Grid Layout using design tokens
 *
 * Structure:
 * [240px Nav] [Flex Content] [0/380px AI Panel]
 */

/* ========================================
   ROOT SHELL - 3-Column Grid
   ======================================== */

.app-shell[b-x37lf8e5rk] {
    display: grid;
    grid-template-columns: var(--nav-width) minmax(0, 1fr) 0;
    grid-template-rows: 100vh;
    background: var(--color-background);
    color: var(--color-text);
    overflow: hidden;
    font-family: var(--font-family);
}

/* When AI panel is open, allocate width to third column */
.app-shell.ai-open[b-x37lf8e5rk] {
    grid-template-columns: var(--nav-width) minmax(0, 1fr) var(--ai-panel-width);
}

/* ========================================
   LEFT NAVIGATION
   ======================================== */

.shell-nav[b-x37lf8e5rk] {
    background: linear-gradient(180deg, var(--color-primary) 0%, #0f172a 100%);
    color: var(--color-text-inverse);
    padding: var(--space-4) var(--space-3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Nav Header - User Profile */
.shell-nav-header[b-x37lf8e5rk] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-2) var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-4);
}

/* Avatar */
.shell-avatar[b-x37lf8e5rk] {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    color: white;
    text-transform: uppercase;
}

/* Avatar color variants */
.shell-avatar.avatar-adviser[b-x37lf8e5rk] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.shell-avatar.avatar-client[b-x37lf8e5rk] {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.shell-avatar.avatar-admin[b-x37lf8e5rk] {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.shell-avatar img[b-x37lf8e5rk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

/* Avatar wrapper for badge positioning */
.shell-avatar-wrapper[b-x37lf8e5rk] {
    position: relative;
    display: inline-block;
}

/* Adviser badge overlay */
.shell-adviser-badge[b-x37lf8e5rk] {
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 2px solid var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: var(--font-weight-bold);
    color: white;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shell-adviser-badge:hover[b-x37lf8e5rk] {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.shell-adviser-badge img[b-x37lf8e5rk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

/* User info */
.shell-nav-user[b-x37lf8e5rk] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.shell-nav-name[b-x37lf8e5rk] {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shell-nav-role[b-x37lf8e5rk] {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

/* Nav Menu */
.shell-nav-menu[b-x37lf8e5rk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

/* Nav Items */
.shell-nav-item[b-x37lf8e5rk] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-3) var(--space-3);
    border-radius: var(--radius-lg);
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
    text-decoration: none;
}

.shell-nav-item i[b-x37lf8e5rk] {
    width: 20px;
    text-align: center;
    font-size: var(--font-size-base);
}

.shell-nav-item:hover[b-x37lf8e5rk] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Active state using Blazor's NavLink */
.shell-nav-item.active[b-x37lf8e5rk],
[b-x37lf8e5rk] .shell-nav-item.active {
    background: rgba(59, 130, 246, 0.2);
    color: white;
    font-weight: var(--font-weight-medium);
    border-left: 3px solid #3b82f6;
    padding-left: calc(var(--space-3) - 3px);
}

/* Nav Footer */
.shell-nav-footer[b-x37lf8e5rk] {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nav Scrollbar */
.shell-nav[b-x37lf8e5rk]::-webkit-scrollbar {
    width: 6px;
}

.shell-nav[b-x37lf8e5rk]::-webkit-scrollbar-track {
    background: transparent;
}

.shell-nav[b-x37lf8e5rk]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.shell-nav[b-x37lf8e5rk]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   MAIN COLUMN
   ======================================== */

.shell-main[b-x37lf8e5rk] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--color-background);
}

/* ========================================
   TOP BAR
   ======================================== */

.shell-topbar[b-x37lf8e5rk] {
    height: var(--topbar-height);
    min-height: var(--topbar-height);
    padding: 0 var(--content-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.shell-topbar-left[b-x37lf8e5rk] {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    min-width: 0;
}

.shell-logo[b-x37lf8e5rk] {
    height: 32px;
    width: auto;
}

.shell-firm-name[b-x37lf8e5rk] {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.shell-title[b-x37lf8e5rk] {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.shell-topbar-center[b-x37lf8e5rk] {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 480px;
}

.shell-topbar-right[b-x37lf8e5rk] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Search Box */
.shell-search[b-x37lf8e5rk] {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.shell-search input[b-x37lf8e5rk] {
    width: 100%;
    padding: var(--space-2) var(--space-4) var(--space-2) 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-background);
    color: var(--color-text);
    font-size: var(--font-size-base);
    transition: all var(--transition-normal);
}

.shell-search input:focus[b-x37lf8e5rk] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
    background: var(--color-surface);
}

.shell-search input[b-x37lf8e5rk]::placeholder {
    color: var(--color-text-tertiary);
}

.shell-search > i[b-x37lf8e5rk] {
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-tertiary);
    font-size: var(--font-size-base);
    pointer-events: none;
}

.shell-search-clear[b-x37lf8e5rk] {
    position: absolute;
    right: var(--space-2);
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    transition: all var(--transition-fast);
}

.shell-search-clear:hover[b-x37lf8e5rk] {
    background: var(--color-text-tertiary);
    color: white;
}

/* Top Bar Buttons */
.shell-topbar-btn[b-x37lf8e5rk] {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    transition: all var(--transition-normal);
}

.shell-topbar-btn:hover[b-x37lf8e5rk] {
    background: var(--color-background);
    color: var(--color-text);
}

.shell-notification-badge[b-x37lf8e5rk] {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-full);
    background: var(--color-error);
    color: white;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   USER MENU DROPDOWN
   ======================================== */

.shell-user-menu[b-x37lf8e5rk] {
    position: relative;
}

.shell-user-btn[b-x37lf8e5rk] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1);
    border-radius: var(--radius-lg);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.shell-user-btn:hover[b-x37lf8e5rk] {
    background: var(--color-background);
}

.shell-user-avatar[b-x37lf8e5rk] {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    color: white;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-primary), #2563eb);
}

/* Avatar color variants for topbar */
.shell-user-avatar.avatar-adviser[b-x37lf8e5rk] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.shell-user-avatar.avatar-client[b-x37lf8e5rk] {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.shell-user-avatar.avatar-admin[b-x37lf8e5rk] {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.shell-user-avatar img[b-x37lf8e5rk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.shell-user-chevron[b-x37lf8e5rk] {
    font-size: 10px;
    color: var(--color-text-tertiary);
    transition: transform var(--transition-fast);
}

.shell-dropdown-overlay[b-x37lf8e5rk] {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-dropdown) - 1);
}

.shell-user-dropdown[b-x37lf8e5rk] {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 220px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    overflow: hidden;
}

.shell-dropdown-header[b-x37lf8e5rk] {
    padding: var(--space-3) var(--space-4);
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border-light);
}

.shell-dropdown-name[b-x37lf8e5rk] {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    color: var(--color-text);
}

.shell-dropdown-role[b-x37lf8e5rk] {
    font-size: var(--font-size-xs);
    color: var(--color-text-tertiary);
    margin-top: 2px;
}

.shell-dropdown-divider[b-x37lf8e5rk] {
    height: 1px;
    background: var(--color-border-light);
    margin: var(--space-1) 0;
}

.shell-dropdown-item[b-x37lf8e5rk] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--color-text);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.shell-dropdown-item i[b-x37lf8e5rk] {
    width: 16px;
    text-align: center;
    color: var(--color-text-secondary);
}

.shell-dropdown-item:hover[b-x37lf8e5rk] {
    background: var(--color-background);
}

.shell-dropdown-item.shell-dropdown-logout[b-x37lf8e5rk] {
    color: var(--color-error);
}

.shell-dropdown-item.shell-dropdown-logout i[b-x37lf8e5rk] {
    color: var(--color-error);
}

/* AI Toggle Button */
.shell-ai-toggle[b-x37lf8e5rk] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    border: none;
    background: linear-gradient(135deg, var(--color-primary), #2563eb);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
    transition: all var(--transition-normal);
}

.shell-ai-toggle:hover[b-x37lf8e5rk] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.35);
}

.shell-ai-toggle i[b-x37lf8e5rk] {
    font-size: var(--font-size-sm);
}

/* ========================================
   CONTENT AREA
   ======================================== */

.shell-content[b-x37lf8e5rk] {
    flex: 1;
    padding: var(--content-padding);
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-background);
}

/* Content Scrollbar */
.shell-content[b-x37lf8e5rk]::-webkit-scrollbar {
    width: 8px;
}

.shell-content[b-x37lf8e5rk]::-webkit-scrollbar-track {
    background: transparent;
}

.shell-content[b-x37lf8e5rk]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 4px;
}

.shell-content[b-x37lf8e5rk]::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
}

/* Firefox scrollbar */
.shell-content[b-x37lf8e5rk] {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

/* ========================================
   AI PANEL COLUMN
   ======================================== */

.shell-ai[b-x37lf8e5rk] {
    background: #020617;
    border-left: 1px solid var(--color-border);
    overflow: hidden;
}

.shell-ai > *[b-x37lf8e5rk] {
    height: 100%;
}

/* When AI is closed, hide the panel completely */
.app-shell:not(.ai-open) .shell-ai[b-x37lf8e5rk] {
    display: none;
}

/* ========================================
   THEME VARIANTS (Firm-Level Branding)
   ======================================== */

/* When --nav-background is set by theme, use it */
.app-shell.dark-nav .shell-nav[b-x37lf8e5rk] {
    background: var(--nav-background, linear-gradient(180deg, var(--color-primary) 0%, #0f172a 100%));
}

/* Active nav item uses primary color from theme */
.app-shell.dark-nav .shell-nav-item.active[b-x37lf8e5rk],
.app-shell.dark-nav[b-x37lf8e5rk]  .shell-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-primary-hover, #3b82f6);
}

/* Dark top bar variant */
.app-shell.dark-topbar .shell-topbar[b-x37lf8e5rk] {
    background: var(--topbar-background, var(--color-primary));
    color: var(--topbar-text, var(--color-text-inverse));
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.app-shell.dark-topbar .shell-title[b-x37lf8e5rk] {
    color: var(--topbar-text, var(--color-text-inverse));
}

.app-shell.dark-topbar .shell-firm-name[b-x37lf8e5rk] {
    color: white;
}

.app-shell.dark-topbar .shell-topbar-btn[b-x37lf8e5rk] {
    color: rgba(255, 255, 255, 0.7);
}

.app-shell.dark-topbar .shell-topbar-btn:hover[b-x37lf8e5rk] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ========================================
   ROLE-SPECIFIC STYLES
   ======================================== */

/* Admin role gets a warmer sidebar gradient */
.app-shell.role-admin .shell-nav[b-x37lf8e5rk] {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

/* Client role gets a friendly green accent */
.app-shell.role-client .shell-nav-item.active[b-x37lf8e5rk],
.app-shell.role-client[b-x37lf8e5rk]  .shell-nav-item.active {
    background: rgba(34, 197, 94, 0.2);
    border-left-color: #22c55e;
}

/* ========================================
   RESPONSIVE - Tablet
   ======================================== */

@media (max-width: 1200px) {
    .app-shell[b-x37lf8e5rk] {
        grid-template-columns: var(--nav-width) minmax(0, 1fr);
    }

    .app-shell.ai-open[b-x37lf8e5rk] {
        grid-template-columns: var(--nav-width) minmax(0, 1fr);
    }

    /* AI panel becomes fixed overlay on tablet */
    .shell-ai[b-x37lf8e5rk] {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(420px, 90vw);
        z-index: var(--z-modal);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    }

    .app-shell:not(.ai-open) .shell-ai[b-x37lf8e5rk] {
        display: none;
    }

    /* Shrink search on tablet */
    .shell-topbar-center[b-x37lf8e5rk] {
        max-width: 280px;
    }
}

/* ========================================
   RESPONSIVE - Mobile
   ======================================== */

@media (max-width: 768px) {
    .app-shell[b-x37lf8e5rk] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Hide nav on mobile - would need hamburger menu */
    .shell-nav[b-x37lf8e5rk] {
        display: none;
    }

    /* Full width content */
    .shell-content[b-x37lf8e5rk] {
        padding: var(--space-4);
    }

    /* Hide search on mobile */
    .shell-topbar-center[b-x37lf8e5rk] {
        display: none;
    }

    /* Smaller topbar */
    .shell-topbar[b-x37lf8e5rk] {
        padding: 0 var(--space-4);
    }

    /* Hide Charlie label on mobile */
    .shell-ai-toggle span[b-x37lf8e5rk] {
        display: none;
    }

    .shell-ai-toggle[b-x37lf8e5rk] {
        padding: var(--space-2);
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}
/* /Components/Pages/Pws/PwsCreateIllustration.razor.rz.scp.css */
/* SecclCreateIllustration Page Styles */

.illustration-page[b-sgensnxpnd] {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */

.page-header[b-sgensnxpnd] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.back-btn[b-sgensnxpnd] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.back-btn:hover[b-sgensnxpnd] {
    background: #f1f5f9;
    color: #1e293b;
}

.header-content[b-sgensnxpnd] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-content h1[b-sgensnxpnd] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.client-badge[b-sgensnxpnd] {
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LOADING STATE
   ═══════════════════════════════════════════════════════════════════════════════ */

.loading-state[b-sgensnxpnd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 4rem 2rem;
    color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRODUCT SELECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.product-selection[b-sgensnxpnd] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 2rem;
}

.product-selection h2[b-sgensnxpnd] {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.product-selection p[b-sgensnxpnd] {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.product-cards[b-sgensnxpnd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.product-card[b-sgensnxpnd] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.product-card:hover[b-sgensnxpnd] {
    border-color: var(--primary-color, #1e3a5f);
    background: #f0f9ff;
}

.product-icon[b-sgensnxpnd] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.product-icon.gia[b-sgensnxpnd] {
    background: #dbeafe;
    color: #2563eb;
}

.product-icon.isa[b-sgensnxpnd] {
    background: #dcfce7;
    color: #16a34a;
}

.product-icon.pension[b-sgensnxpnd] {
    background: #fef3c7;
    color: #d97706;
}

.product-icon.drawdown[b-sgensnxpnd] {
    background: #fce7f3;
    color: #db2777;
}

.product-info[b-sgensnxpnd] {
    flex: 1;
}

.product-name[b-sgensnxpnd] {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.product-desc[b-sgensnxpnd] {
    font-size: 0.875rem;
    color: #64748b;
}

.product-card > i:last-child[b-sgensnxpnd] {
    color: #cbd5e1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.product-card:hover > i:last-child[b-sgensnxpnd] {
    color: var(--primary-color, #1e3a5f);
    transform: translateX(4px);
}
/* /Components/Shared/Seccl/IllustrationWizard.razor.rz.scp.css */
/* IllustrationWizard Scoped Styles */

.illustration-wizard[b-8ba0077x7w] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WIZARD HEADER & STEPS
   ═══════════════════════════════════════════════════════════════════════════════ */

.wizard-header[b-8ba0077x7w] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
}

.wizard-steps[b-8ba0077x7w] {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

.wizard-step[b-8ba0077x7w] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    position: relative;
}

.wizard-step:not(:last-child)[b-8ba0077x7w]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 1rem);
    width: calc(100% - 3rem);
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
}

.wizard-step.completed:not(:last-child)[b-8ba0077x7w]::after {
    background: var(--primary-color, #1e3a5f);
}

.step-number[b-8ba0077x7w] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.wizard-step.active .step-number[b-8ba0077x7w] {
    background: var(--primary-color, #1e3a5f);
    color: white;
}

.wizard-step.completed .step-number[b-8ba0077x7w] {
    background: var(--primary-color, #1e3a5f);
    color: white;
}

.step-title[b-8ba0077x7w] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
}

.wizard-step.active .step-title[b-8ba0077x7w] {
    color: var(--primary-color, #1e3a5f);
    font-weight: 600;
}

.wizard-step.completed .step-title[b-8ba0077x7w] {
    color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WIZARD CONTENT
   ═══════════════════════════════════════════════════════════════════════════════ */

.wizard-content[b-8ba0077x7w] {
    padding: 2rem;
    min-height: 400px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WIZARD FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.wizard-footer[b-8ba0077x7w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-nav[b-8ba0077x7w] {
    display: flex;
    gap: 0.75rem;
}

.btn-primary[b-8ba0077x7w],
.btn-secondary[b-8ba0077x7w],
.btn-outline[b-8ba0077x7w] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.btn-primary[b-8ba0077x7w] {
    background: var(--primary-color, #1e3a5f);
    color: white;
}

.btn-primary:hover[b-8ba0077x7w] {
    background: var(--primary-color-dark, #152a45);
}

.btn-primary:disabled[b-8ba0077x7w] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary[b-8ba0077x7w] {
    background: #e2e8f0;
    color: #475569;
}

.btn-secondary:hover[b-8ba0077x7w] {
    background: #cbd5e1;
}

.btn-secondary:disabled[b-8ba0077x7w] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline[b-8ba0077x7w] {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.btn-outline:hover[b-8ba0077x7w] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.generate-btn[b-8ba0077x7w] {
    background: #059669;
}

.generate-btn:hover[b-8ba0077x7w] {
    background: #047857;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ERROR DISPLAY
   ═══════════════════════════════════════════════════════════════════════════════ */

.wizard-error[b-8ba0077x7w] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #fef2f2;
    border-top: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.875rem;
}

.wizard-error i[b-8ba0077x7w] {
    color: #dc2626;
}

.wizard-error span[b-8ba0077x7w] {
    flex: 1;
}

.error-dismiss[b-8ba0077x7w] {
    background: none;
    border: none;
    color: #991b1b;
    cursor: pointer;
    padding: 0.25rem;
}

.error-dismiss:hover[b-8ba0077x7w] {
    color: #7f1d1d;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   OVERLAY SCREENS (PROGRESS & SUCCESS)
   ═══════════════════════════════════════════════════════════════════════════════ */

.illustration-overlay[b-8ba0077x7w] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 3rem 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-progress h2[b-8ba0077x7w],
.illustration-success h2[b-8ba0077x7w] {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.progress-message[b-8ba0077x7w] {
    color: #64748b;
    margin-bottom: 2rem;
}

.progress-steps[b-8ba0077x7w] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto 2rem;
    text-align: left;
}

.progress-step[b-8ba0077x7w] {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
}

.progress-step.active[b-8ba0077x7w] {
    opacity: 1;
}

.progress-step.complete[b-8ba0077x7w] {
    opacity: 1;
}

.progress-step .step-indicator[b-8ba0077x7w] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.progress-step.active .step-indicator[b-8ba0077x7w] {
    background: var(--primary-color, #1e3a5f);
    color: white;
}

.progress-step.complete .step-indicator[b-8ba0077x7w] {
    background: #059669;
    color: white;
}

.progress-step .step-text[b-8ba0077x7w] {
    font-size: 0.875rem;
    color: #475569;
}

.progress-note[b-8ba0077x7w] {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SUCCESS SCREEN
   ═══════════════════════════════════════════════════════════════════════════════ */

.success-icon[b-8ba0077x7w] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dcfce7;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.success-info[b-8ba0077x7w] {
    color: #64748b;
    margin-bottom: 2rem;
}

.success-actions[b-8ba0077x7w] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 280px;
    margin: 0 auto;
}

.success-actions .btn-primary[b-8ba0077x7w] {
    justify-content: center;
    padding: 0.875rem 1.5rem;
}

.success-actions .btn-secondary[b-8ba0077x7w],
.success-actions .btn-outline[b-8ba0077x7w] {
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DEBUG SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.debug-section[b-8ba0077x7w] {
    border-top: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    background: #fafafa;
}

.debug-header[b-8ba0077x7w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.debug-toggle[b-8ba0077x7w] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    cursor: pointer;
}

.debug-toggle input[type="checkbox"][b-8ba0077x7w] {
    width: 14px;
    height: 14px;
}

.debug-copy-btn[b-8ba0077x7w] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    color: #475569;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.debug-copy-btn:hover[b-8ba0077x7w] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.debug-content[b-8ba0077x7w] {
    margin-top: 0.75rem;
}

.debug-label[b-8ba0077x7w] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.375rem;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.debug-label.success[b-8ba0077x7w] {
    color: #059669;
}

.debug-label.error[b-8ba0077x7w] {
    color: #dc2626;
}

.debug-json[b-8ba0077x7w] {
    margin: 0 0 1rem 0;
    padding: 0.75rem;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 0.7rem;
    line-height: 1.5;
    overflow-x: auto;
    max-height: 300px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}
/* /Components/Shared/Seccl/RecurringPaymentsEditor.razor.rz.scp.css */
/* RecurringPaymentsEditor - Manage recurring payments inline */

.recurring-payments-editor[b-iqvt7ra83w] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payments-list[b-iqvt7ra83w] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Payment Card */
.payment-card[b-iqvt7ra83w] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.payment-card.editing[b-iqvt7ra83w],
.payment-card.adding[b-iqvt7ra83w] {
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.payment-header[b-iqvt7ra83w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.payment-type[b-iqvt7ra83w] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.payment-type.contribution[b-iqvt7ra83w] {
    color: #059669;
}

.payment-type.contribution i[b-iqvt7ra83w] {
    color: #10b981;
}

.payment-type.withdrawal[b-iqvt7ra83w] {
    color: #dc2626;
}

.payment-type.withdrawal i[b-iqvt7ra83w] {
    color: #ef4444;
}

.payment-actions[b-iqvt7ra83w] {
    display: flex;
    gap: 4px;
}

.action-btn[b-iqvt7ra83w] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
}

.action-btn:hover[b-iqvt7ra83w] {
    background: #f1f5f9;
    color: #1e293b;
}

.action-btn.delete:hover[b-iqvt7ra83w] {
    background: #fef2f2;
    color: #dc2626;
}

.payment-body[b-iqvt7ra83w] {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row[b-iqvt7ra83w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.detail-row .label[b-iqvt7ra83w] {
    color: #64748b;
}

.detail-row .value[b-iqvt7ra83w] {
    color: #1e293b;
    font-weight: 500;
}

.detail-row .value.amount[b-iqvt7ra83w] {
    font-weight: 600;
    color: #0f172a;
}

/* Form Layout */
.payment-form[b-iqvt7ra83w] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row[b-iqvt7ra83w] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row.two-col[b-iqvt7ra83w] {
    flex-direction: row;
    gap: 16px;
}

.form-row.two-col > .firm-form-group[b-iqvt7ra83w] {
    flex: 1;
}

.form-actions[b-iqvt7ra83w] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

/* Empty State */
.empty-state[b-iqvt7ra83w] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
}

.empty-state i[b-iqvt7ra83w] {
    color: #94a3b8;
}

/* Add Button */
.add-payment-btn[b-iqvt7ra83w] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.add-payment-btn:hover[b-iqvt7ra83w] {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f8fafc;
}

/* Toggle Group */
[b-iqvt7ra83w] .firm-toggle-group {
    display: flex;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

[b-iqvt7ra83w] .firm-toggle-btn {
    flex: 1;
    padding: 8px 12px;
    background: white;
    border: none;
    border-right: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

[b-iqvt7ra83w] .firm-toggle-btn:last-child {
    border-right: none;
}

[b-iqvt7ra83w] .firm-toggle-btn:hover {
    background: #f8fafc;
}

[b-iqvt7ra83w] .firm-toggle-btn.active {
    background: #3b82f6;
    color: white;
}

/* Button styles */
.btn-primary[b-iqvt7ra83w] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover[b-iqvt7ra83w] {
    background: #2563eb;
}

.btn-primary:disabled[b-iqvt7ra83w] {
    background: #94a3b8;
    cursor: not-allowed;
}

.btn-secondary[b-iqvt7ra83w] {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-secondary:hover[b-iqvt7ra83w] {
    background: #f8fafc;
    border-color: #cbd5e1;
}
/* /Components/Shared/SmartForm/SmartForm.razor.rz.scp.css */
/*
    SmartForm.razor.css - Single source of truth for SmartForm styling

    Both Scroll and Wizard modes share this styling.
    Mode-specific differences are minimal and handled with .wizard-mode / .scroll-mode
*/

/* ============================================
   MAIN CONTAINER
   ============================================ */

.smart-form[b-tnv5iph7lp] {
    background: #f8fafc;
    height: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.smart-form.hidden[b-tnv5iph7lp] {
    display: none;
}

/* ============================================
   SUCCESS OVERLAY
   ============================================ */

.success-overlay[b-tnv5iph7lp] {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn-b-tnv5iph7lp 0.3s ease;
}

@keyframes fadeIn-b-tnv5iph7lp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   HEADER BANNER
   ============================================ */

.smart-form-header[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.header-content h1[b-tnv5iph7lp] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.header-content .subtitle[b-tnv5iph7lp] {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #64748b;
}

/* Header avatar */
.header-avatar[b-tnv5iph7lp] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-avatar img[b-tnv5iph7lp] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-avatar .avatar-initials[b-tnv5iph7lp] {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}

.header-avatar i[b-tnv5iph7lp] {
    font-size: 20px;
    color: #1e3a5f;
}

.header-actions[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* SmartForm branding badge - positioned right */
.smartform-badge[b-tnv5iph7lp] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 20px;
    font-size: 12px;
    color: #0369a1;
}

.smartform-badge i[b-tnv5iph7lp] {
    font-size: 14px;
    color: #0284c7;
}

.smartform-badge strong[b-tnv5iph7lp] {
    font-weight: 600;
    color: #0c4a6e;
}

/* Back button in header */
[b-tnv5iph7lp] .back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.15s;
}

[b-tnv5iph7lp] .back-btn:hover {
    background: #f8fafc;
    color: #1e293b;
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */

.smart-form-layout[b-tnv5iph7lp] {
    display: grid;
    grid-template-columns: 240px 1fr;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ============================================
   LEFT NAVIGATION SIDEBAR
   ============================================ */

.smart-form-nav[b-tnv5iph7lp] {
    background: white;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
}

.nav-items[b-tnv5iph7lp] {
    padding: 24px 0;
}

.nav-section-wrapper[b-tnv5iph7lp] {
    position: relative;
}

.nav-item[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    position: relative;
    z-index: 0;
}

.nav-item:hover:not(:disabled)[b-tnv5iph7lp] {
    background: #f8fafc;
}

.nav-item.active[b-tnv5iph7lp] {
    background: #f1f5f9;
    border-left-color: #1e3a5f;
}

.nav-item.completed[b-tnv5iph7lp] {
    cursor: pointer;
}

.nav-item:disabled[b-tnv5iph7lp] {
    cursor: not-allowed;
    opacity: 0.7;
}

.nav-item.child-item[b-tnv5iph7lp] {
    padding-left: 44px;
}

.nav-icon[b-tnv5iph7lp] {
    width: 16px;
    color: #94a3b8;
    font-size: 14px;
}

.nav-item.active .nav-icon[b-tnv5iph7lp] {
    color: #64748b;
}

.nav-item.completed .nav-icon[b-tnv5iph7lp] {
    color: #10b981;
}

.nav-label[b-tnv5iph7lp] {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.nav-item.active .nav-label[b-tnv5iph7lp] {
    color: #1e293b;
    font-weight: 600;
}

.nav-item.completed .nav-label[b-tnv5iph7lp] {
    color: #1e293b;
}

/* ============================================
   PROGRESS RINGS (24px - shared)
   ============================================ */

.progress-ring[b-tnv5iph7lp] {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Empty ring */
.ring-empty[b-tnv5iph7lp] {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.ring-empty span[b-tnv5iph7lp] {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

/* Complete ring - green checkmark */
.ring-complete[b-tnv5iph7lp] {
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* Progress ring - SVG arc */
.ring-progress[b-tnv5iph7lp] {
    width: 24px;
    height: 24px;
}

.ring-bg[b-tnv5iph7lp] {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 2;
}

.ring-fill[b-tnv5iph7lp] {
    fill: none;
    stroke: #3b82f6;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Number overlaid on progress ring */
.progress-ring[b-tnv5iph7lp] {
    position: relative;
}

.ring-number[b-tnv5iph7lp] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 600;
    color: #3b82f6;
}

/* ============================================
   TRACK LINE (Wizard mode only)
   ============================================ */

.track-line[b-tnv5iph7lp] {
    position: absolute;
    left: 38px; /* Center of ring: 3px border + 24px padding + 12px half ring - 1px */
    top: 36px;  /* Bottom of ring: 12px padding + 24px ring */
    width: 2px;
    height: 24px;
    background: #e2e8f0;
    z-index: 1;
}

.track-line.completed[b-tnv5iph7lp] {
    background: #10b981;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.smart-form-content[b-tnv5iph7lp] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-area[b-tnv5iph7lp] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 48px;
    background: #f8fafc;
}

/* Scroll mode: sections stacked with spacing */
.scroll-content[b-tnv5iph7lp] {
    display: flex;
    flex-direction: column;
    gap: 0;  /* Cards have their own margins now */
}

/* ============================================
   ACTION BAR
   ============================================ */

.smart-form-actions[b-tnv5iph7lp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: white;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.action-bar-left[b-tnv5iph7lp],
.action-bar-right[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Validation warning */
.validation-warning[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    color: #92400e;
    font-size: 14px;
    animation: fadeIn-b-tnv5iph7lp 0.2s ease-out;
}

.validation-warning i[b-tnv5iph7lp] {
    color: #f59e0b;
}

@keyframes fadeIn-b-tnv5iph7lp {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
}

.btn-primary:hover:not(:disabled)[b-tnv5iph7lp] {
    background: #2563eb;
}

.btn-primary:disabled[b-tnv5iph7lp] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary.btn-disabled[b-tnv5iph7lp] {
    background: #94a3b8;
    cursor: pointer;
}

.btn-primary.btn-disabled:hover[b-tnv5iph7lp] {
    background: #64748b;
}

.btn-secondary[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    color: #475569;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.15s;
}

.btn-secondary:hover:not(:disabled)[b-tnv5iph7lp] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-secondary:disabled[b-tnv5iph7lp] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .smart-form-layout[b-tnv5iph7lp] {
        grid-template-columns: 200px 1fr;
    }

    .content-area[b-tnv5iph7lp] {
        padding: 16px 24px;
    }
}

@media (max-width: 600px) {
    .smart-form-layout[b-tnv5iph7lp] {
        grid-template-columns: 1fr;
    }

    .smart-form-nav[b-tnv5iph7lp] {
        display: none;
    }
}

/* ============================================
   SECTION CONTENT STYLING
   ============================================ */

/* Section container */
[b-tnv5iph7lp] .section-content {
    max-width: 700px;
}

/* Section heading */
[b-tnv5iph7lp] .section-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

/* Intro text below heading */
[b-tnv5iph7lp] .section-intro {
    color: #64748b;
    font-size: 15px;
    margin: 0 0 24px 0;
}

/* Help/info banners */
[b-tnv5iph7lp] .help-banner {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #0369a1;
}

[b-tnv5iph7lp] .help-banner.warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

/* Info banner (alias for help-banner with different color) */
[b-tnv5iph7lp] .info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #3b82f6;
    font-size: 14px;
    margin-bottom: 20px;
}

[b-tnv5iph7lp] .info-banner i {
    font-size: 16px;
    flex-shrink: 0;
}

[b-tnv5iph7lp] .help-banner i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Form fields container */
[b-tnv5iph7lp] .form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Toggle button groups */
[b-tnv5iph7lp] .toggle-group {
    display: flex;
    gap: 0;
}

[b-tnv5iph7lp] .toggle-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
    transition: all 0.15s;
}

[b-tnv5iph7lp] .toggle-btn:first-child {
    border-radius: 6px 0 0 6px;
}

[b-tnv5iph7lp] .toggle-btn:last-child {
    border-radius: 0 6px 6px 0;
    margin-left: -1px;
}

[b-tnv5iph7lp] .toggle-btn.active {
    background: #1e3a5f;
    border-color: #1e3a5f;
    color: white;
    z-index: 1;
}

[b-tnv5iph7lp] .toggle-btn:hover:not(.active) {
    background: #f8fafc;
}

/* Add button for lists */
[b-tnv5iph7lp] .add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    font-size: 14px;
    transition: all 0.15s;
}

[b-tnv5iph7lp] .add-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

/* Loading states */
[b-tnv5iph7lp] .loading-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

[b-tnv5iph7lp] .loading-inline i {
    color: #3b82f6;
}

/* Warning states */
[b-tnv5iph7lp] .no-schemes-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f59e0b;
    font-size: 14px;
}

/* ============================================
   FORM SECTIONS (Scroll mode)
   ============================================ */

[b-tnv5iph7lp] .form-section {
    max-width: 960px;
    margin-bottom: 24px;
    scroll-margin-top: 24px;
    scroll-snap-align: start;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    padding: 24px;
    border: 1px solid #e2e8f0;
}

[b-tnv5iph7lp] .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

[b-tnv5iph7lp] .section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Changed badge for section headers */
[b-tnv5iph7lp] .section-changed-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #a16207;
    background: #fef08a;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

[b-tnv5iph7lp] .section-status {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-tnv5iph7lp] .section-status.complete {
    color: #10b981;
}

[b-tnv5iph7lp] .section-status.complete::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

[b-tnv5iph7lp] .section-status.not-started {
    color: #94a3b8;
}

[b-tnv5iph7lp] .section-status.not-started::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
}

[b-tnv5iph7lp] .section-divider {
    height: 1px;
    background: #e2e8f0;
    margin-bottom: 24px;
}

/* ============================================
   FORM GROUPS & INPUTS
   Supports both .form-group and .firm-form-group
   ============================================ */

[b-tnv5iph7lp] .form-group,
[b-tnv5iph7lp] .firm-form-group {
    margin-bottom: 20px;
}

[b-tnv5iph7lp] .form-group label,
[b-tnv5iph7lp] .firm-form-group label {
    display: block;
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 500;
}

[b-tnv5iph7lp] .form-group label.checkbox-option,
[b-tnv5iph7lp] .firm-form-group label.checkbox-option {
    display: grid;
    margin-bottom: 0;
}

[b-tnv5iph7lp] .form-group input[type="text"],
[b-tnv5iph7lp] .form-group input[type="email"],
[b-tnv5iph7lp] .form-group input[type="tel"],
[b-tnv5iph7lp] .form-group input[type="date"],
[b-tnv5iph7lp] .form-group input[type="number"],
[b-tnv5iph7lp] .form-group select,
[b-tnv5iph7lp] .firm-form-group input[type="text"],
[b-tnv5iph7lp] .firm-form-group input[type="email"],
[b-tnv5iph7lp] .firm-form-group input[type="tel"],
[b-tnv5iph7lp] .firm-form-group input[type="date"],
[b-tnv5iph7lp] .firm-form-group input[type="number"],
[b-tnv5iph7lp] .firm-form-group select {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    color: #1e293b;
    background: white;
    transition: border-color 0.15s;
}

[b-tnv5iph7lp] .form-group input:focus,
[b-tnv5iph7lp] .form-group select:focus,
[b-tnv5iph7lp] .firm-form-group input:focus,
[b-tnv5iph7lp] .firm-form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

[b-tnv5iph7lp] .form-group input::placeholder,
[b-tnv5iph7lp] .firm-form-group input::placeholder {
    color: #94a3b8;
}

[b-tnv5iph7lp] .input-short {
    max-width: 200px !important;
}

[b-tnv5iph7lp] .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

[b-tnv5iph7lp] .input-with-icon {
    display: flex;
    gap: 8px;
    max-width: 400px;
}

[b-tnv5iph7lp] .input-with-icon input {
    flex: 1;
    max-width: none !important;
}

[b-tnv5iph7lp] .icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
}

[b-tnv5iph7lp] .icon-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

[b-tnv5iph7lp] .input-with-action {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 400px;
}

[b-tnv5iph7lp] .input-with-action input {
    flex: 1;
}

/* Form hint and error text */
[b-tnv5iph7lp] .form-hint {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

[b-tnv5iph7lp] .form-error {
    font-size: 13px;
    color: #ef4444;
    margin-top: 6px;
}

[b-tnv5iph7lp] .required {
    color: #ef4444;
}

/* Disabled/read-only inputs */
[b-tnv5iph7lp] .disabled-input {
    background-color: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

/* Radio groups */
[b-tnv5iph7lp] .radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

[b-tnv5iph7lp] .radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: normal;
}

[b-tnv5iph7lp] .radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

/* Checkbox groups */
[b-tnv5iph7lp] .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[b-tnv5iph7lp] .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: normal;
}

[b-tnv5iph7lp] .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

/* Form content wrapper */
[b-tnv5iph7lp] .form-content {
    max-width: 900px;
}

/* ============================================
   REVIEW MODE
   ============================================ */

.review-mode[b-tnv5iph7lp] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8fafc;
}

.review-header[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.review-header h1[b-tnv5iph7lp] {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.review-header .back-btn[b-tnv5iph7lp] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.15s;
}

.review-header .back-btn:hover[b-tnv5iph7lp] {
    background: #f8fafc;
    color: #1e293b;
}

.edit-btn[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.edit-btn:hover[b-tnv5iph7lp] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Review scroll area */
.review-scroll[b-tnv5iph7lp] {
    flex: 1;
    overflow-y: auto;
}

.review-content-inner[b-tnv5iph7lp] {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 48px;
}

/* Review sections - use firm-review-* classes from forms.css */
[b-tnv5iph7lp] .firm-review-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e40af;
    font-size: 14px;
    margin-bottom: 32px;
}

[b-tnv5iph7lp] .firm-review-banner i {
    color: #3b82f6;
    font-size: 16px;
}

[b-tnv5iph7lp] .firm-review-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

[b-tnv5iph7lp] .firm-review-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

[b-tnv5iph7lp] .firm-review-section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

[b-tnv5iph7lp] .edit-link {
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

[b-tnv5iph7lp] .edit-link:hover {
    background: #eff6ff;
    color: #2563eb;
}

[b-tnv5iph7lp] .firm-review-row {
    display: flex;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
}

[b-tnv5iph7lp] .firm-review-row:last-child {
    border-bottom: none;
}

[b-tnv5iph7lp] .firm-review-label {
    width: 200px;
    flex-shrink: 0;
    color: #64748b;
    font-size: 14px;
}

[b-tnv5iph7lp] .firm-review-value {
    flex: 1;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
}

/* Changed row highlighting - oozing intelligence */
[b-tnv5iph7lp] .firm-review-row.changed {
    background: #fffbeb;
}

[b-tnv5iph7lp] .firm-review-row.changed .firm-review-value {
    color: #92400e;
}

[b-tnv5iph7lp] .firm-review-row.changed::after {
    content: 'Modified';
    margin-left: 12px;
    padding: 2px 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ============================================
   DEBUG SECTION (API Payloads)
   ============================================ */

.debug-section[b-tnv5iph7lp] {
    background: #1e293b;
    border-radius: 8px;
    padding: 16px;
    margin-top: 32px;
}

.debug-section-header[b-tnv5iph7lp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.debug-title[b-tnv5iph7lp] {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.debug-title i[b-tnv5iph7lp] {
    color: #60a5fa;
}

.debug-toggle-btn[b-tnv5iph7lp] {
    color: #60a5fa;
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.debug-toggle-btn:hover[b-tnv5iph7lp] {
    color: #93c5fd;
}

.payload-header[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.payload-label[b-tnv5iph7lp] {
    font-size: 13px;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payload-header .debug-copy-btn[b-tnv5iph7lp] {
    padding: 4px 8px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 4px;
    color: #60a5fa;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s ease;
}

.payload-header .debug-copy-btn:hover[b-tnv5iph7lp] {
    background: rgba(96, 165, 250, 0.2);
    border-color: #60a5fa;
}

.json-preview[b-tnv5iph7lp] {
    margin-top: 8px;
    padding: 12px;
    background: #0f172a;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: #94a3b8;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', monospace;
}

/* ============================================
   REVIEW ACTIONS (footer bar)
   ============================================ */

.review-actions[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.debug-toggle[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    margin-right: auto;
}

.debug-toggle input[b-tnv5iph7lp] {
    cursor: pointer;
}

/* ============================================
   DEBUG PANEL (after submit)
   ============================================ */

.debug-panel[b-tnv5iph7lp] {
    margin-top: 32px;
    margin-bottom: 48px;
    background: #1e293b;
    border-radius: 8px;
    color: #e2e8f0;
}

.debug-panel-header[b-tnv5iph7lp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 8px;
}

.debug-panel-header:hover[b-tnv5iph7lp] {
    background: #334155;
    border-radius: 8px 8px 0 0;
}

.debug-panel h4[b-tnv5iph7lp] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 8px;
}

.debug-collapse-btn[b-tnv5iph7lp] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.debug-collapse-btn:hover[b-tnv5iph7lp] {
    color: #e2e8f0;
}

.debug-panel-content[b-tnv5iph7lp] {
    padding: 0 20px 20px 20px;
}

.debug-section-block[b-tnv5iph7lp] {
    margin-bottom: 20px;
    background: #0f172a;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #334155;
}

.debug-section-block:last-child[b-tnv5iph7lp] {
    margin-bottom: 0;
}

.debug-section-block.success[b-tnv5iph7lp] {
    border-color: #22c55e;
}

.debug-section-block.success .debug-block-header[b-tnv5iph7lp] {
    background: #166534;
}

.debug-section-block.error[b-tnv5iph7lp] {
    border-color: #ef4444;
}

.debug-section-block.error .debug-block-header[b-tnv5iph7lp] {
    background: #991b1b;
}

.debug-block-header[b-tnv5iph7lp] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #334155;
    font-size: 13px;
}

.debug-block-header strong[b-tnv5iph7lp] {
    flex-shrink: 0;
}

.debug-block-header .debug-method[b-tnv5iph7lp],
.debug-block-header .debug-status[b-tnv5iph7lp] {
    margin-left: auto;
}

.debug-copy-btn[b-tnv5iph7lp] {
    background: transparent;
    border: 1px solid #475569;
    border-radius: 4px;
    color: #94a3b8;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s ease;
}

.debug-copy-btn:hover[b-tnv5iph7lp] {
    background: #475569;
    color: #e2e8f0;
}

.debug-copy-btn .fa-check[b-tnv5iph7lp] {
    color: #4ade80;
}

.debug-method[b-tnv5iph7lp] {
    color: #a5f3fc;
    font-family: 'Consolas', 'Monaco', monospace;
}

.debug-status[b-tnv5iph7lp] {
    color: #fef9c3;
}

.debug-json[b-tnv5iph7lp] {
    padding: 14px;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    font-family: 'Consolas', 'Monaco', monospace;
    color: #94a3b8;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 400px;
    overflow-y: auto;
}

/* /Components/Shared/SuccessAnimation.razor.rz.scp.css */
/* ===== Success Animation Component ===== */

.success-animation[b-aq74eyema6] {
    text-align: center;
    position: relative;
    padding: 1rem;
}

/* Checkmark container */
.checkmark-container[b-aq74eyema6] {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
}

/* SVG checkmark */
.checkmark[b-aq74eyema6] {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4ade80;
    stroke-miterlimit: 10;
    animation: scale-b-aq74eyema6 0.3s ease-in-out 0.9s both;
}

.checkmark-circle[b-aq74eyema6] {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4ade80;
    fill: none;
    animation: stroke-b-aq74eyema6 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check[b-aq74eyema6] {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    animation: stroke-b-aq74eyema6 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke-b-aq74eyema6 {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale-b-aq74eyema6 {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

/* Particles */
.particles[b-aq74eyema6] {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.particle[b-aq74eyema6] {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 1.25rem;
    opacity: 0;
    animation: explode-b-aq74eyema6 1s ease-out forwards;
}

.particle-0[b-aq74eyema6]  { animation-delay: 0.8s;  --angle: 0deg;   --distance: 70px; }
.particle-1[b-aq74eyema6]  { animation-delay: 0.85s; --angle: 30deg;  --distance: 80px; }
.particle-2[b-aq74eyema6]  { animation-delay: 0.9s;  --angle: 60deg;  --distance: 75px; }
.particle-3[b-aq74eyema6]  { animation-delay: 0.95s; --angle: 90deg;  --distance: 85px; }
.particle-4[b-aq74eyema6]  { animation-delay: 1s;    --angle: 120deg; --distance: 70px; }
.particle-5[b-aq74eyema6]  { animation-delay: 1.05s; --angle: 150deg; --distance: 80px; }
.particle-6[b-aq74eyema6]  { animation-delay: 1.1s;  --angle: 180deg; --distance: 75px; }
.particle-7[b-aq74eyema6]  { animation-delay: 1.15s; --angle: 210deg; --distance: 85px; }
.particle-8[b-aq74eyema6]  { animation-delay: 1.2s;  --angle: 240deg; --distance: 70px; }
.particle-9[b-aq74eyema6]  { animation-delay: 1.25s; --angle: 270deg; --distance: 80px; }
.particle-10[b-aq74eyema6] { animation-delay: 1.3s;  --angle: 300deg; --distance: 75px; }
.particle-11[b-aq74eyema6] { animation-delay: 1.35s; --angle: 330deg; --distance: 85px; }

@keyframes explode-b-aq74eyema6 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--distance) * -1));
    }
}

/* Title */
.success-title[b-aq74eyema6] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(90deg, #10b981, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp-b-aq74eyema6 0.5s ease-out 1s both;
}

/* Subtitle */
.success-subtitle[b-aq74eyema6] {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    animation: slideUp-b-aq74eyema6 0.5s ease-out 1.1s both;
}

@keyframes slideUp-b-aq74eyema6 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
