* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #111827;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.brand {
    font-size: 22px;
    font-weight: 700;
}

.status {
    font-size: 14px;
    padding: 8px 12px;
    background: #ecfdf5;
    border-radius: 999px;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.hero {
    max-width: 760px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #6b7280;
}

h1 {
    font-size: 52px;
    line-height: 1.05;
    margin: 10px 0 20px;
}

.subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #4b5563;
}

.primary-button,
.secondary-button {
    display: inline-block;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}

.primary-button {
    margin-top: 22px;
    padding: 14px 20px;
    background: #111827;
    color: white;
}

.secondary-button {
    padding: 12px 18px;
    border: 1px solid #d1d5db;
    color: #111827;
    background: white;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.metrics article,
.cases {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

.metrics span,
.metrics small {
    display: block;
    color: #6b7280;
}

.metrics strong {
    display: block;
    font-size: 34px;
    margin: 10px 0;
}

.cases {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.cases h2 {
    margin: 8px 0;
}

.cases p {
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 800px) {
    header {
        padding: 18px 20px;
    }

    h1 {
        font-size: 38px;
    }

    .metrics {
        grid-template-columns: 1fr 1fr;
    }

    .cases {
        flex-direction: column;
        align-items: flex-start;
    }
}
.analysis-card {
    margin-top: 30px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
}

.analysis-card h2 {
    margin-top: 8px;
}

.analysis-total {
    margin: 20px 0;
    padding: 18px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 18px;
}

.analysis-total strong {
    display: block;
    margin-top: 6px;
    font-size: 30px;
}

.finding {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.finding-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.finding-header h3 {
    margin: 0;
}

.finding-header span {
    color: #6b7280;
    font-size: 14px;
}

.finding p {
    color: #4b5563;
    line-height: 1.6;
}

.finding-amount {
    display: block;
    margin-top: 12px;
    font-size: 18px;
}
.invoice-details {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    background: #ffffff;
}

.invoice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.invoice-grid > div {
    padding: 16px;
    background: #f7f8fa;
    border-radius: 10px;
}

.invoice-grid span {
    display: block;
    margin-bottom: 6px;
    color: #667085;
    font-size: 14px;
}

.invoice-grid strong {
    display: block;
    font-size: 17px;
    color: #101828;
}

@media (max-width: 700px) {
    .invoice-grid {
        grid-template-columns: 1fr;
    }
}
.finding-evidence {
    margin: 14px 0;
    padding-left: 20px;
    color: #4b5563;
}
.finding-evidence li {
    margin-bottom: 6px;
}

.financial-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 28px;
}

.financial-summary > div {
    padding: 18px;
    background: #f7f8fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.financial-summary span {
    display: block;
    color: #667085;
    font-size: 14px;
    margin-bottom: 8px;
}

.financial-summary strong {
    display: block;
    font-size: 24px;
    color: #101828;
}

@media (max-width: 700px) {
    .financial-summary {
        grid-template-columns: 1fr;
    }
}
.case-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.case-form label {
    font-weight: 600;
    margin-top: 8px;
}

.case-form input,
.case-form select,
.case-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font: inherit;
}

.case-form textarea {
    resize: vertical;
}

.case-form button {
    width: fit-content;
    margin-top: 12px;
}
.case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 20px;
}

.case-filters .active-filter {
    background: #101828;
    color: white;
    border-color: #101828;
}
.csv-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 16px;
}

.csv-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.csv-table th,
.csv-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    white-space: nowrap;
}

.csv-table th {
    font-weight: 700;
    background: #f8fafc;
}

.csv-table tbody tr:hover {
    background: #f9fafb;
}
.status-warning {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}


/* =========================================================
   REVENUE RECOVERY AI — AUTH EXPERIENCE
   ========================================================= */

.auth-page {
    min-height: 100vh;
    margin: 0;
    background: #f4f6f8;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(420px, 0.85fr);
}


/* PRODUCT PANEL */

.auth-product-panel {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(59, 130, 246, 0.18),
            transparent 36%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(16, 185, 129, 0.12),
            transparent 34%
        ),
        #0b1120;
    color: white;
    padding: 54px 64px;
}

.auth-product-panel::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    right: -180px;
    top: 25%;
}

.auth-product-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    min-height: calc(100vh - 108px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.auth-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: white;
    color: #0b1120;
    font-size: 17px;
    font-weight: 800;
}

.auth-hero-copy {
    margin-top: 92px;
    max-width: 660px;
}

.auth-eyebrow {
    margin: 0 0 16px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.auth-hero-copy h1 {
    margin: 0;
    color: white;
    font-size: clamp(46px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -3px;
    max-width: 650px;
}

.auth-hero-copy h1 span {
    display: block;
    color: #93c5fd;
}

.auth-lead {
    max-width: 600px;
    margin: 28px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
}

.auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.auth-feature {
    display: flex;
    gap: 14px;
    padding: 19px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.auth-feature-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(147, 197, 253, 0.13);
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.auth-feature h3 {
    margin: 1px 0 6px;
    color: #f8fafc;
    font-size: 15px;
}

.auth-feature p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.55;
}

.auth-product-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 40px;
    color: #94a3b8;
    font-size: 13px;
}

.auth-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.1);
}


/* LOGIN PANEL */

.auth-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    background: #ffffff;
}

.auth-login-wrapper {
    width: 100%;
    max-width: 430px;
}

.auth-mobile-brand {
    display: none;
}

.auth-login-heading {
    margin-bottom: 34px;
}

.auth-login-heading .auth-eyebrow {
    color: #6b7280;
    margin-bottom: 12px;
}

.auth-login-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.auth-login-heading > p:last-child {
    margin: 13px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.auth-error {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 24px;
    padding: 14px 15px;
    border: 1px solid #fecaca;
    border-radius: 11px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
    line-height: 1.5;
}

.auth-error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
}

.auth-field input {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #d1d5db;
    border-radius: 11px;
    outline: none;
    background: white;
    color: #111827;
    font: inherit;
    font-size: 15px;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.auth-field input::placeholder {
    color: #9ca3af;
}

.auth-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: #111827;
    color: white;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.auth-submit:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-submit span {
    font-size: 20px;
    line-height: 1;
}

.auth-divider {
    position: relative;
    margin: 30px 0 24px;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    padding: 0 12px;
    background: white;
    color: #9ca3af;
    font-size: 12px;
}

.auth-register {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 1px solid #d1d5db;
    border-radius: 11px;
    color: #111827;
    background: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.auth-register:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.auth-control-note {
    margin: 24px auto 0;
    max-width: 330px;
    color: #9ca3af;
    text-align: center;
    font-size: 12px;
    line-height: 1.55;
}


/* RESPONSIVE AUTH */

@media (max-width: 1000px) {

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-product-panel {
        min-height: auto;
        padding: 42px 32px;
    }

    .auth-product-content {
        min-height: auto;
    }

    .auth-hero-copy {
        margin-top: 65px;
    }

    .auth-hero-copy h1 {
        font-size: 52px;
    }

    .auth-product-footer {
        margin-top: 35px;
    }

    .auth-login-panel {
        min-height: 650px;
    }

}

@media (max-width: 700px) {

    .auth-product-panel {
        display: none;
    }

    .auth-login-panel {
        min-height: 100vh;
        align-items: flex-start;
        padding: 34px 22px 50px;
    }

    .auth-login-wrapper {
        max-width: 100%;
    }

    .auth-mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 72px;
        color: #111827;
        font-size: 16px;
        font-weight: 700;
    }

    .auth-mobile-brand .auth-brand-mark {
        width: 34px;
        height: 34px;
        background: #111827;
        color: white;
    }

    .auth-login-heading h2 {
        font-size: 30px;
    }

}

@media (max-width: 420px) {

    .auth-login-panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-mobile-brand {
        margin-bottom: 54px;
    }

}


/* Short laptop screens — keep auth page fully visible */
@media (
    min-width: 1001px
) and (
    max-height: 800px
) {

    .auth-product-panel {
        padding: 30px 48px;
    }

    .auth-product-content {
        min-height: calc(100vh - 60px);
    }

    .auth-brand-mark {
        width: 34px;
        height: 34px;
    }

    .auth-hero-copy {
        margin-top: 38px;
    }

    .auth-hero-copy h1 {
        font-size: clamp(42px, 4.2vw, 60px);
        line-height: 0.98;
    }

    .auth-lead {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.55;
    }

    .auth-feature-grid {
        margin-top: 28px;
        gap: 12px;
    }

    .auth-feature {
        padding: 14px;
    }

    .auth-feature p {
        font-size: 12px;
        line-height: 1.45;
    }

    .auth-product-footer {
        padding-top: 22px;
    }

    .auth-login-panel {
        padding: 30px 50px;
    }

    .auth-login-heading {
        margin-bottom: 24px;
    }

    .auth-login-heading h2 {
        font-size: 31px;
    }

    .auth-form {
        gap: 16px;
    }

    .auth-field input {
        min-height: 48px;
    }

    .auth-submit {
        min-height: 50px;
    }

    .auth-divider {
        margin: 22px 0 18px;
    }

    .auth-control-note {
        margin-top: 18px;
    }
}


/* Day 34 — customer-ready application navigation */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 28px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.app-brand-link {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.app-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.app-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    color: #475569;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.app-nav-link:hover,
.app-nav-link.is-active {
    background: #f1f5f9;
    color: #0f172a;
}

.app-nav-logout {
    margin: 0;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 750;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.readonly-notice {
    width: fit-content;
    max-width: 720px;
    padding: 12px 14px;
    margin: 12px 0;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    line-height: 1.55;
}

.case-readonly-notice {
    margin: 0 auto 20px;
}

.empty-state {
    padding: 32px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    text-align: center;
}

.empty-state h2 {
    margin-top: 0;
}

/*
 * Read-only presentation is not an authorization boundary.
 * Server-side permission checks remain authoritative.
 */
.read-only-mode form[action^="/cases/"] {
    display: none;
}

.read-only-mode
.workspace-tab[data-workspace="case-update"] {
    display: none;
}

@media (max-width: 820px) {
    .app-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 18px;
    }

    .app-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .app-nav-link {
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* Day 36 — customer-readable audit activity */
.audit-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.audit-table {
    width: 100%;
    min-width: 980px;
    table-layout: auto;
}

.audit-table th,
.audit-table td {
    padding: 14px 16px;
    vertical-align: top;
    text-align: left;
}

.audit-table tbody tr {
    border-top: 1px solid #e5e7eb;
}

.audit-time {
    white-space: nowrap;
    font-weight: 650;
}

.audit-time-secondary {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.audit-activity {
    display: block;
    min-width: 150px;
    color: #0f172a;
}

.audit-actor {
    max-width: 220px;
    overflow-wrap: anywhere;
}

.audit-resource {
    white-space: nowrap;
}

.audit-summary {
    min-width: 220px;
    max-width: 340px;
    color: #475569;
    line-height: 1.5;
}

.audit-details summary {
    cursor: pointer;
    color: #334155;
    font-weight: 650;
    white-space: nowrap;
}

.audit-details-content {
    width: min(560px, 70vw);
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.audit-details-content > div + div {
    margin-top: 14px;
}

.audit-details-content strong {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.audit-details-content pre {
    max-height: 260px;
    margin: 0;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: 12px;
    line-height: 1.5;
}


/* DAY 36 — LIVE REVENUE RECOVERY LOGIN EXPERIENCE */

.auth-recovery-demo {
    position: relative;
    overflow: hidden;
    margin-top: 38px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
}

.auth-recovery-demo::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 42%;
    height: 180%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(147, 197, 253, 0.09),
            transparent
        );
    transform: rotate(12deg);
    animation: auth-demo-scan 7s ease-in-out infinite;
    pointer-events: none;
}

.auth-demo-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.auth-demo-kicker {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.auth-demo-header h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 17px;
    letter-spacing: -0.35px;
}

.auth-demo-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.08);
    color: #a7f3d0;
    font-size: 11px;
    font-weight: 700;
}

.auth-demo-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
    animation: auth-demo-pulse 1.8s ease-in-out infinite;
}

.auth-demo-total {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding: 18px 19px;
    border: 1px solid rgba(147, 197, 253, 0.12);
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.12),
            rgba(16, 185, 129, 0.06)
        );
}

.auth-demo-total span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 650;
}

.auth-demo-total strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -1.3px;
}

.auth-demo-total .auth-demo-confidence {
    color: #86efac;
    font-size: 11px;
    white-space: nowrap;
}

.auth-demo-feed {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.auth-demo-item {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 11px;
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.52);
    animation:
        auth-demo-rise 0.55s ease both;
}

.auth-demo-item:nth-child(2) {
    animation-delay: 0.1s;
}

.auth-demo-item:nth-child(3) {
    animation-delay: 0.2s;
}

.auth-demo-item:nth-child(4) {
    animation-delay: 0.3s;
}

.auth-demo-item:nth-child(5) {
    animation-delay: 0.4s;
}

.auth-demo-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(147, 197, 253, 0.1);
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 800;
}

.auth-demo-item-copy {
    min-width: 0;
}

.auth-demo-item-copy span {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.55px;
}

.auth-demo-item-copy strong {
    display: block;
    overflow: hidden;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-demo-money {
    color: #6ee7b7;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.auth-demo-item-state {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
    color: #94a3b8;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.auth-demo-item-ready .auth-demo-item-state {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
}

.auth-demo-item-review {
    border-color: rgba(251, 191, 36, 0.13);
}

.auth-demo-item-review .auth-demo-item-state {
    background: rgba(251, 191, 36, 0.08);
    color: #fde68a;
}

.auth-demo-flow {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 15px;
}

.auth-demo-flow span {
    position: relative;
    padding-top: 8px;
    border-top: 2px solid rgba(148, 163, 184, 0.12);
    color: #64748b;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
}

.auth-demo-flow span.is-complete {
    border-top-color: rgba(52, 211, 153, 0.5);
    color: #94a3b8;
}

.auth-demo-flow span.is-active {
    border-top-color: #60a5fa;
    color: #bfdbfe;
}

.auth-product-footer {
    color: #a5b4c8;
}

@keyframes auth-demo-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.82);
    }
}

@keyframes auth-demo-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auth-demo-scan {
    0%,
    12% {
        transform:
            translateX(-120%)
            rotate(12deg);
    }

    60%,
    100% {
        transform:
            translateX(420%)
            rotate(12deg);
    }
}

@media (max-width: 1180px) {
    .auth-product-panel {
        padding-left: 44px;
        padding-right: 44px;
    }

    .auth-hero-copy {
        margin-top: 68px;
    }

    .auth-recovery-demo {
        margin-top: 30px;
    }
}

@media (max-width: 1000px) {
    .auth-recovery-demo {
        max-width: 720px;
    }
}

@media (max-width: 640px) {
    .auth-recovery-demo {
        padding: 16px;
        border-radius: 16px;
    }

    .auth-demo-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-demo-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-demo-item {
        grid-template-columns:
            30px
            minmax(0, 1fr);
    }

    .auth-demo-item-icon {
        width: 30px;
        height: 30px;
    }

    .auth-demo-money,
    .auth-demo-item-state {
        grid-column: 2;
        justify-self: start;
    }

    .auth-demo-flow {
        grid-template-columns: repeat(5, minmax(58px, 1fr));
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-recovery-demo::before,
    .auth-demo-live-dot,
    .auth-demo-item {
        animation: none;
    }
}
