/* booking.css (11-07): the calendar + times picker on book.html. A NEW file on purpose: site.css and polish.css are not touched.
   Every colour, radius, border, hover and pressed state below is the one the page already uses for .bk-day / .bk-slot
   (tokens --bk-line-hi, --bk-glass, --bk-glass-hi, --bk-dim, --acc, --on-acc). The font stroke comes from polish.css (.bk-board *). */

/* two columns: the month on the left, that day's times on the right */
.bk-cal{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:28px 36px;align-items:start}
.bk-cal-main,.bk-cal-times{min-width:0}

/* month header: arrows are the page's own .bk-arrow (44x44) */
.bk-cal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0 0 12px}
.bk-cal-title,.bk-cal-th{margin:0;font:400 22px/1.1 var(--disp);letter-spacing:-.01em;word-spacing:.06em;text-transform:none;font-stretch:normal}
.bk-cal-title{flex:1;text-align:center}
.bk-cal-th{display:flex;flex-wrap:wrap;align-items:baseline;align-content:center;gap:2px 12px;min-height:44px;margin:0 0 12px}
.bk-cal-th .bk-note{font:500 16px/1.2 var(--body)}

/* weekday row + the 7-column grid of days */
.bk-cal-wd,.bk-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.bk-cal-wd{margin:0 0 6px;text-align:center}
.bk-cal-wd span{font:600 14px/1.2 var(--body);color:var(--bk-dim)}
.bk-cd{position:relative;display:grid;place-items:center;min-width:0;min-height:48px;padding:0;border-radius:14px;border:1.5px solid var(--bk-line-hi);background:var(--bk-glass);color:var(--txt);font:700 17px/1 var(--body);font-variant-numeric:tabular-nums;cursor:pointer;transition:background .25s,border-color .25s,color .25s,transform .35s var(--ease)}
.bk-cd[aria-pressed="true"]{background:var(--acc);border-color:var(--acc);color:var(--on-acc);animation:bk-lock .42s var(--ease)}
.bk-cd:disabled{cursor:not-allowed;border:1.5px dashed rgba(244,240,232,.2);background:repeating-linear-gradient(135deg,rgba(244,240,232,.07) 0 5px,transparent 5px 11px);color:rgba(244,240,232,.52)}
.bk-cd:focus-visible{outline:3px solid var(--acc);outline-offset:2px}
.bk-cd[aria-current="date"]::after{content:"";position:absolute;left:50%;bottom:6px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:currentColor}
.bk-cd-pad{min-height:48px;visibility:hidden}
@media (hover:hover){.bk-cd:not(:disabled):not([aria-pressed="true"]):hover{background:var(--bk-glass-hi);border-color:var(--acc);transform:translateY(-2px)}}
.bk-cd.is-skel{pointer-events:none;border-color:transparent;background:linear-gradient(100deg,rgba(255,255,255,.04) 30%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.04) 70%) 0 0/220% 100%;animation:bk-shimmer 1.3s linear infinite}
.bk-cal-hint{margin:12px 0 0;font-size:16px;line-height:1.45;color:var(--bk-dim)}

/* times: the page's own .bk-slot buttons, a few more to a row because the column is narrower than the old full-width grid */
.bk-cal-times .bk-slots{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}
.bk-cal-times .bk-group + .bk-group{margin-top:20px}
.bk-cal-times .bk-empty{padding:18px}
.bk-pick-hint{margin:0;color:var(--bk-dim);font-size:17px;line-height:1.45}

/* bookings paused in Northgate: one calm panel, no calendar, no ticket */
.bk-grid[data-state="paused"]{grid-template-columns:minmax(0,1fr)}
.bk-paused{display:grid;justify-items:start;gap:12px;padding:22px;border:1.5px dashed var(--bk-line-hi);border-radius:16px}
.bk-paused p{margin:0;font-size:18px;line-height:1.45}
.bk-paused h3{margin:0;font:400 24px/1.1 var(--disp);letter-spacing:-.01em;word-spacing:.06em;text-transform:none;font-stretch:normal}
.bk-paused a{color:var(--txt);text-decoration:underline;text-underline-offset:3px}

/* the optional block under the button: the state field no longer shares its row with email */
.bk-more .bk-row{grid-template-columns:minmax(0,1fr)}

@media (max-width:760px){
  .bk-cal{grid-template-columns:minmax(0,1fr)}
  .bk-cal-times .bk-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* phones: the month bleeds 8px into the panel padding so a day is 44px wide from 390px up */
@media (max-width:480px){
  .bk-cal-main{margin-inline:-8px}
  .bk-cal-wd,.bk-cal-grid{gap:3px}
  .bk-cd{min-height:46px;border-radius:12px;font-size:16.5px}
  .bk-cal-title,.bk-cal-th{font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  .bk-cd{transition:none}
  .bk-cd[aria-pressed="true"],.bk-cd.is-skel{animation:none}
  .bk-cd:not(:disabled):hover{transform:none}
}

/* 11-07 pass 5 (Colton): ONLY two things —
   (1) brighten the greyish weekday + hint typeface to a proper white
   (2) when a day or time is CLICKED (pressed), the tile fills orange but the text stays WHITE instead of going to the theme's dark on-acc colour.
   Tile backgrounds, borders, hover outline and all other states are LEFT ALONE — native glass + native orange hover outline remain as designed. */
.bk-cal .bk-cal-wd span,
.bk-cal .bk-cal-hint,
.bk-cal .bk-pick-hint{color:var(--txt);opacity:.95}
.bk-cal .bk-cal-wd span{font-weight:700}
.bk-cal .bk-cd[aria-pressed="true"],
.bk-cal-times .bk-slot[aria-pressed="true"]{color:#ffffff}
