/* Split sign-in page: a dark panel of dots beside the form (js/auth-dots.js).
   Self-contained -- does not load Bootstrap. */

:root {
    --au-deep: #062f28;
    --au-emerald: #0b4a3e;
    --au-mint: #6fc9a2;
    --au-gold: #e6c26a;
    --au-ink: #0b2a24;
    --au-muted: #5a716b;
    --au-line: #cfe0d9;
    --au-bg: #ffffff;
    --au-field: #f4f9f6;
    --au-error: #b3261e;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body.au {
    font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--au-ink);
    background: var(--au-bg);
    -webkit-font-smoothing: antialiased;
}

.au-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

/* ------------------------------------------------------------------ the dots panel */

.au-art {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 30% 35%, #0d4a3e 0%, var(--au-deep) 55%, #04211c 100%);
    color: #eaf6f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 40px;
}
.au-dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.au-stage { position: absolute; left: 8%; right: 8%; top: 12%; bottom: 30%; pointer-events: none; }

.au-brand, .au-pitch { position: relative; z-index: 1; pointer-events: none; }
.au-brand { pointer-events: auto; color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .01em; }
.au-brand img { width: 32px; height: 32px; display: block; }
.au-pitch h2 {
    margin: 0 0 6px;
    font: 400 clamp(24px, 2.6vw, 34px)/1.2 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
    letter-spacing: -.005em;
}
.au-pitch h2 em { color: var(--au-gold); font-style: italic; }
.au-pitch p { margin: 0; font-size: 13px; color: rgba(234, 246, 240, .62); }

/* ------------------------------------------------------------------ the form panel */

.au-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px clamp(24px, 6vw, 88px);
}
.au-card { width: 100%; max-width: 400px; margin: 0 auto; }
.au-eyebrow {
    margin: 0 0 14px;
    font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: #a07f25;
}
.au-card h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
.au-sub { margin: 0 0 26px; font-size: 14px; color: var(--au-muted); }

.au-field { margin: 0 0 16px; }
.au-field label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.au-input {
    position: relative; display: flex; align-items: center;
    background: var(--au-field); border: 1px solid var(--au-line); border-radius: 10px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.au-input:focus-within {
    background: #fff; border-color: var(--au-emerald);
    box-shadow: 0 0 0 3px rgba(11, 74, 62, .14);
}
.au-input input {
    flex: 1; min-width: 0; width: 100%;
    padding: 12px 14px; font: inherit; color: inherit;
    background: transparent; border: 0; outline: 0; border-radius: 10px;
}
.au-input input::placeholder { color: #8fa39d; }
.au-eye {
    flex: none; margin: 0 6px 0 0; width: 36px; height: 36px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 0; border-radius: 8px; color: var(--au-muted); cursor: pointer;
}
.au-eye:hover, .au-eye:focus-visible { color: var(--au-emerald); background: rgba(11, 74, 62, .08); outline: 0; }
.au-eye svg { width: 20px; height: 20px; display: block; }
.au-eye .au-eye-off { display: none; }
.au-eye[aria-pressed="true"] .au-eye-on { display: none; }
.au-eye[aria-pressed="true"] .au-eye-off { display: block; }

.au-btn {
    display: block; width: 100%; margin-top: 22px; padding: 13px 18px;
    font: inherit; font-weight: 600; text-align: center; text-decoration: none;
    color: #fff; background: var(--au-emerald); border: 0; border-radius: 10px; cursor: pointer;
    transition: background .15s, transform .05s;
}
.au-btn:hover { background: #0e5d4e; }
.au-btn:active { transform: translateY(1px); }
.au-btn:focus-visible { outline: 3px solid rgba(11, 74, 62, .35); outline-offset: 2px; }
.au-btn:disabled { opacity: .7; cursor: progress; }

.au-error {
    margin: 0 0 16px; padding: 10px 12px; font-size: 14px;
    color: var(--au-error); background: #fdf0ef; border: 1px solid #f3c9c6; border-radius: 10px;
}
.au-note {
    margin: 0 0 16px; padding: 10px 12px; font-size: 14px;
    color: #0b4a3e; background: #eaf6f0; border: 1px solid #bfe0d0; border-radius: 10px;
}
.au-status { min-height: 1.4em; margin: 12px 0 0; font-size: 13px; color: var(--au-muted); text-align: center; }

.au-links { margin: 18px 0 0; font-size: 14px; }
.au-links p { margin: 0 0 8px; }
.au-links a { color: var(--au-emerald); text-underline-offset: 2px; }
.au-links a:hover { color: #0e5d4e; }

.au-foot {
    margin-top: 40px; padding-top: 16px; border-top: 1px solid #e4eeea;
    font-size: 12px; color: var(--au-muted); text-align: center;
}
.au-foot a { color: inherit; }


/* ------------------------------------------------------------------ small screens */

@media (max-width: 820px) {
    .au-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .au-art { min-height: 250px; padding: 20px 24px; }
    .au-stage { top: 18%; bottom: 8%; left: 10%; right: 10%; }
    .au-pitch { display: none; }
    .au-main { justify-content: flex-start; padding-top: 28px; padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .au-input, .au-btn { transition: none; }
}

/* ------------------------------------------------------------------ pages without the dots */

.au-art-still .au-art-mark {
    position: absolute; left: 50%; top: 42%; width: min(62%, 380px); height: auto;
    transform: translate(-50%, -50%); opacity: .09; pointer-events: none;
}
.au-text { margin: 0 0 14px; font-size: 14px; color: var(--au-muted); }
.au-text strong { color: var(--au-ink); }
.au-btn-link { margin-top: 18px; }
@media (max-width: 820px) {
    .au-art-still { min-height: 130px; }
    .au-art-still .au-art-mark { top: 55%; width: 120px; }
}
