/*
 * Login, sign-up, password reset (layout/authenticate.php). Same sunlight
 * rules as the app: 17px inputs (no iOS zoom-on-focus), 48px+ full-width
 * buttons, dark labels, hints at 7:1.
 */
:root { --au-ink: #111a22; --au-hint: #4d5b68; --au-blue: #01579b; --au-border: #5f6d7a; --au-red: #b3001b; }

.login { font-size: 16px; color: var(--au-ink); }
.login .login-body { max-width: 440px; }

/* brand as text + icon: sharp at any size (the old logo.png was blown up 2x) */
.login .signup-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; color: var(--au-ink); font-size: 32px; font-weight: 700; text-decoration: none; }
.login .signup-brand:hover, .login .signup-brand:focus { text-decoration: none; color: var(--au-blue); }
.login .signup-brand .icon { font-size: 30px; }

.login label { font-size: 15px; font-weight: 700; color: var(--au-ink); }
.login .form-control {
  height: 50px; font-size: 17px; color: var(--au-ink);
  border: 2px solid var(--au-border); border-radius: 8px; box-shadow: none;
}
.login .form-control:focus { border-color: var(--au-blue); box-shadow: 0 0 0 3px rgba(1, 87, 155, .25); }
.login .help-block { font-size: 14px; color: var(--au-hint); }
.login .has-error .form-control { border-color: var(--au-red); }
.login .error-message, .login .has-error .help-block { color: var(--au-red); font-weight: 700; }

.login .btn-primary, .login input[type="submit"].btn {
  display: block; width: 100%; min-height: 52px; font-size: 18px; font-weight: 700;
  border-radius: 8px; background: var(--au-blue); border-color: var(--au-blue);
}
.login a { color: var(--au-blue); }
.login .au-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.login .au-row a { font-size: 15px; font-weight: 700; text-decoration: underline; }

/* secondary way out of the form */
.login .login-footer { font-size: 16px; color: var(--au-ink); margin-top: 20px; text-align: center; }
.login .au-alt { display: block; margin-top: 10px; min-height: 48px; line-height: 44px; border: 2px solid var(--au-blue); border-radius: 8px; font-weight: 700; text-align: center; text-decoration: none; }
.login .au-alt:hover, .login .au-alt:focus { text-decoration: none; background: #eef4f9; }
.login .au-back { display: inline-block; margin-top: 16px; padding: 8px 0; font-size: 15px; color: var(--au-hint); }

/* phone field as wide as the others */
.login .iti { width: 100%; }
/* terms checkbox: bigger box, whole line tappable */
.login .custom-checkbox { min-height: 44px; padding-top: 10px; font-size: 15px; }
.login .custom-checkbox .custom-control-label { font-size: 15px; color: var(--au-ink); }

/* hidden reCAPTCHA badge (it sat past the right edge and made the page scroll
   sideways on phones); Google requires the text notice we show instead */
.grecaptcha-badge { visibility: hidden; }
/* hidden is not enough: the fixed badge still widens the page to 563px on a
   393px phone. Nothing on these pages is meant to scroll sideways. */
html, body { overflow-x: hidden; overflow-x: clip; } /* clip: no sideways scroll even from script or iOS rubber-band */
.login .au-recaptcha { margin-top: 12px; font-size: 13px; color: var(--au-hint); text-align: center; }
/* the "no account?" block sits outside the form; keep it the form's width */
.login .login-footer { max-width: 300px; margin-left: auto; margin-right: auto; }
