/* Account and form pages (login, sign up, password reset, TV activation, my account,
   notifications, goodbye, unsubscribe, text lists, vendor application, driver photos, play)
   in the Iron Range look: a short steel masthead with the page title, then the form on program
   stock. Shared parts: site.css. */

/* ---------- Short masthead ---------- */
.mast.acct-mast { min-height: 0; }
.acct-mast .mast-body { padding-top: 64px; padding-bottom: 48px; }
.acct-mast h1 { font-size: clamp(52px, 6vw, 84px); max-width: 16ch; }
.acct-mast-p { margin: 18px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink-hi); max-width: 60ch; }
.acct-mast-p + .acct-mast-p { margin-top: 10px; }
.acct-mast-p--lo { font-size: 15px; color: var(--ink-mid); }
.acct-mast-p strong { color: var(--mineral); }

/* ---------- Page body ---------- */
.acct { padding: 56px 0 104px; }
.acct-col { max-width: 540px; margin: 0 auto; }
.acct-col--md { max-width: 820px; }
.acct .sheet { box-shadow: 0 14px 28px -20px rgba(19,20,19,.45); }
.acct .sheet + .sheet, .acct .sheet + .acct-form, .acct .acct-form + .acct-form, .acct .acct-form + .sheet { margin-top: 28px; }
.acct-form > * + *, .acct-stack > * + * { margin-top: 22px; }
.acct-form > input[type="hidden"] + * { margin-top: 0; }
.acct-copy { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-dark-mid); }
.acct-copy strong { color: var(--ink-dark); }
.acct-copy a { color: var(--red); font-weight: 700; }
.acct-copy--sm { font-size: 14px; }
.acct-h { margin: 0 0 6px; font-family: var(--f-steel); font-weight: 700; font-size: 28px; line-height: 1.05; }
.acct-h small { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--ink-dark-lo); }
.acct-h + .acct-copy { margin-top: 0; }
.acct-alt { margin: 22px 0 0; text-align: center; font-size: 15px; color: var(--ink-dark-mid); }
.acct-alt a { color: var(--red); font-weight: 700; }
.acct-back { margin-top: 36px; text-align: center; }
.acct-fine-print { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--ink-dark-lo); }

/* ---------- Fields ---------- */
.acct .field { display: grid; gap: 8px; min-width: 0; }
.acct .field-label { display: block; margin: 0; color: var(--ink-dark); line-height: 1.35; }
.acct .field-label small { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--ink-dark-lo); }
.acct .field-label .req { color: var(--red); }
.acct-hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-dark-lo); }
.acct input[type="text"], .acct input[type="email"], .acct input[type="password"], .acct input[type="tel"],
.acct input[type="date"], .acct select, .acct textarea {
  display: block; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 0;
  background: var(--stock-0); border: 1.5px solid var(--black); color: var(--black);
  font-family: var(--f-body); font-weight: 600; font-size: 15px;
}
.acct textarea { padding: 12px 14px; line-height: 1.45; resize: vertical; }
.acct input::placeholder, .acct textarea::placeholder { color: var(--ink-dark-lo); font-weight: 500; opacity: 1; }
.acct input:focus, .acct select:focus, .acct textarea:focus { border-color: var(--red); }
.acct .is-err, .acct input.is-err, .acct select.is-err { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.acct .select { display: flex; }
.acct .select select { width: 100%; padding-right: 44px; -webkit-appearance: none; appearance: none; }
.acct input.acct-code { min-height: 64px; font-family: var(--f-iron); font-weight: 400; font-size: 40px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.acct input.acct-upper { text-transform: uppercase; }
.acct input[type="file"] { display: block; width: 100%; min-height: 46px; padding: 6px; background: var(--stock-0); border: 1.5px solid var(--black); font-size: 14px; }
.acct input[type="file"]::file-selector-button { margin-right: 12px; min-height: 34px; padding: 0 14px; border: 0; background: var(--black); color: var(--mineral); font-family: var(--f-body); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.acct input[type="file"]::file-selector-button:hover { background: var(--steel-3); }
.acct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acct-row--csz { grid-template-columns: 2fr 1fr 2fr; }
.acct-row .span-2 { grid-column: 1 / -1; }
.acct-half { max-width: 50%; }

/* Checkboxes and radios */
.acct-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-dark); cursor: pointer; }
.acct-check input, .acct-radios input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.acct-check--sm { font-size: 13px; color: var(--ink-dark-mid); }
.acct-check--b { font-weight: 700; }
.acct-checks > * + * { margin-top: 14px; }
.acct-radios { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; }
.acct-radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.acct-radios input { margin: 0; }

/* Buttons */
.btn--block { display: flex; width: 100%; }

/* ---------- Notes (flash and error messages) ---------- */
.acct-note { margin: 0 0 24px; padding: 14px 18px; background: var(--stock-0); border: 1.5px solid var(--black); font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink-dark); }
.acct-note a { color: inherit; font-weight: 800; text-decoration: underline; }
.acct-note ul { margin: 6px 0 0; padding-left: 20px; }
.acct-note--err { border-color: var(--red); background: rgba(166,30,47,.08); color: var(--red); }
.acct-note--ok { border-color: #1E7A45; background: rgba(47,163,95,.1); }
.acct-note--lg { padding-top: 26px; padding-bottom: 26px; text-align: center; }
.acct-note--lg .acct-h { margin-bottom: 10px; font-size: 32px; }
.acct-note--lg p { margin: 0; font-weight: 500; color: var(--ink-dark-mid); }
.acct-note--lg p + p { margin-top: 10px; }
.acct-note--fee { background: var(--stock-1); }
.acct-err { margin: 0; font-size: 14px; font-weight: 700; color: var(--red); }

/* Boxed fine print (notices, terms, releases) */
.acct-fine { padding: 18px 20px; background: var(--stock-1); border: 1px solid rgba(19,20,19,.35); font-size: 13px; line-height: 1.6; color: var(--ink-dark-mid); }
.acct-fine p { margin: 0; }
.acct-fine p + p { margin-top: 10px; }
.acct-fine strong { color: var(--ink-dark); }
.acct-fine--scroll { max-height: 160px; overflow-y: auto; background: var(--stock-0); }
.acct-verbatim { padding: 10px 14px; background: var(--stock-1); border: 1.5px solid var(--black); font-family: var(--f-steel); font-weight: 700; font-size: 20px; line-height: 1.2; }

/* ---------- Account: signed-in block, delete ---------- */
.acct-who { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.acct-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.acct-links a { color: var(--red); text-decoration: none; }
.acct-links a:hover { text-decoration: underline; }
.acct-links a.dim { color: var(--ink-dark-lo); }
.acct-links a.dim:hover { color: var(--red); }
.acct-del summary { cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dark-mid); }
.acct-del summary:hover { color: var(--red); }
.acct-del[open] summary { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 4px double var(--black); color: var(--ink-dark); }

/* ---------- Text list: list choice cards, driver block ---------- */
.acct-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acct-choice { display: block; cursor: pointer; }
.acct-choice-box { display: grid; justify-items: center; align-content: start; gap: 6px; height: 100%; padding: 20px 12px; background: var(--stock-0); border: 1.5px solid var(--black); text-align: center; transition: background-color .2s, border-color .2s, color .2s; }
.acct-choice-box .ico { width: 30px; height: 30px; color: var(--red); margin-bottom: 4px; }
.acct-choice-box b { font-family: var(--f-steel); font-weight: 700; font-size: 26px; line-height: 1; }
.acct-choice-box small { font-size: 12px; line-height: 1.4; color: var(--ink-dark-mid); }
.acct-choice:hover .acct-choice-box { border-color: var(--red); }
.acct-choice input:checked + .acct-choice-box { background: var(--red); border-color: var(--red); color: var(--mineral); }
.acct-choice input:checked + .acct-choice-box .ico, .acct-choice input:checked + .acct-choice-box small { color: var(--mineral); }
.acct-choice input:focus-visible + .acct-choice-box { outline: 3px solid var(--black); outline-offset: 3px; }
.acct-subsec { padding-top: 20px; border-top: 4px solid var(--red); }
.acct-subsec .acct-h { margin-bottom: 14px; color: var(--red); font-size: 24px; }
.acct .hidden { display: none; }

/* ---------- Vendor application / driver photo sections ---------- */
.acct-sec > * { margin-top: 0; margin-bottom: 0; }
.acct-sec > * + * { margin-top: 16px; }
.acct-sec > .acct-h { padding-bottom: 12px; border-bottom: 4px double var(--black); }
.acct-sec > .acct-h + * { margin-top: 18px; }
.acct-sec > .acct-stack + .acct-check, .acct-sec > .acct-checks + .acct-row { margin-top: 22px; }
.acct-sec.is-err { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.acct-sec > .field-label { display: block; }
.acct-sec > .field-label + textarea { margin-top: 8px; }
.acct-submit { margin-top: 28px; }
.acct-fine .acct-h { margin: 0 0 10px; font-size: 22px; color: var(--ink-dark); }
.acct-consent { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(19,20,19,.25); cursor: default; }
.acct-consent label { cursor: pointer; }
.acct-backlink { font-family: var(--f-steel); font-weight: 700; font-size: 22px; color: var(--ink-dark); text-decoration: none; }
.acct-backlink:hover { color: var(--red); }
.hbg-push-card :focus-visible { --focus: var(--sodium); }
.acct-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-preview:empty { display: none; }
#dpPreview img { border: 1.5px solid var(--black) !important; border-radius: 0 !important; }

/* ---------- Notifications: the push card as a steel plate ---------- */
.hbg-push-card { max-width: 480px; margin: 0 auto; padding: 26px 28px 28px; }
.hbg-push-card__title { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-family: var(--f-steel); font-weight: 700; font-size: 30px; line-height: 1; color: var(--mineral); }
.hbg-push-card__title .ico { width: 26px; height: 26px; color: var(--red-hot); }
.hbg-push-card__body { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--ink-hi); }
.hbg-push-card__body a { color: var(--mineral); font-weight: 700; text-decoration: underline; }
.hbg-push-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hbg-push-card__yes { flex: 1 1 auto; }

/* ---------- Play ---------- */
.acct-play .mast-body { padding-top: 96px; padding-bottom: 72px; }
.acct-play h1 { max-width: 12ch; }
.acct-play .acct-mast-p { font-size: 20px; max-width: 54ch; }

@media (max-width: 760px) {
  .acct-mast .mast-body { padding-top: 44px; padding-bottom: 36px; }
  .acct-mast h1 { font-size: 46px; }
  .acct-mast-p { font-size: 16px; }
  .acct-mast-p--lo { color: var(--ink-hi); }
  .acct { padding: 32px 0 72px; }
  .acct .sheet { padding: 22px 18px 24px; }
  .acct-row--stack { grid-template-columns: minmax(0, 1fr); }
  .acct-row--stack .span-2 { grid-column: auto; }
  .acct-half { max-width: none; }
  .acct-choices { gap: 8px; }
  .acct-choice-box { padding: 14px 6px; }
  .acct-choice-box b { font-size: 21px; }
  .acct-choice-box small { font-size: 11px; }
  .acct-h { font-size: 24px; }
  .acct input.acct-code { font-size: 32px; }
  .hbg-push-card { padding: 22px 18px 24px; }
  .acct-play .mast-body { padding-top: 56px; padding-bottom: 52px; }
  .acct-play .acct-mast-p { font-size: 17px; }
}
