/* Mobile-first sign-in, sign-up and onboarding screens: one centred column, no side panel,
   no bottom navigation. Colours come from the shared tokens in theme.css. */
.am-body { min-height: 100vh; display: flex; justify-content: center; background: var(--color-bg); }
.am-wrap { width: 100%; max-width: 440px; padding: 28px 20px 40px; display: flex; flex-direction: column; }
.am-brand { text-align: center; margin-bottom: 18px; }
.am-logo { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--color-gold); object-fit: cover; background: var(--color-surface); }
.am-brand h1 { font-family: var(--font-display); font-size: 1.65rem; margin: 12px 0 4px; }
.am-brand p { margin: 0; color: var(--color-text-muted); font-size: 0.98rem; }
.am-wrap .btn { width: 100%; min-height: 50px; border-radius: 12px; font-size: 1.02rem; }
.am-field { margin-bottom: 14px; }
.am-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.am-input { position: relative; display: flex; align-items: center; }
.am-input > svg { position: absolute; left: 14px; width: 22px; height: 22px; stroke: var(--color-text-muted); fill: none; stroke-width: 1.8; pointer-events: none; }
.am-input input, .am-input select { width: 100%; min-height: 50px; padding: 0 48px 0 46px; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); font: inherit; }
.am-input input:focus, .am-input select:focus { outline: 2px solid var(--color-gold); outline-offset: 1px; }
.am-eye { position: absolute; right: 6px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--color-text-muted); cursor: pointer; border-radius: 10px; }
.am-eye svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.am-hint { color: var(--color-text-muted); font-size: 0.85rem; margin-top: 5px; }
.am-forgot { text-align: right; margin: -4px 0 16px; }
.am-forgot a, .am-switch a { color: var(--color-text); }
.am-switch { text-align: center; margin: 18px 0; }
.am-switch a { font-weight: 800; }
.am-notice { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #1f6f54; color: #f3ead9; font-size: 0.92rem; line-height: 1.4; margin-top: auto; }
.am-notice a { color: #fff; text-decoration: underline; }
.am-badge { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #f3ead9; display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; }
.am-alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.am-alert--error { background: var(--color-error-bg); border: 1px solid var(--color-error); }
.am-alert--ok { background: #12281f; border: 1px solid #1f6f54; }
.am-alert ul { margin: 0; padding-left: 18px; }
.am-checks label { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 0.95rem; }
.am-checks input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.am-steps { text-align: center; color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.am-legal h1 { font-family: var(--font-display); }
.am-legal h2 { margin-top: 24px; font-size: 1.1rem; }
.am-legal p, .am-legal li { color: var(--color-text-muted); line-height: 1.6; }

/* Cloudflare Turnstile box on the sign-in form */
.am-turnstile { margin: 4px 0 16px; min-height: 65px; }
