/* Every signed-out screen, wearing the public site's clothes.
 *
 * Someone arriving here has just clicked "Claim your FBO" or "Sign in" on
 * web.whatfbo.com. These screens used to be a 420px card floating on a navy
 * gradient in a different typeface, which after the website read as being
 * handed to a different company. They carry the site's chrome instead: its
 * header, its fonts, its ground colour, its squared edges, its footer.
 *
 * NOT a copy of site.css. That file is built around page layouts none of this
 * has; what is reproduced here is only what makes the two look like one
 * product -- the palette (already in app.css and identical), Barlow, the navy
 * bar, and the square teal button. Bootstrap still does the form controls
 * underneath, so the form itself is untouched and so is its CSRF and session
 * handling.
 */

:root {
  --a-ink:    #14181B;
  --a-ink-2:  #57636C;
  --a-ink-3:  #8A96A0;
  --a-ground: #F1F4F8;
  --a-rule:   #DCE3EA;
  --a-display: "Barlow Condensed", "Barlow", Arial, sans-serif;
  --a-body:    "Barlow", "Helvetica Neue", Arial, sans-serif;
}

body.auth-body {
  margin: 0; background: var(--a-ground); color: var(--a-ink);
  font-family: var(--a-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
.auth-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Header: the site's, minus the nav links. There is nothing to navigate to
   from inside a form, and offering a way out of it mid-claim is not a
   kindness. The wordmark goes home, which is the one exit worth having. */
.auth-nav { background: var(--navy); }
.auth-nav-inner { display: flex; align-items: center; min-height: 68px; }
.auth-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.auth-brand-mark {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--navy); font-family: var(--a-display); font-weight: 700; font-size: 20px;
}
.auth-brand-mark img { width: 30px; height: 30px; display: block; }
.auth-brand-word {
  font-family: var(--a-display); font-size: 27px; font-weight: 700;
  color: #fff; letter-spacing: 0.01em;
}
.auth-brand-word span { color: var(--teal); }
.auth-nav-note {
  margin-left: auto; font-family: var(--a-body); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #A9BDCB;
}

.auth-main { flex: 1 0 auto; padding: 40px 0 56px; }
.auth-col { max-width: 640px; }
.auth-eyebrow {
  font-family: var(--a-body); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 12px;
}
.auth-h1 {
  font-family: var(--a-display); font-size: 40px; font-weight: 600;
  color: var(--navy); margin: 0 0 14px; line-height: 1.08;
}
.auth-lede { font-size: 17px; color: var(--a-ink-2); margin: 0 0 26px; max-width: 60ch; }

.auth-panel { background: #fff; border: 1px solid var(--a-rule); padding: 26px 28px 28px; }
.auth-panel h2 {
  font-family: var(--a-display); font-size: 24px; font-weight: 600;
  color: var(--navy); margin: 0 0 14px;
}
/* Square, and the site's teal, rather than Bootstrap's rounded primary. */
.auth-panel .btn-primary,
.auth-panel .btn-primary:focus {
  background: var(--teal); border-color: var(--teal); border-radius: 0;
  font-family: var(--a-display); font-size: 19px; font-weight: 600;
  letter-spacing: 0.04em; padding: 13px 30px;
}
.auth-panel .btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.auth-panel .form-control, .auth-panel .form-select { border-radius: 0; border-color: var(--a-rule); }
.auth-panel .form-control:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(36, 150, 137, .15);
}
.auth-panel .form-label { font-weight: 600; color: var(--navy); }

.auth-note { font-size: 15px; color: var(--a-ink-2); }
.auth-note strong { color: var(--navy); }
.auth-aside { margin-top: 18px; font-size: 15px; color: var(--a-ink-2); }
.auth-aside a { color: var(--navy); }

.auth-foot { background: var(--navy-deep); color: #A9BDCB; padding: 28px 0; }
.auth-foot-word { font-family: var(--a-display); font-size: 24px; font-weight: 700; color: #fff; }
.auth-foot-word span { color: var(--teal); }
.auth-foot p { margin: 6px 0 0; font-size: 14px; max-width: 55ch; }
.auth-foot a { color: #C4D0DA; }

@media (max-width: 640px) {
  .auth-h1 { font-size: 31px; }
  .auth-main { padding: 28px 0 40px; }
  .auth-panel { padding: 20px 18px 22px; }
  .auth-nav-note { display: none; }
}
