.booking-studio {padding-bottom:3rem}
.booking-title {padding:3rem 0 1.4rem;border-bottom:1px solid var(--border)}
.booking-title h1 {font-size:clamp(2.5rem,5vw,4rem);margin:0;letter-spacing:-.055em}
.booking-studio .booking-grid {grid-template-columns:minmax(0,1.5fr) minmax(285px,.85fr);gap:clamp(24px,5vw,76px);margin-top:2.25rem}
.planner h2 {margin:0 0 1rem}
.planner .service-card {min-height:88px;padding:16px;border-radius:18px}
.planner .details {margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border)}
.scheduler fieldset {border:0;margin:0;padding:0}
.scheduler legend,.monthbar strong {font-size:1rem;font-weight:650;margin-bottom:.65rem}
.pills {display:flex;flex-wrap:wrap;gap:8px}
.pills button,.monthbar button,.dategrid button {border:1px solid var(--border);color:var(--text);background:var(--surface);min-height:44px;border-radius:99px}
.pills button {padding:8px 18px}
.scheduler button[aria-pressed=true] {background:var(--inverse);color:var(--inverse-text);border-color:var(--inverse)}
.scheduler button:disabled {opacity:.32;cursor:default}
.monthbar {display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}
.monthbar strong {text-transform:capitalize;margin:0}
.monthbar button {width:44px;display:inline-grid;place-items:center;margin-left:6px}
.dategrid {display:grid;grid-template-columns:repeat(7,1fr);justify-items:center;gap:4px;margin-bottom:24px}
.dategrid small {color:var(--muted);padding:6px}
.dategrid button {border:0;width:min(100%,44px);font-variant-numeric:tabular-nums}
.dategrid button:disabled {text-decoration:line-through}
.booking-studio .summary {position:sticky;top:24px;border-radius:20px;box-shadow:0 10px 42px #1638230b;border-top:5px solid var(--accent)}
@media(max-width:760px){.booking-studio .booking-grid{grid-template-columns:1fr}.booking-title{padding-top:2rem}.booking-studio .summary{position:static}.planner .service-grid{grid-template-columns:1fr}.booking-studio{padding-inline:18px}}

.court-booking {background:var(--soft);min-height:100vh}
.court-booking .header {background:var(--surface)}
.court-booking .header-inner {height:72px}
.booking-studio .booking-title {position:relative;overflow:hidden;isolation:isolate;border:0;border-radius:24px;background:#113d30;color:#f7ffea;margin-top:24px;padding:clamp(32px,5vw,68px) 5%;display:flex;align-items:center}
.booking-title h1 {position:relative;z-index:1;max-width:66%;font-weight:750;line-height:.98;text-wrap:balance}
.pitch-mark {position:absolute;right:4%;width:32%;height:150%;top:-25%;transform:rotate(-18deg);border:2px solid #8eca8d80;background:repeating-linear-gradient(90deg,#ffffff05 0 12.5%,transparent 12.5% 25%);color:#8eca8d80}
.pitch-mark::before,.pitch-mark::after,.pitch-mark i,.pitch-mark b {content:"";position:absolute;top:50%;transform:translateY(-50%);border:2px solid currentColor}
.pitch-mark::before {left:50%;height:100%;border-width:0 0 0 2px}
.pitch-mark::after {width:28%;aspect-ratio:1;left:36%;border-radius:50%}
.pitch-mark i,.pitch-mark b {height:48%;width:17%}
.pitch-mark i {left:-2px}.pitch-mark b {right:-2px}
.booking-studio .booking-grid {gap:24px;margin-top:24px}
.planner,.booking-studio .summary {background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:clamp(18px,2.5vw,36px)}
.planner {min-width:0}
.planner h2,.booking-studio .summary h2 {font-size:clamp(21px,2vw,28px);line-height:1.15}
.planner .service-card {gap:10px;padding:14px}
.planner .service-card.selected {box-shadow:inset 0 0 0 1px var(--accent)}
.scheduler {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);column-gap:24px}
.scheduler fieldset:first-child {grid-column:1/-1}
.scheduler .monthbar,.scheduler .dategrid {grid-column:1}
.scheduler fieldset:last-child {grid-column:2;grid-row:span 2;align-self:start;border-left:1px solid var(--border);padding-left:18px}
.scheduler .monthbar + .dategrid + fieldset {grid-row:2 / 4}
.scheduler .monthbar:first-child + .dategrid + fieldset {grid-row:1 / 3}
.scheduler fieldset:last-child legend {float:left;width:100%;text-transform:capitalize}
.scheduler fieldset:last-child .pills {clear:both}
.scheduler fieldset:last-child button {min-width:72px}
.scheduler fieldset:last-child {margin-top:24px}
.dategrid {align-content:start}
.scheduler button:hover:enabled:not([aria-pressed=true]) {background:var(--selected)}
.scheduler button[aria-pressed=true] {background:#164b39;color:white;border-color:#164b39}
@media(max-width:940px){.scheduler{display:block}.scheduler fieldset:last-child{border:0;padding:0}.planner .service-grid{grid-template-columns:1fr}}
@media(max-width:760px){.booking-studio .booking-title{margin-top:14px;padding:30px 20px;border-radius:18px}.booking-studio .booking-grid{gap:14px;margin-top:14px}.planner,.booking-studio .summary{border-radius:18px}.pitch-mark{right:-4%}.dategrid{column-gap:0}.planner .details{margin-top:22px;padding-top:22px}}
.court-booking {--accent:#0D8D4E}
.scheduler button[aria-pressed=true],.court-booking .primary {background:#0D8D4E;color:white;border-color:#0D8D4E}
.scheduler button[data-unavailable=true] {background:#fff1f1;color:#922f37;border:1px solid #cf6670;opacity:1;text-decoration:none}
.pills button small {display:block;font-size:10px}
.availability-key {grid-column:1/-1;display:flex;align-items:center;gap:7px;color:var(--muted);margin-top:10px}
.availability-key i {width:13px;height:13px;border:1px solid #cf6670;background:#fff1f1;border-radius:4px}
.compact-recap {margin:16px 0;display:grid;gap:10px}
.compact-recap p {display:flex;gap:10px;align-items:baseline;font-size:14px;margin:0}
.compact-recap svg {width:17px;height:17px;align-self:flex-start;flex:none;color:var(--accent)}
.scheduler fieldset .pills {display:grid;gap:6px}
.scheduler fieldset .pills button {border-radius:10px;width:100%;font-variant-numeric:tabular-nums}
@media(min-width:941px){
.scheduler .monthbar {grid-row:1}
.scheduler .dategrid {grid-row:2}
.scheduler fieldset {grid-column:2;grid-row:1 / 4;min-width:0;margin-top:24px}
.scheduler .availability-key {grid-column:1}
}

.court-booking .header-inner,.court-booking .booking-studio {
  max-width:1200px;
  margin-inline:auto;
  padding-inline:32px;
}
.scheduler .calendar-column {min-width:0;align-self:start}
.scheduler .calendar-column .monthbar {margin-top:0}
.scheduler .slot-column {min-width:0}
.scheduler .slot-column .slot-toggle {
  display:inline-flex;align-items:center;gap:4px;padding:8px 0;
  background:transparent;border:0;color:#0D8D4E;font-size:13px;font-weight:650;
}
.slot-toggle[aria-expanded=true] svg {transform:rotate(180deg)}
@media(min-width:941px){
  .scheduler {align-items:start}
  .scheduler fieldset.slot-column:last-child {grid-column:2;grid-row:1;margin:0}
  .scheduler .calendar-column {position:sticky;top:16px}
}
@media(max-width:760px){
  .court-booking .header-inner,.court-booking .booking-studio {padding-inline:18px}
}

.service-card[aria-pressed="false"] .service-icon img[src="/football.svg"] {
  filter: brightness(0);
}
.party-fields {display:grid;gap:12px;margin-top:24px;border-top:1px solid var(--border);padding-top:22px}
.party-fields label {display:grid;gap:6px;font-size:14px;font-weight:600}
.party-fields label:has(input[type=checkbox]) {display:flex;align-items:center;gap:8px}
.party-fields input,.party-fields select {padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);accent-color:#0d8d4e}
.party-fields p,.party-fields small {margin:0;color:var(--muted)}
.booking-receipt {margin:22px 0}

.planner .party-fields {gap:24px;padding-top:36px;margin-top:36px}
.party-fields h2 {margin:0}
.formula-list {margin:0;padding:0;border:0;min-width:0;display:grid;gap:12px}
.formula-list legend {margin-bottom:14px;font-weight:600}
.party-fields .formula-card {display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px;border:1px solid var(--border);border-radius:16px;cursor:pointer}
.formula-card:has(:checked) {background:var(--selected);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.formula-card input {margin:0;width:18px;height:18px}
.formula-card strong,.formula-price {font-size:17px}
.formula-card small {display:block;margin-top:5px;font-weight:400;font-size:13px;line-height:1.5}
.formula-price {align-self:start;text-align:right;white-space:nowrap}
.party-options,.contact-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}
.party-options {align-items:center;background:var(--soft);padding:20px;border-radius:16px}
.party-options label,.contact-grid label {gap:9px}
.contact-grid input,.party-options input[type=number] {min-width:0;width:100%;min-height:46px;border-radius:10px;padding:10px 13px;font-size:16px}
.party-options input[type=checkbox] {width:18px;height:18px;flex:none}
@media(max-width:600px){.party-options,.contact-grid{grid-template-columns:1fr}.party-fields .formula-card{padding:16px;gap:10px}}

@media(min-width:601px){
  .party-options .extra-hour {align-self:end;min-height:46px;justify-content:center}
}

.venue-receipt {max-width:640px;margin:clamp(20px,5vw,72px) auto;padding:0;background:var(--surface);border:1px solid var(--border);border-radius:26px;overflow:hidden;box-shadow:0 12px 46px #15271e0d}
.venue-photo {height:clamp(155px,25vw,230px);padding:28px 32px;display:flex;flex-direction:column;justify-content:end;color:white;background:#103e2d linear-gradient(transparent,#001e12bb);background-image:linear-gradient(transparent,#001e12bb),url('/booking-football.jpg');background-position:center;background-size:cover}
.venue-photo span {font-size:1.65rem;font-weight:800;letter-spacing:-.055em}
.venue-body {padding:clamp(22px,5vw,40px)}
.venue-status {display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--border)}
.venue-status.paid {background:#0D8D4E;color:white}
.venue-body h1 {font-size:clamp(1.65rem,4vw,2.45rem);line-height:1.12;letter-spacing:-.045em;margin:16px 0 22px;font-weight:700}
.venue-payment {display:flex;align-items:center;justify-content:space-between;border-block:1px solid var(--border);padding:17px 0}
.venue-payment strong {font-size:1.3rem}
.venue-body .venue-back {display:inline-flex;align-items:center;min-height:44px;padding:0 21px;border-radius:99px;background:#0D8D4E;color:white;font-weight:650;margin:18px 0;text-decoration:none}
.venue-contact {text-align:left}
.venue-contact h2 {font-size:1.05rem;font-weight:700;margin:0 0 12px}
.venue-contact address {display:flex;flex-wrap:wrap;gap:12px 24px;font-style:normal}
.venue-contact a {display:inline-flex;align-items:center;gap:9px;color:inherit;font-size:.925rem}
.venue-contact a:hover {text-decoration:underline}
.venue-contact svg {width:17px;height:17px;color:#0D8D4E;flex:none}
.venue-body .venue-contact {border-top:1px solid var(--border);padding-top:22px}
.booking-footer {flex-wrap:wrap}
.booking-footer .venue-contact {width:100%;margin-bottom:14px}
@media(max-width:680px){.venue-receipt{margin:16px}.venue-contact address{flex-direction:column;align-items:start}}
.receipt-summary {margin:0 0 22px}
.receipt-summary h2 {font-size:1.1rem;margin-bottom:12px}
.receipt-summary dl {display:grid;gap:10px;margin:0}
.receipt-summary dl div {display:grid;grid-template-columns:minmax(6rem,1fr) 2fr;gap:12px}
.receipt-summary dd {margin:0;text-align:right;font-weight:600}
.receipt-summary dt,.receipt-actions,.receipt-actions a,.receipt-actions button {display:flex;align-items:center;gap:8px}
.receipt-summary dt svg,.receipt-football,.receipt-actions svg {display:block;width:17px;height:17px;color:#0D8D4E}
.receipt-football {mask:url('/football.svg') center/contain no-repeat;background:#0D8D4E}
.receipt-actions {flex-wrap:wrap;margin-top:16px}
.receipt-actions a,.receipt-actions button {color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:99px;padding:10px 15px;font:inherit;cursor:pointer;text-decoration:none}
@media print { .venue-receipt .receipt-actions,.venue-receipt .venue-back,.venue-receipt .venue-photo,nextjs-portal {display:none!important} .venue-receipt {margin:0 auto;box-shadow:none;border:0;color:#111;background:white} }

.receipt-copy {display:grid;gap:.75rem;margin:1rem 0;text-align:left}
.receipt-copy label {display:grid;gap:.4rem;font-weight:600}
.receipt-copy input {width:100%;padding:.7rem;border:1px solid #bfcac3;border-radius:.6rem}
.receipt-copy button {justify-self:start;background:#0D8D4E;color:white;padding:.65rem 1.15rem;border-radius:2rem}
@media print {.receipt-copy {display:none}}
