/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* Mirror the rule in MainLayout.razor.css so the AuthLayout's own
   #blazor-error-ui div is hidden by default. CSS isolation in Blazor
   scopes each layout's stylesheet to its own component, so the
   MainLayout rule doesn't apply here — without this file, the
   "An unhandled error has occurred" banner is permanently visible
   on every Register/Login page even when nothing is wrong. */

#blazor-error-ui[b-u57r623133] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-u57r623133] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Blazor's hot-reload error banner — kept hidden until Blazor toggles
   it via JS on a circuit error. The legacy .page / .sidebar / .top-row
   rules were removed when MainLayout switched to the design's .app
   grid; the visual styles all live in lotri-design.css now. */

#blazor-error-ui[b-cvvoe2lnma] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-cvvoe2lnma] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/OnboardingLayout.razor.rz.scp.css */
/* Centered, single-column shell sized like a mobile viewport even on
   desktop — the onboarding story reads as a dedicated panel rather than
   a web page. Updated to the Lotri Ayiti design tokens; matches the
   parchment background that the rest of the app sits on. */

/* Hide Blazor's circuit-error banner by default (the OnboardingLayout
   renders the #blazor-error-ui div, but CSS isolation means the
   MainLayout.razor.css rule doesn't apply here — without this stanza
   the "An unhandled error has occurred" banner shows on every
   onboarding page even when nothing is wrong). */
#blazor-error-ui[b-65umgsrib8] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-65umgsrib8] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.onboarding-shell[b-65umgsrib8] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    padding: 24px;
    background: var(--paper, #FFF8EC);
    color: var(--ink, #0B1437);
    font-family: var(--sans, system-ui);
}

.onboarding-shell > *[b-65umgsrib8] {
    width: 100%;
    max-width: 28rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* /Components/Layout/PrintLayout.razor.rz.scp.css */
/* Keep Blazor's circuit-error banner hidden by default on the print sheet —
   CSS isolation means MainLayout.razor.css's rule doesn't apply to this layout. */
#blazor-error-ui[b-atd8zuk3b2] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .dismiss[b-atd8zuk3b2] { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0ea1ntna5n],
.components-reconnect-repeated-attempt-visible[b-0ea1ntna5n],
.components-reconnect-failed-visible[b-0ea1ntna5n],
.components-pause-visible[b-0ea1ntna5n],
.components-resume-failed-visible[b-0ea1ntna5n],
.components-rejoining-animation[b-0ea1ntna5n] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-retrying[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-failed[b-0ea1ntna5n],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0ea1ntna5n] {
    display: block;
}


#components-reconnect-modal[b-0ea1ntna5n] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0ea1ntna5n 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0ea1ntna5n 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0ea1ntna5n 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0ea1ntna5n]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0ea1ntna5n 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0ea1ntna5n {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0ea1ntna5n {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0ea1ntna5n {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0ea1ntna5n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0ea1ntna5n] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0ea1ntna5n] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0ea1ntna5n] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0ea1ntna5n] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0ea1ntna5n] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0ea1ntna5n] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0ea1ntna5n 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0ea1ntna5n] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0ea1ntna5n {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/LanguagePicker.razor.rz.scp.css */
/* LanguagePicker visual design mirrors the Flutter LanguagePickerScreen:
   centered column, oversized language glyph, then three button rows. The
   Kreyòl default row gets a heavier border so first-time visitors from
   our primary market see the expected pick pre-selected even before they
   move the mouse. */

.language-screen[b-118mw4h59k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: var(--lotri-space-xl, 2.5rem);
    padding: var(--lotri-space-lg, 1.5rem) 0;
}

.language-head[b-118mw4h59k] {
    text-align: center;
}

.language-emoji[b-118mw4h59k] {
    font-size: 3.75rem;
    line-height: 1;
    margin-bottom: var(--lotri-space-md, 1rem);
}

.language-title-en[b-118mw4h59k] {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--lotri-text-primary, #111827);
}

.language-title-ht[b-118mw4h59k],
.language-title-fr[b-118mw4h59k] {
    font-size: 1rem;
    margin: 0;
    color: var(--lotri-text-secondary, #6B7280);
}

.language-options[b-118mw4h59k] {
    display: flex;
    flex-direction: column;
    gap: var(--lotri-space-sm, 0.75rem);
}

/* Tall, touch-friendly rows — Haitians are overwhelmingly mobile-first,
   so even the web build should feel tap-sized, not mouse-sized. */
.language-option[b-118mw4h59k] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--lotri-space-md, 1rem);
    height: 3.5rem;
    padding: 0 var(--lotri-space-md, 1rem);
    background: var(--lotri-surface-card, #FFFFFF);
    border: 1px solid var(--lotri-color-divider, #E5E7EB);
    border-radius: var(--lotri-radius-lg, 0.75rem);
    color: var(--lotri-text-primary, #111827);
    font-size: 1.125rem;
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease;
}

.language-option:hover[b-118mw4h59k] {
    background: var(--lotri-color-surface-hover, #F9FAFB);
    border-color: var(--lotri-color-primary, #0EA5E9);
}

.language-option:disabled[b-118mw4h59k] {
    opacity: 0.6;
    cursor: not-allowed;
}

.language-option-default[b-118mw4h59k] {
    border-width: 2px;
    border-color: var(--lotri-color-primary, #0EA5E9);
}

.language-option-default .language-label[b-118mw4h59k] {
    font-weight: 600;
}

.language-flag[b-118mw4h59k] {
    font-size: 1.5rem;
    line-height: 1;
}

.language-label[b-118mw4h59k] {
    font-size: 1.125rem;
}
/* /Components/Pages/Onboarding.razor.rz.scp.css */
/* Onboarding mirrors Flutter's three-slide PageView: halo'd icon, title,
   body copy, dots, CTA. The halo colours are name-coded per slide so the
   design keeps parity with the Flutter iconColor (primary/chalah/success)
   even though Blazor doesn't carry the same theme object. */

.onboarding-screen[b-f9ebd00660] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--lotri-space-lg, 1.5rem);
    padding: var(--lotri-space-md, 1rem) 0;
}

.onboarding-head[b-f9ebd00660] {
    display: flex;
    justify-content: flex-end;
}

.onboarding-skip[b-f9ebd00660] {
    background: none;
    border: none;
    color: var(--lotri-text-secondary, #6B7280);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
}

.onboarding-skip:hover[b-f9ebd00660] {
    color: var(--lotri-color-primary, #0EA5E9);
}

.onboarding-skip:disabled[b-f9ebd00660] {
    opacity: 0.6;
    cursor: not-allowed;
}

.onboarding-slide[b-f9ebd00660] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--lotri-space-lg, 1.5rem);
    padding: 0 var(--lotri-space-md, 1rem);
}

.onboarding-icon-halo[b-f9ebd00660] {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-icon[b-f9ebd00660] {
    font-size: 3.75rem;
    line-height: 1;
}

/* Flutter's iconColor.withAlpha(25) — very soft tinted halo. */
.onboarding-halo-primary[b-f9ebd00660] {
    background: rgba(14, 165, 233, 0.12);
}

.onboarding-halo-chalah[b-f9ebd00660] {
    background: rgba(168, 85, 247, 0.12);
}

.onboarding-halo-secure[b-f9ebd00660] {
    background: rgba(22, 163, 74, 0.12);
}

.onboarding-title[b-f9ebd00660] {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--lotri-text-primary, #111827);
}

.onboarding-body[b-f9ebd00660] {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--lotri-text-secondary, #6B7280);
    max-width: 24rem;
}

.onboarding-dots[b-f9ebd00660] {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--lotri-space-sm, 0.75rem) 0;
}

.onboarding-dot[b-f9ebd00660] {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    border: none;
    background: var(--lotri-color-divider, #E5E7EB);
    padding: 0;
    cursor: pointer;
    transition: width 160ms ease, background 160ms ease;
}

/* Active dot widens like the Flutter WormEffect transition. */
.onboarding-dot-active[b-f9ebd00660] {
    width: 1.5rem;
    border-radius: 0.3125rem;
    background: var(--lotri-color-primary, #0EA5E9);
}

.onboarding-cta[b-f9ebd00660] {
    padding: 0 var(--lotri-space-md, 1rem);
}

.onboarding-cta-btn[b-f9ebd00660] {
    width: 100%;
    height: 3.25rem;
    font-size: 1rem;
    font-weight: 700;
}
