/* Motor City Registration — Motor City Hockey brand system.
   White canvas, black type and structure, logo red (#C02131) for emphasis and action.
   Inter for reading, Chakra Petch for labels and numbers (as on motorcityhockey.com). */
:root {
  --black: #0b0b0c;
  --ink: #141416;
  --ink-2: #3a3a40;
  --muted: #74747c;
  --line: #e8e8ec;
  --line-strong: #d6d6dc;
  --surface: #ffffff;
  --canvas: #f6f6f7;
  --red: #c02131;
  --red-dark: #9b1826;
  --red-tint: #fbeced;
  --ok: #1d7a46;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 8px 28px rgba(11, 11, 12, .05);
  --shadow-lift: 0 2px 4px rgba(11, 11, 12, .06), 0 16px 40px rgba(11, 11, 12, .08);
  --label: 'Chakra Petch', Inter, sans-serif;
  font-family: Inter, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); font-size: 14px; line-height: 1.5; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { color: var(--red); text-decoration-color: var(--red); }
h1, h2, h3 { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
h1 { font-size: 20px; font-weight: 700; }
h2 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
h3 { font-size: 12px; font-weight: 700; }
code { font-size: 12px; background: var(--canvas); padding: 1px 5px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

/* ---------- admin shell ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 236px; flex: 0 0 236px; background: var(--black); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: flex; align-items: center; gap: 12px; padding: 22px 20px 20px; color: #fff; text-decoration: none; border-bottom: 1px solid #1f1f22; }
.sidebar .brand img { width: 44px; height: 44px; }
.sidebar .brand span { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; line-height: 1.3; }
.sidebar .brand small { display: block; color: var(--red); font-size: 10px; letter-spacing: .2em; }
.sidebar nav { padding: 14px 10px 24px; display: flex; flex-direction: column; gap: 2px; }
.sidebar nav .group { font-family: var(--label); font-size: 10px; letter-spacing: .2em; color: #6d6d74; text-transform: uppercase; padding: 14px 12px 6px; }
.sidebar nav a, .sidebar nav button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: #c9c9ce; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 8px; border: 0; background: none; cursor: pointer; text-align: left; width: 100%; position: relative; }
.sidebar nav a:hover, .sidebar nav button:hover { background: #18181b; color: #fff; }
.sidebar nav a.active { background: #1c1c1f; color: #fff; }
.sidebar nav a.active::before { content: ''; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; background: var(--red); border-radius: 0 3px 3px 0; }
.sidebar nav .ico { width: 18px; text-align: center; color: var(--red); font-size: 13px; }
.main { flex: 1; min-width: 0; }
.topbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar h1 { display: flex; align-items: center; gap: 12px; }
.topbar h1::before { content: ''; width: 4px; height: 20px; background: var(--red); border-radius: 2px; }
.topbar .who { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.topbar .who b { color: var(--ink); font-weight: 600; }
.content { padding: 28px 32px 56px; max-width: 1280px; }
.intro { color: var(--muted); margin: 0 0 18px; max-width: 760px; }

/* ---------- cards & stats ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card > h2:first-child { display: flex; align-items: center; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ink); }
.stat.accent::after, .stat.revenue::after { background: var(--red); }
.stat .label { font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat .value { font-family: var(--label); font-size: 30px; font-weight: 700; letter-spacing: .02em; margin: 6px 0 2px; color: var(--ink); }
.stat.accent .value { color: var(--red); }
.stat .sub { font-size: 12px; color: var(--muted); }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--red); border-radius: var(--radius-sm); padding: 9px 16px; font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; background: var(--red); color: #fff; text-decoration: none; transition: background .15s, box-shadow .15s, transform .05s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; box-shadow: 0 6px 16px rgba(192, 33, 49, .25); }
.btn:active { transform: translateY(1px); }
.btn.dark { background: var(--black); border-color: var(--black); }
.btn.dark:hover { background: #26262a; border-color: #26262a; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: none; }
.btn.green { background: var(--red); border-color: var(--red); }
.btn.danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn.danger:hover { background: var(--red); color: #fff; }
.btn.small { padding: 6px 11px; font-size: 11px; }
.btn.big { padding: 14px 28px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.row > .field { flex: 1 1 200px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { font-size: 11px; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=tel], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 22, .08); }
input[readonly] { background: var(--canvas); color: var(--ink-2); }
textarea { min-height: 120px; }
input[type=checkbox], input[type=radio] { accent-color: var(--red); width: 16px; height: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .spacer { flex: 1; }
.searchbox { display: flex; }
.searchbox input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); width: 260px; }
.searchbox .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--black); border-color: var(--black); }

/* ---------- tables ---------- */
table.list { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.list th { text-align: left; font-family: var(--label); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfbfc; }
table.list td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr:hover td { background: #fcfcfd; }
.card table.list { box-shadow: none; }
table.list .sub, .sub { display: block; font-size: 12px; color: var(--muted); }
.num { text-align: center; }
.count { color: var(--muted); font-size: 13px; }
.pill { display: inline-flex; align-items: center; font-family: var(--label); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--canvas); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.pill.public, .pill.mine { background: var(--black); color: #fff; border-color: var(--black); }
.pill.private { background: #fff; color: var(--ink); border-color: var(--ink); }
.pill.worker, .pill.red { background: var(--red-tint); color: var(--red); border-color: #f2c7cc; }
.pill.draft, .pill.archived { color: var(--muted); }

/* ---------- tabs, notices ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { padding: 11px 16px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); border-bottom-color: var(--red); }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--ink); }
.flash.ok { border-left-color: var(--ok); }
.flash.error { border-left-color: var(--red); color: var(--red-dark); background: var(--red-tint); }
.warn { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 13px; }

/* ---------- login ---------- */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
.login-side { background: radial-gradient(1200px 600px at 20% 20%, #1b1b1e 0%, var(--black) 60%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; position: relative; overflow: hidden; }
.login-side::after { content: ''; position: absolute; right: -180px; bottom: -180px; width: 460px; height: 460px; border: 28px solid var(--red); border-radius: 50%; opacity: .35; }
.login-side > * { position: relative; z-index: 1; }
.login-side img { width: 96px; }
.login-side h2 { color: #fff; font-size: 34px; line-height: 1.1; letter-spacing: .04em; max-width: 420px; margin: 0; }
.login-side h2 em { color: var(--red); font-style: normal; }
.login-side p { color: #a5a5ad; max-width: 380px; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-form form { width: 100%; max-width: 360px; }
.login-form h1 { margin-bottom: 6px; }

/* ---------- weekly board ---------- */
.board { display: grid; gap: 20px; }
.day-card { padding: 0; overflow: hidden; }
.day-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--black); color: #fff; }
.day-head h2 { color: #fff; margin: 0; font-size: 15px; letter-spacing: .16em; }
.day-head .day-stats { margin-left: auto; display: flex; gap: 22px; font-family: var(--label); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a5a5ad; }
.day-head .day-stats b { color: #fff; font-size: 16px; margin-right: 6px; }
.hour { border-top: 1px solid var(--line); }
.hour:first-of-type { border-top: 0; }
.hour-head { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 14px 22px; background: #fbfbfc; }
.hour-time { font-family: var(--label); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.hour-time small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.capacity { display: flex; align-items: center; gap: 14px; }
.capacity .big { font-family: var(--label); font-weight: 700; font-size: 22px; }
.capacity .big span { color: var(--muted); font-size: 14px; }
.meter { flex: 1; max-width: 340px; height: 8px; background: #ececf0; border-radius: 99px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.meter.hot span { background: var(--red); }
.remaining { font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--canvas); white-space: nowrap; }
.remaining.low { background: var(--red-tint); color: var(--red); }
.remaining.full { background: var(--red); color: #fff; }
.hour-programs { width: 100%; border-collapse: collapse; }
.hour-programs td { padding: 10px 22px; border-top: 1px dashed var(--line); font-size: 13px; vertical-align: middle; }
.hour-programs td:first-child { padding-left: 148px; }
.hour-programs .n { font-family: var(--label); font-weight: 700; font-size: 15px; text-align: right; white-space: nowrap; }
.money { display: none; }
body.show-money .money { display: table-cell; }
.money-block { display: none; }
body.show-money .money-block { display: grid; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; user-select: none; }
.switch input { appearance: none; width: 38px; height: 22px; background: var(--line-strong); border-radius: 99px; position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--red); }
.switch input:checked::after { left: 19px; }
.section-title { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.section-title h2 { margin: 0; font-size: 15px; letter-spacing: .14em; }

/* ---------- assistant ---------- */
.answer table.list { margin: 10px 0; }
.answer h3 { margin: 16px 0 6px; color: var(--red); }
.chat-q { display: flex; gap: 10px; align-items: baseline; margin: 0 0 12px; }
.chat-q b { font-family: var(--label); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* ---------- public registration pages ---------- */
.pub-header { background: var(--black); color: #fff; padding: 0 28px; height: 72px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--red); }
.pub-header .logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }
.pub-header .logo img { width: 46px; height: 46px; }
.pub-header nav { display: flex; gap: 22px; }
.pub-header nav a { color: #d1d1d6; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.pub-header nav a:hover { color: #fff; }
.hero { color: #fff; text-align: center; padding: 64px 20px 84px; background: var(--black); background-size: cover; background-position: center; position: relative; }
.hero h1 { font-size: 34px; font-weight: 700; letter-spacing: .06em; max-width: 920px; margin: 0 auto; line-height: 1.15; }
.hero .eyebrow { font-family: var(--label); color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 12px; }
.hero .meta { margin-top: 10px; color: #c9c9ce; }
.pub-wrap { max-width: 900px; margin: -44px auto 48px; padding: 0 16px; position: relative; }
.pub-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; box-shadow: var(--shadow-lift); overflow: hidden; }
.pub-card > h2 { padding: 16px 22px; margin: 0; border-bottom: 1px solid var(--line); font-size: 13px; display: flex; align-items: center; gap: 10px; }
.pub-card > h2::before { content: ''; width: 3px; height: 14px; background: var(--red); border-radius: 2px; }
.pub-card .body { padding: 22px; }
.option { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.option:last-child { border-bottom: 0; }
.option .name { font-weight: 600; }
.option .price { font-family: var(--label); font-weight: 700; color: var(--ink); }
.option .price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.option .desc { color: var(--muted); font-size: 13px; }
.option select { width: 80px; }
.agreement-box { max-height: 360px; overflow-y: auto; border: 1px solid var(--line); padding: 16px 20px; background: #fcfcfd; font-size: 13px; border-radius: var(--radius-sm); }
.agreement-box h3 { margin: 16px 0 4px; font-size: 12px; }
.sticky-cta { position: sticky; bottom: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 14px; text-align: center; }
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-table td:last-child { text-align: right; font-family: var(--label); font-weight: 700; }
.sig-pad { position: relative; border: 2px dashed var(--line-strong); border-radius: var(--radius-sm); background: #fff; touch-action: none; }
.sig-pad canvas { display: block; width: 100%; height: 180px; cursor: crosshair; }
.sig-pad .sig-line { position: absolute; left: 24px; right: 24px; bottom: 40px; border-bottom: 1px solid var(--line-strong); pointer-events: none; }
.sig-pad .sig-x { position: absolute; left: 24px; bottom: 44px; font-family: var(--label); color: var(--red); font-weight: 700; pointer-events: none; }
.sig-pad.signed { border-style: solid; border-color: var(--ink); }
.steps { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.steps span { font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.steps span.on { background: var(--black); color: #fff; border-color: var(--black); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.slot-grid button { padding: 12px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-family: var(--label); font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.slot-grid button:hover { border-color: var(--red); color: var(--red); }
.slot-grid button small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .15s, border-color .15s; }
.service:hover { border-color: var(--ink); box-shadow: var(--shadow-lift); }
.service .price { font-family: var(--label); font-size: 22px; font-weight: 700; color: var(--red); }
.day-picker { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.day-picker a { flex: 0 0 auto; text-align: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; background: #fff; min-width: 74px; }
.day-picker a b { display: block; font-family: var(--label); font-size: 18px; }
.day-picker a small { font-family: var(--label); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day-picker a.on { background: var(--black); color: #fff; border-color: var(--black); }
.day-picker a.on small { color: #bbb; }
.day-picker a.none { opacity: .4; pointer-events: none; }
footer.pub-foot { text-align: center; color: var(--muted); font-size: 12px; padding: 28px; }

@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .sidebar { width: 100%; flex: none; height: auto; position: static; }
  .sidebar nav { flex-direction: row; overflow-x: auto; }
  .sidebar nav .group { display: none; }
  .sidebar nav a { white-space: nowrap; }
  .content { padding: 18px 16px 40px; }
  .topbar { padding: 0 16px; }
  table.list { display: block; overflow-x: auto; }
  .login-page { grid-template-columns: 1fr; }
  .login-side { display: none; }
  .hour-head { grid-template-columns: 80px 1fr; }
  .hour-programs td:first-child { padding-left: 22px; }
  .hero h1 { font-size: 24px; }
}

/* ---------- failed payments alert ---------- */
.alert-failed { background: #fff; border: 2px solid var(--red); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(192, 33, 49, .12); margin-bottom: 22px; overflow: hidden; }
.alert-failed .alert-head { display: flex; gap: 14px; align-items: center; background: var(--red); color: #fff; padding: 14px 20px; }
.alert-failed .alert-head h2 { color: #fff; margin: 0; font-size: 18px; letter-spacing: .04em; }
.alert-failed .alert-head p { margin: 2px 0 0; font-size: 13px; color: #ffe3e6; }
.alert-failed .alert-icon { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-family: var(--label); font-weight: 700; font-size: 20px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, .25); } }
.alert-failed table { width: 100%; border-collapse: collapse; }
.alert-failed td { padding: 12px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
.alert-failed .age { font-family: var(--label); font-weight: 700; color: var(--red); white-space: nowrap; }
.alert-failed .amt { font-family: var(--label); font-weight: 700; font-size: 18px; color: var(--red); text-align: right; white-space: nowrap; }
.alert-failed .acts { text-align: right; white-space: nowrap; }
.alert-failed .acts form { display: inline; margin: 0 0 0 6px; }
.sidebar nav a .badge { margin-left: auto; background: var(--red); color: #fff; font-family: var(--label); font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 6px; }
@media (max-width: 760px) { .alert-failed td { display: block; padding: 6px 16px; border-top: 0; } .alert-failed tr { display: block; border-top: 1px solid var(--line); padding: 8px 0; } .alert-failed .amt, .alert-failed .acts { text-align: left; } }

/* Checkout: pay in full vs payment plan */
.pay-choice { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; }
.pay-choice:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.pay-choice input { margin-top: 4px; }
.plan-dates { margin-top: 8px; border-collapse: collapse; font-size: 14px; }
.plan-dates td { padding: 3px 18px 3px 0; border-bottom: 1px solid var(--line); }
.plan-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 14px 12px; margin: 6px 0 14px; }
.plan-box legend { font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 0 6px; }
.plan-box .row { align-items: flex-start; }
