/* app.css — website-specific overrides on top of shared-styles.css */

/* Blazor error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: #fff3cd;
    border-top: 1px solid #ffc107;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
    font-family: var(--fx-font);
    font-size: 0.875rem;
    color: #1a1c1c;
}
#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    padding: 1rem;
    background: #ffdad6;
    color: #93000a;
    font-family: var(--fx-font);
}
.blazor-error-boundary::after { content: "An error has occurred."; }

/* Form validation helpers */
.valid.modified:not([type=checkbox]) { outline: 2px solid #05a357; }
.invalid { outline: 2px solid #ba1a1a; }
.validation-message { color: #ba1a1a; font-size: 0.8125rem; margin-top: 4px; }

/* Website-only auth shell */
.auth-layout {
    min-height: 100vh;
    background:
        radial-gradient(1200px 500px at 0% 0%, #d6ecff 0%, rgba(214, 236, 255, 0) 60%),
        radial-gradient(900px 500px at 100% 100%, #fde6d6 0%, rgba(253, 230, 214, 0) 60%),
        #f7fafc;
    display: grid;
    place-items: center;
}

.fx-website-auth {
    width: 100%;
    max-width: 720px;
}

.fx-website-auth__panel {
    background: #ffffff;
    border: 1px solid #d7e1ea;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 12px 32px rgba(23, 40, 59, 0.08);
}

.fx-website-auth__eyebrow {
    color: #315174;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.fx-website-auth__title {
    margin: 0 0 0.75rem 0;
}

.fx-website-auth__subtitle {
    color: #4f6378;
    margin-bottom: 1.5rem;
}

.fx-website-auth__note {
    text-align: center;
    margin-top: 0.75rem;
    color: #4f6378;
    font-size: 0.875rem;
}

@media (max-width: 576px) {
    .fx-website-auth__panel {
        padding: 1.25rem;
        border-radius: 14px;
    }
}
