/* hireboard: the app's own styles, on top of the ones lifted from the prototype (hireboard.css).
   Only what the prototype has no screen for: signing in, naming a company, the emailed code, a list of applications,
   and the small states real data brings (still reading, not checked yet, nothing here yet). */

/* the page's big words on a screen whose work is in Make-Bot's bubble (sign in, name your company) */
.hb-gate { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 64px clamp(28px, 7vw, 96px); max-width: 760px; }
.hb-gate h1 { font-size: clamp(38px, 5vw, 60px); }
.hb-gate p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.hb-gate .hb-mail { font-weight: 600; color: var(--ink); word-break: break-all; }
.hb-gate ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hb-gate li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.hb-gate li .sw { flex: none; }
body.phone .hb-gate { padding: 28px 20px 180px; justify-content: flex-start; }
body.phone .hb-gate h1 { font-size: 36px; }

/* the 6-digit code */
.inp.hb-code { font-size: 24px; letter-spacing: 8px; font-weight: 600; text-align: center; height: 56px; font-variant-numeric: tabular-nums; }
.bubble .hb-err { margin-top: 10px; font-size: 13.5px; color: #a8400a; }
.bubble .hb-local { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(0, 122, 255, .09); font-size: 13.5px; color: #1d4f91; }
.bubble .hb-local b { font-variant-numeric: tabular-nums; letter-spacing: 2px; }
.bubble input.inp { display: block; }
.bubble .hb-fine { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: #6a6a6a; }
.bubble .hb-fine a { text-decoration: underline; text-underline-offset: 2px; }

/* the earlier steps of building a model are a record, not a way back */
.past.hb-fixed .hstep { cursor: default; }

/* a screen with nothing on it yet */
.hb-empty { margin: 8vh auto; max-width: 440px; text-align: center; color: var(--ink-2); display: grid; gap: 10px; justify-items: center; padding: 0 20px; }
.hb-empty h2 { margin: 0; font-size: 22px; color: var(--ink); }
.hb-empty p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.hb-empty .linkfield { margin-top: 8px; }

/* a real name can be long: it is cut with dots, never run into the next column */
.who b { overflow: hidden; text-overflow: ellipsis; }

/* a candidate whose check has not come back */
.status.wait { background: var(--tint); color: var(--ink-2); }
.status.wait i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: hb-wait 1.1s ease-in-out infinite; }
@keyframes hb-wait { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.still .status.wait i { animation: none; }
.crow.unchecked .rel, .kcard.unchecked .rel { opacity: .3; }

/* reading a resume: the page before there is a page */
.hb-reading { margin: auto; display: grid; gap: 14px; justify-items: center; color: var(--ink-2); padding: 40px 20px; text-align: center; }
.hb-reading .hb-page { width: 150px; height: 196px; border-radius: 10px; background: var(--surface); position: relative; overflow: hidden; }
.hb-reading .hb-page::before { content: ''; position: absolute; inset: 22px 18px; background: repeating-linear-gradient(to bottom, var(--tint) 0 7px, transparent 7px 17px); border-radius: 3px; }
.hb-reading .hb-page::after { content: ''; position: absolute; left: 0; right: 0; height: 34px; background: linear-gradient(to bottom, transparent, rgba(0, 122, 255, .22)); border-bottom: 2px solid #007AFF; animation: hb-read 1.5s ease-in-out infinite; }
@keyframes hb-read { 0% { transform: translateY(-34px); } 100% { transform: translateY(196px); } }
.still .hb-reading .hb-page::after { animation: none; transform: translateY(70px); }
.hb-reading b { color: var(--ink); font-size: 16px; }

/* the list of applications a candidate has sent */
.hb-apps { display: grid; gap: 10px; max-width: 640px; margin: 0 auto; padding: 8px 0 40px; width: 100%; }
.hb-app { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--card-r); background: var(--surface); }
.hb-app:hover { background: color-mix(in srgb, var(--surface) 92%, var(--ink)); }
.hb-app div { flex: 1; min-width: 0; }
.hb-app b { display: block; font-size: 16px; }
.hb-app small { color: var(--ink-2); font-size: 13.5px; }

/* small links under a page (delete my application, the legal pages) */
.hb-foot { display: flex; gap: 18px; flex-wrap: wrap; padding: 22px 4px 8px; font-size: 13.5px; color: var(--ink-3); }
.hb-foot a, .hb-foot button { color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; }
.hb-foot button:hover, .hb-foot a:hover { color: var(--ink-2); }

/* what the check found, when there is something to look at before deciding */
.aiv .hb-flag { color: #a8400a; }
.pr-label a { text-decoration: underline; text-underline-offset: 3px; }
.hb-note-picture { margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--st1) 14%, transparent); font-size: 13.5px; color: var(--ink); }

/* the top-3 rule on a part of the model */
.part .hb-rule { margin-left: auto; flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.part .hb-rule.on { background: color-mix(in srgb, var(--ink) 11%, transparent); color: var(--ink); }
.part .hb-warn { display: block; margin-top: 6px; font-size: 12.5px; color: #a8400a; }

/* stand-in mode: Claude is off on this copy */
.standin { position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 140; max-width: calc(100vw - 24px); padding: 7px 14px; border-radius: 999px; background: #1d4f91; color: #fff; font-size: 12.5px; pointer-events: none; text-align: center; animation: hb-standin 9s ease forwards; }
@keyframes hb-standin { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }   /* it says its piece, then gets out of the way of the buttons */
body.phone .standin { bottom: auto; top: 8px; border-radius: 16px; }
.still .standin { display: none; }

/* the homepage's nav when someone is signed in or out: a plain link styled as the account card */
a.acct { text-decoration: none; }
.nav .acct { position: static; }
