/* Coach Reza — registration, booking and coach dashboard pages.
   Loaded after styles.css on register.html, book.html and coach.html. */

[hidden] { display: none !important; }

.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; margin-block: 12px 14px; }
.page-hero .lead { color: #d5ddea; max-width: 56ch; font-size: var(--step-1); line-height: 1.5; }

/* Step indicator */
.stepper { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.92rem; color: var(--mist); }
.stepper li { display: flex; align-items: center; gap: 10px; }
.stepper b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); font-family: var(--display); font-size: 1.05rem; color: var(--white); }
.stepper .is-on { color: var(--white); font-weight: 600; }
.stepper .is-on b { background: var(--red); border-color: var(--red); }
.stepper .is-done b { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Registration form */
.reg-wrap { max-width: 860px; }
.reg { display: grid; gap: 20px; margin-top: clamp(-36px, -3vw, -20px); position: relative; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 4vw, 34px); display: grid; gap: 20px; box-shadow: 0 1px 2px rgba(11,27,51,.04); }
.card > h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 800; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card > h2 .num { color: var(--red); }
.card > h2 .tag { font-family: var(--body); text-transform: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0; color: var(--slate); background: var(--chalk); border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; }
.card .intro { color: var(--slate); margin-top: -8px; }
.card[hidden], .q[hidden], .reveal[hidden] { display: none !important; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.q { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.q > label, .q > legend, .q .qlabel { font-weight: 600; font-size: 0.95rem; padding: 0; line-height: 1.35; }
.q legend { margin-bottom: 7px; }
.req { color: var(--red); margin-left: 2px; }
.opt { color: var(--slate); font-weight: 400; font-size: 0.88rem; }
.hint { font-size: 0.86rem; color: var(--slate); font-weight: 400; }

.reg input[type="text"], .reg input[type="email"], .reg input[type="tel"], .reg input[type="date"], .reg select, .reg textarea,
.bk input, .bk select, .bk textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 48px;
  padding: 11px 13px; border: 1.5px solid #c9d1de; border-radius: var(--radius); background: var(--white);
}
.reg textarea, .bk textarea { min-height: 92px; resize: vertical; }
.reg input:focus, .reg select:focus, .reg textarea:focus, .bk input:focus, .bk select:focus, .bk textarea:focus { outline: 3px solid rgba(11,27,51,.18); border-color: var(--navy); }
.reg input[readonly] { background: var(--chalk); color: var(--slate); }

/* Choice pills (radio / checkbox) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices.col { flex-direction: column; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1.5px solid #c9d1de; border-radius: var(--radius); background: var(--white); cursor: pointer; font-weight: 500; font-size: 0.97rem; line-height: 1.3; }
.choices.col .choice { align-items: flex-start; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
.choices.col .choice input { margin-top: 1px; }
.choice:has(input:checked) { border-color: var(--navy); background: #eef2f8; }
.choice:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }

.yn { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; align-items: center; padding-block: 14px; border-top: 1px solid var(--line); }
.yn:first-of-type { border-top: 0; padding-top: 0; }
.yn > .qlabel { grid-column: 1; }
.yn > .choices { grid-column: 2; flex-wrap: nowrap; }
.yn > .reveal, .yn > .q-err { grid-column: 1 / -1; }
.yn .choice { min-width: 76px; justify-content: center; }
@media (max-width: 600px) { .yn { grid-template-columns: 1fr; } .yn > .choices { grid-column: 1; } }
.reveal { display: grid; gap: 14px; padding: 14px; background: var(--chalk); border-left: 3px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; }

.age-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--navy); background: #eef2f8; padding: 6px 12px; border-radius: 999px; width: fit-content; }
.tip { font-size: 0.9rem; background: #fff8e6; border: 1px solid #f0d58a; color: #5c4400; padding: 10px 12px; border-radius: var(--radius); }

/* Agreements */
.agree { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; gap: 10px; }
.agree h3 { font-family: var(--body); text-transform: none; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.agree h3 span { color: var(--red); margin-right: 6px; }
.agree .sum { color: var(--slate); font-size: 0.95rem; }
.agree details { font-size: 0.95rem; }
.agree summary { cursor: pointer; color: var(--red-dark); font-weight: 600; width: fit-content; }
.agree details .full { margin-top: 10px; padding: 12px 14px; background: var(--chalk); border-radius: var(--radius); color: #2d3a50; }
.agree details .full a { color: var(--red-dark); }
.agree .tick { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; padding: 10px 12px; margin: 2px -4px 0; border-radius: var(--radius); background: #f3f5f9; }
.agree .tick input { width: 22px; height: 22px; margin: 0; accent-color: var(--red); flex: none; }
.agree:has(.tick input:checked) { border-color: #9fb3cf; }
.agree:has(.tick input:checked) .tick { background: #e9f4ec; }

/* Signature */
.sigpad { position: relative; border: 1.5px dashed #9aa7bb; border-radius: var(--radius); background: var(--white); touch-action: none; }
.sigpad canvas { display: block; width: 100%; height: 150px; cursor: crosshair; }
.sigpad .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa7bb; pointer-events: none; font-size: 0.95rem; }
.sigpad.has-ink .ph { display: none; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--red-dark); font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: underline; width: fit-content; }

/* Errors */
.q-err { color: #b3141a; font-size: 0.88rem; font-weight: 600; display: none; }
.q-err::before { content: "! "; }
.is-invalid > .q-err { display: block; }
.is-invalid > input, .is-invalid > select, .is-invalid > textarea { border-color: #d0242a; background: #fff6f6; }
.is-invalid > .choices .choice { border-color: #e48a8d; }
.agree.is-invalid { border-color: #d0242a; background: #fffafa; }
.err-summary { background: #fff1f1; border: 2px solid #d0242a; border-radius: 6px; padding: 16px 18px; color: #7a0e12; }
.err-summary h2 { font-family: var(--body); text-transform: none; font-size: 1.1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin-bottom: 6px; color: #7a0e12; }
.err-summary ul { margin: 6px 0 0; padding-left: 20px; }
.err-summary a { color: #7a0e12; font-weight: 600; }

.submit-row { display: grid; gap: 12px; justify-items: start; }
.submit-row .btn { font-size: 1.1rem; padding: 1.05em 1.8em; }
.submit-row .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.small { font-size: 0.88rem; color: var(--slate); }

/* Done panel */
.done { background: var(--white); border: 1px solid var(--line); border-top: 6px solid #1f8a4c; border-radius: 6px; padding: clamp(24px, 5vw, 44px); display: grid; gap: 16px; }
.done h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 900; }
.done .check { width: 56px; height: 56px; border-radius: 50%; background: #1f8a4c; color: #fff; display: grid; place-items: center; }
.done .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.done dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: 0.97rem; }
.done dt { color: var(--slate); }
.done dd { margin: 0; font-weight: 600; }

/* Booking page */
.bk-lock { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: var(--white); color: var(--ink); border-left: 5px solid var(--red); padding: 18px 20px; border-radius: var(--radius); margin-top: 28px; }
.bk-lock p { max-width: 52ch; }
.bk-ok { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: #d5ddea; font-size: 0.95rem; }
.bk-ok .pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); padding: 5px 12px; border-radius: 999px; font-weight: 600; }
.bk-ok a { color: var(--white); }

.offer { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(20px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 4vw, 40px); }
.offer + .offer { margin-top: 20px; }
.offer.feature { border: 2px solid var(--navy); box-shadow: 0 18px 40px rgba(11,27,51,.10); }
.offer .badge { display: inline-block; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--white); background: var(--red); padding: 5px 10px; border-radius: 3px; width: fit-content; }
.offer .badge.navy { background: var(--navy); }
.offer h3 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; margin-block: 12px 10px; }
.offer > div > p { color: var(--slate); max-width: 56ch; }
.offer .ticks { grid-template-columns: 1fr; margin-top: 16px; }
.offer .side { display: grid; gap: 12px; align-content: start; justify-items: start; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 36px); }
.offer .price { font-size: clamp(3rem, 7vw, 4rem); }
.offer .side .price-sub { margin-top: -4px; }
.offer .side .btn { margin-top: 6px; }
.group-prices { display: grid; gap: 4px; }
.group-prices p { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1.05; }
.group-prices p small { font-family: var(--body); font-size: 0.9rem; font-weight: 500; color: var(--slate); }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; }
  .offer .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}
.after-label { display: flex; align-items: center; gap: 14px; margin: 40px 0 16px; font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--slate); }
.after-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.bk { background: var(--white); border-radius: 6px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; color: var(--ink); max-width: 720px; }
.bk label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }

/* Coach dashboard */
.dash { max-width: 1320px; }
.drop { border: 2px dashed #9aa7bb; border-radius: 8px; background: var(--white); padding: clamp(24px, 5vw, 44px); text-align: center; display: grid; gap: 10px; justify-items: center; }
.drop.over { border-color: var(--red); background: #fff5f5; }
.drop ol { text-align: left; color: var(--slate); margin: 4px 0; padding-left: 20px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 14px; }
.toolbar input[type=search] { font: inherit; min-height: 44px; padding: 8px 12px; border: 1.5px solid #c9d1de; border-radius: var(--radius); min-width: 220px; flex: 1; max-width: 340px; }
.chip { font: inherit; font-size: 0.92rem; font-weight: 600; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #c9d1de; background: var(--white); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip .n { opacity: .7; margin-left: 4px; }
.toolbar .spacer { flex: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.stats div { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.stats span { font-size: 0.86rem; color: var(--slate); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.tbl-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); background: var(--chalk); font-weight: 700; white-space: nowrap; }
.tbl td.nowrap { white-space: nowrap; }
.tbl tr.row { cursor: pointer; }
.tbl tr.row:hover td { background: #f8f9fc; }
.tbl tr.detail td { background: #fbfcfe; }
.tbl .pname { font-weight: 700; }
.tbl .sub { display: block; color: var(--slate); font-size: 0.84rem; }
.bdg { display: inline-block; font-size: 0.76rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; white-space: nowrap; margin: 0 4px 4px 0; }
.bdg.red { background: var(--red); color: #fff; }
.bdg.amber { background: #ffe8b0; color: #5c4400; }
.bdg.green { background: #dcf1e3; color: #145c33; }
.bdg.grey { background: #e8ecf2; color: #3b475c; }
.bdg.navy { background: var(--navy); color: #fff; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; padding: 6px 0; }
.detail-grid h4 { margin: 0 0 4px; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.detail-grid p { font-size: 0.92rem; }
.empty { padding: 30px; text-align: center; color: var(--slate); }

/* ---------- Home page additions (Nov 2026) ---------- */
.hero h1.h1-long { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
.session-code.code-sm { font-size: clamp(2.4rem, 4vw, 3.1rem); }
.steps.steps-four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps.steps-four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps.steps-four { grid-template-columns: 1fr; } }
#how .hero-ctas { margin-top: 28px; }
.price-note { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--navy); background: var(--chalk); font-size: 0.95rem; color: var(--ink); font-weight: 600; max-width: 760px; }
.on-white .price-note { background: var(--chalk); }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.areas li { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 22px 20px; font-family: var(--display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr 1fr; } .areas li { font-size: 1.5rem; padding: 18px 16px; } }
.faq details p a { color: var(--red-dark); }
.offer .side .price-word { font-size: 2rem; }
.offer .side .price, .offer .side .price-word { color: var(--ink); }
