/* Child City – vormid. Värvid tulevad teemast (CSS muutujad), siin on varuväärtused. */
.cc-ticket, .cc-booking, .cc-thanks, .cc-prices {
  --cc-ink: var(--cc-navy, #1E2A4A);
  --cc-accent: var(--cc-pink, #FF5C8A);
  --cc-accent-dark: var(--cc-pink-dark, #C2185B);
  --cc-sun: var(--cc-yellow, #FFC93C);
  --cc-soft: var(--cc-cream, #FFF3D1);
  --cc-line: #D5D9E6;
  --cc-muted: #5A6378;
  color: var(--cc-ink);
  font-family: inherit;
}
.cc-ticket, .cc-book-form, .cc-cal, .cc-thanks {
  background: #fff;
  border-radius: 36px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 20px 50px rgba(30, 42, 74, .12);
}
.cc-ticket { display: flex; flex-direction: column; gap: 22px; }
.cc-ticket fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cc-ticket fieldset:disabled { opacity: .45; }
.cc-ticket__title { margin: 0; font-size: 32px; font-weight: 900; }
.cc-field { display: flex; flex-direction: column; gap: 10px; }
.cc-label { font-weight: 900; font-size: 17px; }
.cc-label small { font-weight: 600; color: var(--cc-muted); font-size: 15px; }
.cc-input { min-height: 52px; border: 2px solid var(--cc-line); border-radius: 16px; padding: 10px 14px; font: inherit; font-weight: 700; color: var(--cc-ink); background: #fff; width: 100%; box-sizing: border-box; }
textarea.cc-input { min-height: 96px; }
.cc-input:focus, .cc-choice:focus-within, .cc-stepper__btn:focus-visible, .cc-btn:focus-visible, .cc-day:focus-visible, .cc-slot:focus-visible { outline: 3px solid var(--cc-accent); outline-offset: 2px; }

.cc-stepper { display: flex; align-items: center; gap: 14px; }
.cc-stepper__btn { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--cc-ink); background: #fff; color: var(--cc-ink); font: inherit; font-size: 26px; font-weight: 900; cursor: pointer; line-height: 1; }
.cc-stepper__btn--plus { background: var(--cc-sun); border-color: var(--cc-sun); }
.cc-stepper__val { min-width: 48px; text-align: center; font-size: 34px; font-weight: 900; }

.cc-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cc-choice { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 72px; padding: 8px; border: 3px solid var(--cc-line); border-radius: 20px; cursor: pointer; text-align: center; background: #fff; }
.cc-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cc-choice.is-on { background: var(--cc-sun); border-color: var(--cc-ink); }
.cc-choice__main { font-size: 19px; font-weight: 900; display: block; }
.cc-choice__sub { font-size: 14px; font-weight: 700; color: var(--cc-muted); display: block; }
.cc-choice.is-on .cc-choice__sub { color: var(--cc-ink); }
.cc-choice--row { flex-direction: row; justify-content: space-between; text-align: left; padding: 12px 18px; gap: 12px; }
.cc-choice--row b { font-size: 22px; font-weight: 900; white-space: nowrap; }
.cc-choice--row.is-on { background: var(--cc-soft); }
.cc-paychoice { display: flex; flex-direction: column; gap: 10px; }

.cc-checks { gap: 12px; }
.cc-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 700; line-height: 1.45; cursor: pointer; }
.cc-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cc-accent-dark); flex: none; }

.cc-total { background: var(--cc-soft); border-radius: 24px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-total__label { font-size: 17px; font-weight: 800; }
.cc-total__sum { font-size: 34px; font-weight: 900; }

.cc-btn--pay { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 28px; border-radius: 999px; border: 0; font: inherit; font-size: 19px; font-weight: 900; cursor: pointer; background: var(--cc-accent); color: #fff; box-shadow: 0 6px 0 var(--cc-accent-dark); width: 100%; }
.cc-btn--pay:disabled { background: #E3E5EC; color: var(--cc-muted); box-shadow: none; cursor: not-allowed; }
.cc-btn--pay.is-loading { opacity: .7; cursor: progress; }
.cc-note { margin: 0; font-size: 14px; color: var(--cc-muted); text-align: center; }

.cc-alert { border-radius: 18px; padding: 14px 18px; font-weight: 800; font-size: 16px; line-height: 1.5; }
.cc-alert--ok { background: #E7F8EC; color: #13542A; }
.cc-alert--warn { background: #FFE1EA; color: #8A1238; }
.cc-alert--muted { background: #EEF1F8; color: var(--cc-ink); }
.cc-alert--info { background: #E3EAFF; color: #1E2A4A; margin-bottom: 16px; }
.cc-error { background: #FFE1EA; color: #8A1238; border-radius: 14px; padding: 12px 16px; font-weight: 800; }

.cc-thanks { text-align: center; }
.cc-thanks h2 { margin: 0 0 12px; font-size: 30px; font-weight: 900; }
.cc-thanks__label { margin: 0; font-weight: 800; }
.cc-thanks__pin { margin: 8px 0 16px; font-size: 56px; font-weight: 900; letter-spacing: 4px; background: var(--cc-sun); border-radius: 24px; display: inline-block; padding: 8px 28px; }

/* Hinnakiri */
.cc-prices__label { font-weight: 900; color: var(--cc-accent-dark); text-transform: uppercase; letter-spacing: 2px; font-size: 14px; margin: 0 0 12px; }
.cc-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cc-price { border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.cc-price strong { font-size: 20px; font-weight: 900; }
.cc-price span { font-size: 16px; font-weight: 700; }
.cc-price s { font-size: 16px; color: var(--cc-muted); }
.cc-price b { font-size: 36px; font-weight: 900; color: var(--cc-accent-dark); }
.cc-price--0 { background: #FFF3D1; } .cc-price--1 { background: #FFE1EA; } .cc-price--2 { background: #D9F4F1; } .cc-price--3 { background: #E3EAFF; }

/* Kalender */
.cc-booking { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.cc-cal { display: flex; flex-direction: column; gap: 16px; }
.cc-cal__head { display: flex; justify-content: space-between; align-items: center; }
.cc-cal__title { font-size: 22px; font-weight: 900; text-transform: capitalize; }
.cc-cal__nav { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--cc-line); background: #fff; font: inherit; font-size: 22px; font-weight: 900; color: var(--cc-ink); cursor: pointer; }
.cc-cal__nav:disabled { opacity: .3; cursor: default; }
.cc-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cc-cal__dow span { text-align: center; font-weight: 900; font-size: 14px; color: var(--cc-muted); }
.cc-day { min-height: 48px; border: 0; border-radius: 14px; font: inherit; font-weight: 900; font-size: 17px; color: var(--cc-ink); cursor: pointer; background: transparent; }
.cc-day.is-free { background: #D9F4F1; }
.cc-day.is-partial { background: var(--cc-sun); }
.cc-day.is-full { background: #E3E5EC; color: var(--cc-muted); }
.cc-day.is-none, .cc-day:disabled { color: #A7ADBB; cursor: default; }
.cc-day.is-sel { outline: 3px solid var(--cc-ink); outline-offset: -3px; }
.cc-cal__legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 700; }
.cc-cal__legend span { display: flex; align-items: center; gap: 6px; }
.cc-cal__legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.cc-cal__legend .is-free { background: #D9F4F1; } .cc-cal__legend .is-partial { background: var(--cc-sun); } .cc-cal__legend .is-full { background: #E3E5EC; }
.cc-slots { border-top: 2px dashed #E6E2D8; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.cc-slots__title { font-size: 18px; font-weight: 900; }
.cc-slots__list { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-slot { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 3px solid var(--cc-line); background: #fff; font: inherit; font-weight: 900; color: var(--cc-ink); cursor: pointer; }
.cc-slot.is-sel { background: var(--cc-sun); border-color: var(--cc-ink); }
.cc-slot:disabled { background: #F3F4F7; color: var(--cc-muted); cursor: not-allowed; font-weight: 700; }
.cc-book-form { display: flex; flex-direction: column; gap: 16px; }
.cc-book-form h3 { margin: 0; font-size: 26px; font-weight: 900; }
.cc-book-form__chosen { margin: 0; font-weight: 800; background: var(--cc-soft); border-radius: 14px; padding: 10px 14px; align-self: flex-start; }
@media (min-width: 1000px) { .cc-booking { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
@media (max-width: 520px) { .cc-choices { grid-template-columns: minmax(0, 1fr); } .cc-thanks__pin { font-size: 40px; } }

/* Täna mängutoas */
.cc-today { background: #fff; border-radius: 24px; padding: 18px 20px; margin-top: 22px; box-shadow: 0 10px 30px rgba(30, 42, 74, .10); max-width: 560px; }
.cc-ticket-wrap .cc-today, .cc-content .cc-ticket ~ .cc-today { max-width: none; }
.cc-today__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; }
.cc-today__day { font-size: 19px; font-weight: 900; }
.cc-today__status { font-size: 14px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.cc-today__status--ok { background: #E7F8EC; color: #13542A; }
.cc-today__status--busy { background: #FFE1EA; color: #8A1238; }
.cc-today__status--muted { background: #EEF0F5; color: #3B4560; }
.cc-today__bar { position: relative; height: 16px; border-radius: 999px; background: #BDEDE8; margin: 14px 0 4px; overflow: hidden; }
.cc-today__busy { position: absolute; top: 0; bottom: 0; background: #FF5C8A; }
.cc-today__now { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1px; background: #1E2A4A; border-radius: 2px; }
.cc-today__scale { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #5A6378; }
.cc-today__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.cc-today__list li { display: flex; gap: 10px; align-items: baseline; }
.cc-today__list li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: #3CC2B5; transform: translateY(1px); }
.cc-today__list li.is-busy::before { background: #FF5C8A; }
.cc-today__list li.is-nosale { color: #5A6378; }
.cc-today__list li.is-nosale::before { background: #C9CEDA; }
.cc-today__list b { white-space: nowrap; }
.cc-today__note { margin: 10px 0 0; font-size: 13px; color: #5A6378; }
