/* ═══════════════════════════════════════════════════════════
   FUTUREDAY — AUTH PAGES (login / signup / forgot-password)
   Shared layout. Uses design-system variables from styles.css.
   ═══════════════════════════════════════════════════════════ */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'DM Sans', -apple-system, sans-serif; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: var(--blue-dark); }

.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* ── LEFT: brand panel ── */
.auth-brand { background: var(--blue-dark); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: flex-start; position: relative; overflow: hidden; }
.auth-brand .ab-logo { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.5px; color: #fff; }
.auth-brand .ab-logo span { color: var(--blue-light); }
.auth-brand .ab-mid { margin-top: 64px; }
.auth-brand .ab-mid h2 { font-family: 'Inter', sans-serif; font-size: 32px; line-height: 1.12; letter-spacing: -1px; margin: 0 0 26px; }
.auth-brand .ab-mid h2 em { font-style: italic; color: var(--blue-light); }
.auth-brand .ab-mid h2 .accent { font-style: normal; color: var(--blue-light); }
.auth-brand .ab-mid h2 .ab-welcome { display: block; font-size: 15px; font-weight: 500; color: #ffffff; margin-bottom: 16px; }
.auth-brand .ab-mid h2 .ab-welcome-rule { display: block; width: 36px; height: 2px; background: rgba(255,255,255,0.35); margin-bottom: 16px; }
.auth-brand .ab-mid p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 380px; margin: 0; }
.auth-brand .ab-spacer { flex: 1; }

/* bottom accent strip — echoes the "Stop Applying / Start Getting Hired" book cover's
   two-tone color block. Plain color band today; swap in .ab-proof (below) once we have
   a real testimonial/stat to show — see feature upgrades doc for the "when ready" version. */
.ab-accent-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: var(--blue-light); border-top: 1px solid rgba(255,255,255,0.35); }

/* testimonial / proof card — NOT used on login today (no real testimonial yet).
   Kept here, ready to drop into the brand panel (above .ab-accent-strip) the day
   we have a genuine quote or stat. See feature upgrades doc. */
.ab-proof { background: rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 14px 16px; font-size: 12px; line-height: 1.5; font-style: italic; color: #fff; }

/* testimonial / proof image placeholder inside brand panel (legacy — superseded by .ab-proof) */
.ab-imgph { border: 1.5px dashed rgba(255,255,255,0.35); border-radius: var(--radius-lg); background: rgba(255,255,255,0.06); padding: 22px; color: #fff; }
.ab-imgph .ph-tag { display: inline-block; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; background: rgba(255,255,255,0.16); padding: 4px 9px; border-radius: 100px; margin-bottom: 10px; }
.ab-imgph .ph-title { font-weight: 600; font-size: 13.5px; margin-bottom: 5px; }
.ab-imgph .ph-desc { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.72); }

/* ── RIGHT: form panel ── */
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card .ac-logo { display: none; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 28px; }
.auth-card .ac-logo span { color: var(--accent-blue); }

/* logo lockup — dark brand panel */
.ab-brand { display: inline-flex; align-items: center; gap: 10px; }
.ab-brand .mk-mark { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ab-brand .mk-brandtext { display: flex; flex-direction: column; line-height: 1.05; }
.ab-brand .mk-wm { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.4px; color: #fff; }
.ab-brand .mk-wm span { color: var(--blue-light); }
.ab-brand .mk-tag { font-size: 12px; color: var(--blue-light); letter-spacing: .3px; margin-top: 2px; }

/* logo lockup — light card (mobile only) */
.ac-brand { display: none; align-items: center; gap: 10px; margin-bottom: 28px; }
.ac-brand .mk-mark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(140deg, var(--blue-mid), var(--blue-dark)); color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ac-brand .mk-brandtext { display: flex; flex-direction: column; line-height: 1.05; }
.ac-brand .mk-wm { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.4px; color: var(--navy); }
.ac-brand .mk-wm span { color: var(--accent-blue); }
.ac-brand .mk-tag { font-size: 12px; color: var(--grey-text); letter-spacing: .3px; margin-top: 2px; }
.auth-card h1 { font-family: 'Inter', sans-serif; font-size: 28px; letter-spacing: -0.8px; margin: 0 0 8px; }
.auth-card .sub { font-size: 14.5px; color: var(--grey-text); margin: 0 0 28px; }
.auth-card .sub a { font-weight: 600; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 7px; }
.field input { width: 100%; font-family: 'DM Sans', sans-serif; font-size: 14.5px; padding: 12px 14px; border: 0.5px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--black); transition: border .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--blue-dark); box-shadow: 0 0 0 3px var(--blue-pale); }
.field .hint { font-size: 12px; color: var(--grey-text); margin-top: 6px; }

.row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--grey-text); }
.check input { width: 15px; height: 15px; accent-color: var(--blue-dark); }
.link-sm { font-size: 13px; font-weight: 600; }

.btn-full { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px; border-radius: var(--radius); padding: 13px 20px; cursor: pointer; border: 0.5px solid transparent; background: var(--blue-dark); color: #fff; transition: background .15s; }
.btn-full:hover { background: var(--blue-hover); }

.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--grey-text); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 0.5px; background: var(--border); }

.btn-oauth { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14.5px; border-radius: var(--radius); padding: 12px 20px; cursor: pointer; border: 0.5px solid var(--border); background: var(--white); color: var(--black); transition: background .15s; }
.btn-oauth:hover { background: var(--section-grey); }
.btn-oauth + .btn-oauth { margin-top: 10px; }
.oauth-ic { width: 18px; height: 18px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; color: #fff; flex-shrink: 0; }
.oauth-ic.li { background: #0a66c2; }
.oauth-ic.g { background: #fff; color: #4285F4; border: 1px solid var(--border); font-size: 12px; }

.alert { font-size: 13px; padding: 11px 14px; border-radius: var(--radius); margin-bottom: 18px; display: none; }
.alert.err { background: var(--amber-pale); color: var(--red); border: 1px solid #f3c4a3; }
.alert.ok { background: var(--green-pale); color: var(--green); border: 1px solid #b6e8c6; }
.alert.show { display: block; }

.fine { font-size: 12px; color: var(--grey-text); line-height: 1.5; margin-top: 22px; text-align: center; }
.back-home { font-size: 13px; font-weight: 600; margin-bottom: 26px; display: inline-block; }

/* demo banner */
.demo-note { font-size: 12px; color: var(--blue-dark); background: var(--blue-pale); border: 1px solid var(--blue-border); border-radius: var(--radius); padding: 9px 12px; margin-bottom: 20px; line-height: 1.45; }

@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-card .ac-logo { display: block; }
  .auth-card .ac-brand { display: inline-flex; }
  /* Anchor "Back to home" to the top-right, aligned with the wordmark line */
  .auth-card { position: relative; }
  .back-home { position: absolute; top: 0; right: 0; margin: 0; }
}
