/* appt.jin-design.com: the application form and interview booking (book.mjs). */
@font-face { font-family: 'Geist'; src: url('/static/fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --ink: #18181b; --ink2: #52525b; --line: #e4e4e7; --bg: #f7f6f4; --brand: #FC7622; --brand-ink: #b4470b; --ok: #067647; --bad: #b42318; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--brand-ink); }
.bk { max-width: 640px; margin: 0 auto; padding: 28px 18px 40px; }
.bk-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 15px; }
.bk-dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #FC7622, #D12B06); }
.bk-sub { color: var(--ink2); padding-left: 8px; border-left: 1px solid var(--line); }
.bk-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 1px 2px rgba(24,24,27,.05); }
h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 650; }
h3 { font-size: 15px; margin: 0 0 8px; }
.bk-lead { color: var(--ink2); margin: 0 0 20px; }
.bk-muted { color: var(--ink2); }
.bk-form { display: grid; gap: 14px; }
.bk-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 550; }
.bk-form label em { font-style: normal; font-weight: 400; color: var(--ink2); }
.bk-two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .bk-two { grid-template-columns: 1fr; } .bk-card { padding: 20px; } }
input, select, textarea { font: inherit; font-size: 16px; width: 100%; padding: 10px 12px; border: 1px solid #d4d4d8; border-radius: 9px; background: #fff; color: var(--ink); }
input[type=file] { padding: 8px; background: #fafafa; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(252,118,34,.35); border-color: var(--brand); }
.bk-check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--ink2); }
.bk-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-btn { display: inline-block; font: inherit; font-weight: 600; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer; text-decoration: none; justify-self: start; }
.bk-btn:hover { background: #e9650f; }
.bk-err, .bk-ok { border-radius: 9px; padding: 10px 14px; margin: 0 0 16px; font-size: 15px; }
.bk-err { background: #fef3f2; color: var(--bad); border: 1px solid #fecdca; }
.bk-ok { background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }
.bk-days { display: grid; gap: 18px; }
.bk-day { border-top: 1px solid var(--line); padding-top: 14px; }
.bk-times { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-times form { margin: 0; }
.bk-time { font: inherit; font-size: 15px; font-weight: 550; padding: 8px 14px; border-radius: 9px; border: 1px solid #d4d4d8; background: #fff; color: var(--ink); cursor: pointer; min-width: 84px; }
.bk-time:hover, .bk-time:focus-visible { border-color: var(--brand); color: var(--brand-ink); background: #fff6ef; }
.bk-booked { display: grid; gap: 4px; background: #fff6ef; border: 1px solid #ffd3b5; border-radius: 12px; padding: 16px 18px; margin: 6px 0 18px; }
.bk-booked strong { font-size: 19px; }
.bk-booked span { color: var(--ink2); font-size: 14px; }
.bk-booked .bk-btn { margin-top: 10px; }
.bk-change summary { cursor: pointer; font-weight: 600; color: var(--brand-ink); }
.bk-change[open] summary { margin-bottom: 10px; }
.bk-cancel { margin-top: 18px; }
.bk-link { font: inherit; background: none; border: 0; padding: 0; color: var(--bad); text-decoration: underline; cursor: pointer; }
.bk-foot { margin-top: 22px; text-align: center; color: var(--ink2); font-size: 13px; }
.bk-foot a { color: var(--ink2); }
/* Date and time picker: dates open one at a time, times are radio buttons. */
.bk-pick { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.bk-pick legend { font-size: 14px; font-weight: 550; padding: 0; margin-bottom: 8px; }
.bk-days { gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.bk-day { border-top: 1px solid var(--line); padding: 0; }
.bk-day:first-child { border-top: 0; }
.bk-day summary { cursor: pointer; list-style: none; padding: 12px 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.bk-day summary::-webkit-details-marker { display: none; }
.bk-day summary::after { content: '+'; color: var(--ink2); font-weight: 400; }
.bk-day[open] summary::after { content: '–'; }
.bk-day summary .bk-muted { font-weight: 400; font-size: 14px; margin-left: auto; }
.bk-day[open] summary { background: #fffaf6; }
.bk-day .bk-times { padding: 4px 16px 16px; }
.bk-slot { display: inline-flex !important; cursor: pointer; }
.bk-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-slot span { font-size: 15px; font-weight: 550; padding: 8px 14px; border-radius: 9px; border: 1px solid #d4d4d8; background: #fff; min-width: 84px; text-align: center; }
.bk-slot:hover span { border-color: var(--brand); }
.bk-slot input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.bk-slot input:focus-visible + span { outline: 2px solid rgba(252,118,34,.45); outline-offset: 2px; }
.bk-btn[disabled] { opacity: .5; cursor: not-allowed; }
/* Month calendar (book.js). */
.bk-wide { max-width: 860px; }
.bk:has(.bk-wide) { max-width: 900px; }
.bk-step { display: flex; align-items: center; gap: 8px; font-size: 16px !important; font-weight: 650 !important; margin-bottom: 12px !important; }
.bk-step b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; }
.bk-pick + .bk-pick { margin-top: 18px; }
.cal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-size: 16px; }
.cal-nav { font: inherit; font-size: 20px; line-height: 1; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.cal-nav:hover:not([disabled]) { border-color: var(--brand); color: var(--brand-ink); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-w { font-size: 12px; color: var(--ink2); padding: 4px 0; text-transform: uppercase; letter-spacing: .04em; }
.cal-x, .cal-d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: 15px; max-width: 44px; width: 100%; justify-self: center; }
.cal-x { color: #c4c4c8; }
.cal-d { font: inherit; font-weight: 650; border: 0; background: #fff1e6; color: var(--brand-ink); cursor: pointer; }
.cal-d:hover { background: #ffe1cc; }
.cal-d.on { background: var(--brand); color: #fff; }
.cal-month + .cal-month { margin-top: 18px; }
.cal-right h3 { font-size: 15px; margin: 4px 0 12px; }
.cal-times + .cal-times { margin-top: 18px; }
.cal-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.cal-slots .bk-slot span { display: block; width: 100%; min-width: 0; }
/* With the script: one month and one date's times at a time. */
.cal.js .cal-month:not(.on), .cal.js .cal-times:not(.on) { display: none; }
.cal.js .cal-month + .cal-month, .cal.js .cal-times + .cal-times { margin-top: 0; }
.cal.js .cal-right { border-left: 1px solid var(--line); padding-left: 24px; max-height: 420px; overflow: auto; }
.bk-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.bk-summary { margin: 0; color: var(--ink2); }
.bk-summary strong { color: var(--ink); }
@media (max-width: 680px) {
  .cal { grid-template-columns: 1fr; padding: 14px; }
  .cal.js .cal-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; max-height: none; }
  .bk-submit .bk-btn { width: 100%; }
}
.bk-phone { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px; }
.bk-hint { font-size: 13px; font-weight: 400; color: var(--ink2); font-style: normal; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bk-actions .bk-btn { margin-top: 0; }
.bk-btn.ghost { background: #fff; color: var(--ink); border: 1px solid #d4d4d8; }
.bk-btn.ghost:hover { background: #fff; border-color: var(--brand); color: var(--brand-ink); }
.bk-small { font-size: 13px; margin-top: 4px; }
.bk-two { align-items: start; }
.bk-phone { grid-template-columns: 128px minmax(0, 1fr); }
.bk-phone select { padding-right: 6px; text-overflow: ellipsis; }
