/* Shared account entry pages, aligned with the travel home cards. */
.auth-page { padding: 0; border: 0; background: none; box-shadow: none; max-width: 560px; margin: clamp(.5rem, 3vw, 2rem) auto; --auth-accent: var(--blog-accent-color, var(--primary)); }
.auth-card { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.25rem, 5vw, 2.25rem); border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--auth-accent) 9%, transparent), transparent 55%), var(--surface); box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
.auth-card::before { content: ""; position: absolute; z-index: -1; width: 11rem; height: 11rem; top: -6rem; right: -4rem; border: 1px solid color-mix(in srgb, var(--auth-accent) 22%, transparent); border-radius: 50%; box-shadow: 0 0 0 22px color-mix(in srgb, var(--auth-accent) 4%, transparent), 0 0 0 44px color-mix(in srgb, var(--auth-accent) 3%, transparent); pointer-events: none; }
.auth-header { margin-bottom: 1.75rem; }
.auth-symbol { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1.5rem; border: 1px solid color-mix(in srgb, var(--auth-accent) 30%, var(--border)); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); transform: rotate(-5deg); }
.auth-symbol svg { width: 1.8rem; height: 1.8rem; }
.auth-header .section-kicker { margin: 0 0 .5rem; }
.auth-header h1 { margin: 0; font-size: clamp(1.65rem, 5vw, 2rem); letter-spacing: -.04em; line-height: 1.2; }
.auth-description { margin: .85rem 0 0; color: var(--muted); line-height: 1.65; }
.auth-form input { min-width: 0; min-height: 44px; background: var(--surface); }
.auth-form input[readonly] { background: var(--surface-muted); color: var(--muted); }
.auth-form .login-remember { display: flex; align-items: center; gap: .65rem; min-height: 44px; margin: 0; cursor: pointer; }
.auth-form .login-remember input { width: 1.15rem; height: 1.15rem; min-height: 0; flex: 0 0 1.15rem; margin: 0; padding: 0; accent-color: var(--primary); }
.auth-form .field-hint { display: block; margin: -.5rem 0 1.25rem; color: var(--muted); font-size: .82rem; font-weight: 400; line-height: 1.6; }
.auth-form .login-remember + .field-hint { margin: .25rem 0 1.25rem; }
.auth-form .optional-label { margin-left: .35rem; color: var(--soft); font-size: .75rem; font-weight: 400; }
.auth-form .auth-submit { width: 100%; min-height: 46px; color: #052e16; }
.auth-link { margin: 1.25rem 0 0; color: var(--muted); font-size: .9rem; text-align: center; }
.auth-link:last-child { padding-top: 1.25rem; border-top: 1px solid var(--border); }
.auth-link a, .auth-home a { display: inline-block; padding-block: .4rem; color: var(--text); text-decoration-color: color-mix(in srgb, var(--auth-accent) 65%, var(--border)); text-underline-offset: 4px; }
.auth-link a { font-weight: 650; }
.auth-link a:hover, .auth-home a:hover { text-decoration-thickness: 2px; }
.auth-home { margin: 1rem 0 0; text-align: center; font-size: .85rem; }
.auth-home a { color: var(--muted); }
.auth-note { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-muted); color: var(--muted); font-size: .85rem; }
.auth-password-criteria { display: grid; gap: .4rem; list-style: none; margin: -.25rem 0 1.25rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-muted); color: var(--muted); font-size: .8rem; }
.auth-password-criteria li { display: flex; gap: .5rem; align-items: baseline; }
.auth-criterion-mark { flex: 0 0 1em; font-weight: 700; }
.auth-password-criteria .is-valid .auth-criterion-mark { color: #15803d; }
html.dark .auth-password-criteria .is-valid .auth-criterion-mark { color: var(--primary); }
.auth-page :is(a, button, input):focus-visible { outline: 3px solid var(--auth-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .auth-page button { transition: none; } }
.auth-criterion-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
