/* Formularz rezerwacji — warstwa wizualna ograniczona do .nij-booking. */
.nij-booking {
  --booking-surface: #fff;
  --booking-surface-soft: #fbf8f1;
  --booking-surface-muted: #f5f1e8;
  --booking-ink: #0a0f1f;
  --booking-muted: #596174;
  --booking-line: rgba(10, 15, 31, .12);
  --booking-line-strong: rgba(10, 15, 31, .28);
  --booking-frame: rgba(57, 128, 190, .24);
  --booking-brand: #3980be;
  --booking-brand-hover: #1f4f7a;
  --booking-control: #1f4f7a;
  --booking-on-control: #fff;
  --booking-brand-soft: rgba(57, 128, 190, .14);
  --booking-brand-softer: rgba(57, 128, 190, .075);
  --booking-focus: rgba(57, 128, 190, .24);
  --booking-cta: #1f4f7a;
  --booking-cta-hover: #0a0f1f;
  --booking-on-cta: #fff;
  --booking-cta-detail: rgba(255, 255, 255, .12);
  --booking-error: #c9361c;
  --booking-error-soft: rgba(230, 62, 31, .08);
  --booking-shadow: 0 30px 72px -38px rgba(5, 8, 26, .48), 0 12px 30px -22px rgba(31, 79, 122, .28);
  --booking-card-shadow: 0 12px 26px -20px rgba(5, 8, 26, .44);
}

html[data-theme="dark"] .nij-booking {
  --booking-surface: #151e32;
  --booking-surface-soft: #11192b;
  --booking-surface-muted: #0b1120;
  --booking-ink: #f3f6fb;
  --booking-muted: #b4bfd1;
  --booking-line: rgba(255, 255, 255, .13);
  --booking-line-strong: rgba(143, 196, 238, .46);
  --booking-frame: rgba(143, 196, 238, .28);
  --booking-brand: #3980be;
  --booking-brand-hover: #4d91ca;
  --booking-control: #3980be;
  --booking-on-control: #0a0f1f;
  --booking-brand-soft: rgba(57, 128, 190, .25);
  --booking-brand-softer: rgba(57, 128, 190, .14);
  --booking-focus: rgba(111, 163, 208, .3);
  --booking-cta: #3980be;
  --booking-cta-hover: #4d91ca;
  --booking-on-cta: #0a0f1f;
  --booking-cta-detail: rgba(10, 15, 31, .12);
  --booking-error: #ff8a73;
  --booking-error-soft: rgba(255, 113, 84, .1);
  --booking-shadow: 0 28px 64px -34px rgba(0, 0, 0, .94), 0 0 0 1px rgba(143, 196, 238, .055);
  --booking-card-shadow: 0 14px 30px -22px rgba(0, 0, 0, .88);
}

/* Nie zmieniamy szerokości, max-width ani paddingów kontenera. */
#bookForm {
  position: relative;
  min-width: 0;
  color: var(--booking-ink);
  background: var(--booking-surface);
  border-color: var(--booking-frame);
  box-shadow: var(--booking-shadow);
  isolation: isolate;
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

#bookForm::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 1rem;
  left: 1rem;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--booking-brand);
  opacity: 1;
  pointer-events: none;
}

#bookForm fieldset,
#bookForm fieldset > *,
#bookForm [role="radiogroup"] > label > div,
#bookForm .nij-booking-summary > div > div {
  min-width: 0;
}

#bookForm [data-step] h2[tabindex="-1"]:focus { outline: 0; }

#bookForm [data-step] h2 {
  position: relative;
  padding-left: .8rem;
  letter-spacing: -.025em;
}

#bookForm [data-step] h2::before {
  content: "";
  position: absolute;
  top: .13em;
  bottom: .13em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--booking-brand);
  box-shadow: 0 0 0 3px var(--booking-brand-softer);
}

/* Pasek i stany kroków. */
.nij-booking-progress .nij-progress-track {
  position: relative;
  background: var(--booking-line);
  box-shadow: inset 0 1px 3px rgba(5, 8, 26, .18), 0 0 0 1px var(--booking-brand-softer);
}

.nij-booking-progress #progressBar {
  position: relative;
  background: linear-gradient(90deg, var(--booking-brand-hover), var(--booking-brand));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .24) inset, 0 5px 14px -5px var(--booking-brand);
  transition: width 480ms cubic-bezier(.22, .75, .24, 1), background-color 220ms ease;
}

.nij-booking-progress [data-step-label][aria-current="step"] { color: var(--booking-ink); }

.nij-booking-progress [data-progress-step] {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--booking-muted);
  opacity: .7;
  transition: color 220ms ease, opacity 220ms ease;
}

.nij-booking-progress [data-progress-step="2"] { justify-content: center; }
.nij-booking-progress [data-progress-step="3"] { justify-content: flex-end; }

.nij-booking-progress [data-progress-step]::before {
  content: "";
  display: grid;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  place-items: center;
  border: 1px solid var(--booking-line-strong);
  border-radius: 50%;
  background: var(--booking-surface-muted);
  font-size: 7px;
  line-height: 1;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.nij-booking-progress [data-progress-step].is-active {
  color: var(--booking-brand-hover);
  font-weight: 700;
  opacity: 1;
}

.nij-booking-progress [data-progress-step].is-active::before {
  border-color: var(--booking-brand);
  background: var(--booking-brand);
  box-shadow: 0 0 0 4px var(--booking-brand-soft);
}

html[data-theme="dark"] .nij-booking-progress [data-progress-step].is-active { color: #c7e3fa; }

.nij-booking-progress [data-progress-step].is-complete {
  color: var(--booking-brand-hover);
  opacity: 1;
}

.nij-booking-progress [data-progress-step].is-complete::before {
  content: "✓";
  border-color: var(--booking-control);
  background: var(--booking-control);
  color: var(--booking-on-control);
}

html[data-theme="dark"] .nij-booking-progress [data-progress-step].is-complete { color: #8fc4ee; }

.nij-progress-1 { width: 50%; }
.nij-progress-2 { width: 100%; }
.nij-progress-3,
.nij-progress-4 { width: 100%; }

/* Karty kursów. */
#bookForm [role="radiogroup"] > label {
  position: relative;
  overflow: hidden;
  border-color: var(--booking-line);
  background: var(--booking-surface-soft);
  box-shadow: var(--booking-card-shadow), inset 0 1px 0 rgba(255, 255, 255, .46);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

#bookForm [role="radiogroup"] > label::before {
  content: "";
  position: absolute;
  top: .7rem;
  bottom: .7rem;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--booking-brand);
  opacity: 0;
  transform: scaleY(.4);
  transition: opacity 190ms ease, transform 220ms ease;
}

html[data-theme="dark"] #bookForm [role="radiogroup"] > label {
  box-shadow: var(--booking-card-shadow), inset 0 1px 0 rgba(255, 255, 255, .035);
}

#bookForm [role="radiogroup"] > label:focus-within {
  border-color: var(--booking-brand);
  box-shadow: 0 0 0 4px var(--booking-focus), var(--booking-card-shadow);
}

#bookForm [role="radiogroup"] > label:has(input:checked) {
  border-color: var(--booking-control);
  background: var(--booking-brand-soft);
  box-shadow: 0 16px 34px -20px rgba(31, 79, 122, .72), 0 0 0 3px var(--booking-brand-softer), inset 0 1px 0 rgba(255, 255, 255, .42);
  transform: translateY(-1px);
}

#bookForm [role="radiogroup"] > label:has(input:checked)::before {
  opacity: 1;
  transform: scaleY(1);
}

#bookForm [role="radiogroup"] input[type="radio"] {
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: .15rem;
  appearance: none;
  place-items: center;
  border: 1.5px solid var(--booking-line-strong);
  border-radius: 50%;
  background: var(--booking-surface);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

#bookForm [role="radiogroup"] input[type="radio"]::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--booking-on-control);
  transform: scale(0);
  transition: transform 170ms cubic-bezier(.2, .8, .25, 1.25);
}

#bookForm [role="radiogroup"] input[type="radio"]:checked {
  border-color: var(--booking-control);
  background: var(--booking-control);
  box-shadow: 0 0 0 3px var(--booking-brand-soft);
}

#bookForm [role="radiogroup"] input[type="radio"]:checked::before { transform: scale(1); }

#bookForm [role="radiogroup"] input[type="radio"]:focus-visible { box-shadow: 0 0 0 4px var(--booking-focus); }

#bookForm [role="radiogroup"] > label > div > .font-bold.text-base {
  color: var(--booking-ink);
  letter-spacing: -.012em;
  font-size: 1.025rem;
  line-height: 1.3;
}

#bookForm [role="radiogroup"] > label > div > .text-sm {
  margin-top: .15rem;
  line-height: 1.4;
}

#bookForm [role="radiogroup"] > label > div > .mt-1\.5 {
  display: inline-flex;
  align-items: baseline;
  column-gap: .3rem;
  min-height: 1.7rem;
  padding: .16rem .55rem;
  border: 1px solid var(--booking-line);
  border-radius: 999px;
  color: var(--booking-ink);
  background: var(--booking-surface);
  box-shadow: 0 4px 10px -9px rgba(5, 8, 26, .65);
  letter-spacing: -.015em;
}

#bookForm [role="radiogroup"] > label:has(input:checked) > div > .mt-1\.5 {
  border-color: var(--booking-frame);
  color: var(--booking-brand-hover);
  background: var(--booking-surface);
}

html[data-theme="dark"] #bookForm [role="radiogroup"] > label:has(input:checked) > div > .mt-1\.5 { color: #c7e3fa; }

#bookForm .nij-popular-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .25);
  background: var(--booking-control);
  color: var(--booking-on-control);
  box-shadow: 0 5px 12px -8px rgba(31, 79, 122, .8);
  white-space: nowrap;
}

/* Pola, etykiety i walidacja. */
#bookForm label[for],
#bookForm > fieldset > div > span:first-child {
  color: var(--booking-ink);
  letter-spacing: -.005em;
}

#bookForm .field,
#bookForm select,
#bookForm textarea {
  color: var(--booking-ink);
  border-color: var(--booking-line-strong);
  background: var(--booking-surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .76) inset, 0 7px 16px -14px rgba(5, 8, 26, .58);
  caret-color: var(--booking-brand);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

html[data-theme="dark"] #bookForm .field,
html[data-theme="dark"] #bookForm select,
html[data-theme="dark"] #bookForm textarea {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .025) inset;
}

#bookForm .field:hover,
#bookForm select:hover,
#bookForm textarea:hover { border-color: var(--booking-line-strong); }

#bookForm .field:focus,
#bookForm .field:focus-visible,
#bookForm select:focus,
#bookForm textarea:focus {
  border-color: var(--booking-brand);
  background: var(--booking-surface);
  box-shadow: 0 0 0 4px var(--booking-focus), 0 10px 24px -15px rgba(31, 79, 122, .78);
  outline: 0;
  transform: none;
}

#bookForm .field::placeholder,
#bookForm textarea::placeholder {
  color: var(--booking-muted);
  opacity: .8;
}

#bookForm textarea.field {
  line-height: 1.55;
  resize: vertical;
}

#bookForm .field.nij-field-invalid,
#bookForm [aria-invalid="true"] {
  border-color: var(--booking-error);
  background: var(--booking-error-soft);
  box-shadow: 0 0 0 3px var(--booking-error-soft);
}

#bookForm .nij-field-error,
#bookForm .nij-radio-error {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  margin-top: .35rem;
  color: var(--booking-error);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

#bookForm .nij-field-error::before,
#bookForm .nij-radio-error::before {
  content: "!";
  display: grid;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}

/* Flatpickr — bez zmiany sposobu wyboru i zakresu dat. */
#bookForm .flatpickr-wrapper,
#bookForm .flatpickr-calendar.inline,
#bookForm .flatpickr-rContainer,
#bookForm .flatpickr-days,
#bookForm .dayContainer,
#bookForm .flatpickr-weekdays { width: 100%; }

#bookForm .flatpickr-calendar {
  max-width: 100%;
  color: var(--booking-ink);
  border: 1px solid var(--booking-line);
  border-radius: 14px;
  background: var(--booking-surface);
  box-shadow: 0 20px 44px -24px rgba(5, 8, 26, .38);
  font-family: inherit;
}

#bookForm .flatpickr-rContainer,
#bookForm .flatpickr-days { max-width: 100%; }

#bookForm .dayContainer {
  min-width: 0 !important;
  max-width: 100% !important;
}

#bookForm .flatpickr-day {
  max-width: none;
  color: var(--booking-ink);
  border-radius: 9px;
}

#bookForm .flatpickr-months .flatpickr-month,
#bookForm .flatpickr-weekdays,
#bookForm span.flatpickr-weekday {
  color: var(--booking-ink);
  background: var(--booking-surface);
}

#bookForm .flatpickr-current-month input.cur-year,
#bookForm .flatpickr-current-month .flatpickr-monthDropdown-months {
  color: var(--booking-ink);
  background: var(--booking-surface);
  font-weight: 650;
}

#bookForm .flatpickr-months .flatpickr-prev-month svg,
#bookForm .flatpickr-months .flatpickr-next-month svg { fill: var(--booking-ink); }

#bookForm .flatpickr-day:hover,
#bookForm .flatpickr-day:focus {
  border-color: var(--booking-brand-soft);
  background: var(--booking-brand-soft);
}

#bookForm .flatpickr-day.today { border-color: var(--booking-brand); }

#bookForm .flatpickr-day.selected,
#bookForm .flatpickr-day.selected:hover,
#bookForm .flatpickr-day.selected:focus {
  border-color: var(--booking-control);
  background: var(--booking-control);
  color: var(--booking-on-control);
  box-shadow: 0 5px 12px -7px var(--booking-brand);
}

#bookForm .flatpickr-day.flatpickr-disabled,
#bookForm .flatpickr-day.prevMonthDay,
#bookForm .flatpickr-day.nextMonthDay {
  color: var(--booking-muted);
  opacity: .42;
}

/* Wybór godziny. */
#timeChips {
  position: relative;
  gap: .45rem;
  padding: .5rem;
  border: 1px solid var(--booking-frame);
  border-radius: 18px;
  background: var(--booking-surface-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 12px 26px -24px rgba(31, 79, 122, .55);
}

html[data-theme="dark"] #timeChips {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 14px 28px -24px rgba(0, 0, 0, .9);
}

#timeChips > * { min-width: 0; }

#timeChips button[data-time] {
  position: relative;
  overflow: hidden;
  padding-right: .55rem;
  padding-left: 1.65rem;
  border-radius: 12px;
  color: var(--booking-ink);
  background: var(--booking-surface-soft);
  box-shadow: inset 0 0 0 1px var(--booking-line-strong), 0 6px 14px -12px rgba(5, 8, 26, .65);
  font-variant-numeric: tabular-nums;
  letter-spacing: .025em;
  transition: transform 170ms ease, color 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

#timeChips button[data-time]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: .65rem;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--booking-line-strong);
  border-radius: 50%;
  background: var(--booking-surface);
  transform: translateY(-50%);
  transition: border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

#timeChips button[data-time]::after {
  content: "";
  position: absolute;
  right: .55rem;
  bottom: 0;
  left: .55rem;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: var(--booking-on-cta);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity 170ms ease, transform 190ms ease;
}

#timeChips button[data-time]:focus-visible {
  box-shadow: 0 0 0 4px var(--booking-focus), inset 0 0 0 1px var(--booking-brand);
}

#timeChips button[data-time].bg-ink-900 {
  color: var(--booking-on-cta);
  background: var(--booking-cta);
  box-shadow: 0 12px 24px -13px var(--booking-cta), inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 3px var(--booking-brand-softer);
  transform: translateY(-2px);
}

#timeChips button[data-time].bg-ink-900::before {
  border-color: var(--booking-on-cta);
  background: var(--booking-on-cta);
  box-shadow: 0 0 0 3px var(--booking-cta-detail);
}

#timeChips button[data-time].bg-ink-900::after {
  opacity: .72;
  transform: scaleX(1);
}

#timeChips label[for="b-time-custom"] {
  position: relative;
  min-width: 0;
  border-radius: 12px;
}

#timeChips label[for="b-time-custom"] .flatpickr-wrapper {
  display: block;
  width: 100%;
  height: 100%;
}

#timeChips label[for="b-time-custom"]::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: .6rem;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--booking-line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}

#timeChips label[for="b-time-custom"]::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(50% - 4px);
  left: calc(.6rem + 6px);
  width: 4px;
  height: 5px;
  border-bottom: 1.5px solid var(--booking-muted);
  border-left: 1.5px solid var(--booking-muted);
  pointer-events: none;
  transition: border-color 170ms ease;
}

#b-time-custom {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding-right: .4rem;
  padding-left: 1.85rem;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
  text-align: center;
  cursor: pointer;
}

#b-time-custom::placeholder { color: var(--booking-muted); opacity: 1; }

#timeChips label[for="b-time-custom"]:focus-within::before,
#timeChips label[for="b-time-custom"].is-time-active::before {
  border-color: var(--booking-brand);
  box-shadow: 0 0 0 3px var(--booking-brand-soft);
}

#timeChips label[for="b-time-custom"]:focus-within::after,
#timeChips label[for="b-time-custom"].is-time-active::after {
  border-color: var(--booking-brand-hover);
}

#timeChips label[for="b-time-custom"].is-time-active #b-time-custom {
  border-color: var(--booking-brand);
  color: var(--booking-brand-hover);
  background: var(--booking-brand-soft);
  box-shadow: 0 0 0 3px var(--booking-brand-softer);
  font-weight: 700;
}

html[data-theme="dark"] #timeChips label[for="b-time-custom"].is-time-active #b-time-custom {
  color: #c7e3fa;
}

#bookForm .nij-time-picker-calendar {
  z-index: 40;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  width: 100%;
  min-width: 0;
  padding: .45rem;
  border-color: var(--booking-frame);
  border-radius: 14px;
  background: var(--booking-surface);
  box-shadow: 0 20px 42px -20px rgba(5, 8, 26, .52), 0 0 0 1px var(--booking-brand-softer);
}

#bookForm .nij-time-picker-calendar::before,
#bookForm .nij-time-picker-calendar::after { display: none; }

html[data-theme="dark"] #bookForm .nij-time-picker-calendar {
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .92), 0 0 0 1px var(--booking-brand-soft);
}

#bookForm .nij-time-picker-header {
  padding: .2rem .25rem .55rem;
  border-bottom: 1px solid var(--booking-line);
  text-align: left;
}

#bookForm .nij-time-picker-title {
  color: var(--booking-ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
}

#bookForm .nij-time-picker-hint {
  margin-top: .15rem;
  color: var(--booking-muted);
  font-size: .625rem;
  line-height: 1.2;
}

#bookForm .nij-time-picker-calendar .flatpickr-time {
  display: flex;
  align-items: center;
  height: 50px;
  max-height: 50px;
  margin-top: .45rem;
  border: 0;
  border-radius: 11px;
  background: var(--booking-surface-muted);
  box-shadow: inset 0 0 0 1px var(--booking-line);
}

#bookForm .nij-time-picker-calendar .numInputWrapper {
  height: 40px;
  border-radius: 9px;
  background: var(--booking-surface);
}

#bookForm .nij-time-picker-calendar .numInputWrapper:hover { background: var(--booking-brand-softer); }

#bookForm .nij-time-picker-calendar .flatpickr-time input {
  height: 40px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px;
  color: var(--booking-ink);
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

#bookForm .nij-time-picker-calendar .flatpickr-time .flatpickr-time-separator {
  width: auto;
  padding: 0 .2rem;
  color: var(--booking-brand);
  font-size: 1.1rem;
  font-weight: 800;
}

#bookForm .nij-time-picker-calendar .numInputWrapper span {
  width: 18px;
  border-color: var(--booking-line);
}

#bookForm .nij-time-picker-calendar .numInputWrapper span.arrowUp::after { border-bottom-color: var(--booking-muted); }
#bookForm .nij-time-picker-calendar .numInputWrapper span.arrowDown::after { border-top-color: var(--booking-muted); }

#bookForm .nij-time-picker-footer {
  display: flex;
  gap: .35rem;
  padding-top: .45rem;
}

#bookForm .nij-time-picker-clear,
#bookForm .nij-time-picker-done {
  flex: 1 1 0;
  width: auto;
  min-height: 34px;
  border-radius: 9px;
  font-size: .68rem;
  font-weight: 750;
  cursor: pointer;
}

#bookForm .nij-time-picker-clear {
  border: 1px solid var(--booking-line);
  color: var(--booking-muted);
  background: var(--booking-surface-soft);
}

#bookForm .nij-time-picker-done {
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--booking-on-cta);
  background: var(--booking-cta);
  box-shadow: 0 9px 18px -13px var(--booking-cta);
}

/* Przyciski i stopki kroków. */
#bookForm .nij-form-actions { border-color: var(--booking-line); }

#bookForm .nij-form-actions [data-next],
#bookForm .nij-form-actions button[type="submit"] {
  color: var(--booking-on-cta);
  background: var(--booking-cta);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 28px -15px var(--booking-cta), inset 0 1px 0 rgba(255, 255, 255, .18);
  white-space: nowrap;
  transition: transform 170ms ease, box-shadow 200ms ease, background-color 200ms ease, opacity 180ms ease;
}

#bookForm .nij-form-actions [data-back] {
  color: var(--booking-muted);
  border: 1px solid var(--booking-line);
  background: var(--booking-surface-soft);
  white-space: nowrap;
  transition: transform 170ms ease, color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

#bookForm .nij-form-actions button[type="submit"]:not(.bk2-submit) > span {
  color: var(--booking-on-cta);
  background: var(--booking-cta-detail);
  box-shadow: inset 0 0 0 1px var(--booking-cta-detail);
}

#bookForm button:not(:disabled):active { transform: translateY(1px) scale(.98); }

#bookForm button:disabled {
  cursor: not-allowed;
  opacity: .52;
  box-shadow: none;
}

#bookForm button.nij-submitting::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-right-color: currentColor;
  border-radius: 50%;
  animation: nij-booking-spin .7s linear infinite;
}

@keyframes nij-booking-spin { to { transform: rotate(360deg); } }

/* Podsumowanie i zgody. */
#bookForm .nij-booking-summary {
  border: 1px solid var(--booking-frame);
  background: var(--booking-surface-soft);
  box-shadow: 0 16px 34px -24px rgba(31, 79, 122, .34), inset 0 1px 0 rgba(255, 255, 255, .52);
  overflow: hidden;
}

html[data-theme="dark"] #bookForm .nij-booking-summary {
  box-shadow: 0 14px 30px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .025);
}

#bookForm .nij-booking-summary > div {
  position: relative;
  border-color: var(--booking-line);
}

#bookForm .nij-booking-summary > div::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--booking-brand);
  opacity: .62;
}

#bookForm .nij-booking-summary [data-summary] {
  color: var(--booking-ink);
  overflow-wrap: anywhere;
}

#bookForm .nij-booking-summary [data-goto] {
  flex: 0 0 auto;
  padding: .3rem .55rem;
  border-radius: 999px;
  color: var(--booking-brand-hover);
  background: var(--booking-brand-soft);
  text-decoration: none;
}

html[data-theme="dark"] #bookForm .nij-booking-summary [data-goto] { color: #c7e3fa; }

#bookForm .nij-booking-trust {
  border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(135deg, #0a0f1f 0%, #1f4f7a 100%);
  box-shadow: 0 18px 34px -21px rgba(31, 79, 122, .65), inset 0 1px 0 rgba(255, 255, 255, .11);
}

#bookForm .nij-booking-trust .text-lime-400 { color: #8fc4ee; }

#bookForm .nij-booking-trust > div > div:first-child { white-space: nowrap; }

#bookForm .nij-booking-consents {
  border: 1px solid var(--booking-frame);
  background: var(--booking-surface-soft);
  box-shadow: inset 0 3px 0 var(--booking-brand), inset 0 1px 0 rgba(255, 255, 255, .36);
}

html[data-theme="dark"] #bookForm .nij-booking-consents {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

#bookForm .nij-booking-consents legend {
  color: var(--booking-muted);
  background: var(--booking-surface-muted);
}

#bookForm .nij-booking-consents label {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: start;
  column-gap: .7rem;
  row-gap: .2rem;
  padding: .3rem .35rem;
  border-radius: 10px;
  line-height: 1.45;
  transition: background-color 170ms ease;
}

#bookForm .nij-booking-consents input[type="checkbox"] {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  height: 18px;
  margin: .08rem 0 0;
  appearance: none;
  place-items: center;
  border: 1.5px solid var(--booking-line-strong);
  border-radius: 5px;
  background: var(--booking-surface);
  cursor: pointer;
  transition: border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

#bookForm .nij-booking-consents input[type="checkbox"]::before {
  content: "";
  width: 8px;
  height: 5px;
  margin-top: -2px;
  border-bottom: 2px solid var(--booking-on-control);
  border-left: 2px solid var(--booking-on-control);
  transform: rotate(-45deg) scale(0);
  transition: transform 160ms cubic-bezier(.2, .8, .25, 1.25);
}

#bookForm .nij-booking-consents input[type="checkbox"]:checked {
  border-color: var(--booking-control);
  background: var(--booking-control);
  box-shadow: 0 0 0 3px var(--booking-brand-soft);
}

#bookForm .nij-booking-consents input[type="checkbox"]:checked::before { transform: rotate(-45deg) scale(1); }

#bookForm .nij-booking-consents input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 4px var(--booking-focus); }

#bookForm .nij-booking-consents label > span {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

#bookForm .nij-booking-consents label > .nij-field-error {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

#bookForm .nij-booking-consents label:has(input[aria-invalid="true"]) { background: var(--booking-error-soft); }

#bookForm .nij-booking-consents a {
  color: var(--booking-ink);
  text-decoration-color: var(--booking-line-strong);
  text-underline-offset: 3px;
}

/* Ekran sukcesu i bloki pomocnicze. */
#bookForm .nij-booking-success > div:first-child {
  background: var(--booking-control);
  box-shadow: 0 0 0 8px var(--booking-brand-soft), 0 16px 28px -18px var(--booking-brand);
  animation: nij-success-in 420ms cubic-bezier(.2, .8, .25, 1.2) both;
}

#bookForm .nij-booking-success h2 { padding-left: 0; }
#bookForm .nij-booking-success h2::before { display: none; }

#bookForm .nij-booking-success > div:first-child svg { stroke: var(--booking-on-control); }

#bookForm .nij-booking-success > .mt-8 {
  border: 1px solid var(--booking-line);
  background: var(--booking-surface-soft);
  box-shadow: 0 14px 30px -25px rgba(5, 8, 26, .46);
}

#bookForm .nij-booking-success ol span {
  color: var(--booking-on-control);
  background: var(--booking-control);
}

@keyframes nij-success-in {
  from { opacity: 0; transform: scale(.78); }
  to { opacity: 1; transform: scale(1); }
}

.nij-booking-helpers > div {
  border: 1px solid var(--booking-frame);
  background: var(--booking-surface-soft);
  box-shadow: 0 13px 28px -22px rgba(31, 79, 122, .38), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

html[data-theme="dark"] .nij-booking-helpers > div {
  box-shadow: 0 12px 26px -22px rgba(0, 0, 0, .88), inset 0 1px 0 rgba(255, 255, 255, .025);
}

.nij-booking-helpers > div > span { box-shadow: inset 0 0 0 1px var(--booking-line); }

/* Przejścia kreatora. */
.nij-step-enter-forward { animation: nij-step-forward 340ms cubic-bezier(.2, .78, .25, 1) both; }
.nij-step-enter-back { animation: nij-step-back 300ms cubic-bezier(.2, .78, .25, 1) both; }
[data-step="3"].nij-step-enter-forward [data-summary] { animation: nij-summary-reveal 400ms 70ms both ease-out; }

@keyframes nij-step-forward {
  from { opacity: 0; transform: translateX(14px) translateY(3px); }
  to { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes nij-step-back {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes nij-summary-reveal {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) {
  #bookForm [role="radiogroup"] > label:hover {
    border-color: var(--booking-line-strong);
    box-shadow: 0 14px 28px -22px rgba(5, 8, 26, .52), inset 0 1px 0 rgba(255, 255, 255, .45);
    transform: translateY(-2px);
  }

  #bookForm [role="radiogroup"] > label:has(input:checked):hover {
    border-color: var(--booking-brand);
    box-shadow: 0 16px 30px -20px rgba(31, 79, 122, .7), 0 0 0 3px var(--booking-brand-softer);
  }

  #timeChips button[data-time]:hover {
    color: var(--booking-brand-hover);
    box-shadow: inset 0 0 0 1px var(--booking-brand), 0 8px 16px -13px var(--booking-brand);
    transform: translateY(-1px);
  }

  #timeChips label[for="b-time-custom"]:hover #b-time-custom {
    border-color: var(--booking-brand);
    box-shadow: 0 8px 18px -15px var(--booking-brand);
  }

  #timeChips button[data-time].bg-ink-900:hover { color: var(--booking-on-cta); }

  #bookForm .nij-form-actions [data-next]:hover,
  #bookForm .nij-form-actions button[type="submit"]:hover {
    background: var(--booking-cta-hover);
    box-shadow: 0 14px 28px -16px var(--booking-cta), inset 0 1px 0 rgba(255, 255, 255, .16);
    transform: translateY(-1px);
  }

  #bookForm .nij-form-actions [data-back]:hover {
    color: var(--booking-ink);
    border-color: var(--booking-line);
    background: var(--booking-surface-soft);
  }

  #bookForm .nij-booking-summary > div:hover { background: var(--booking-brand-softer); }
  #bookForm .nij-booking-consents label:hover { background: var(--booking-brand-softer); }

  .nij-booking-helpers > div:hover {
    border-color: var(--booking-line-strong);
    box-shadow: 0 14px 28px -22px rgba(31, 79, 122, .42);
  }
}

@media (max-width: 639px) {
  #bookForm .field,
  #bookForm select,
  #bookForm textarea { font-size: 16px; }

  #b-time-custom { padding-right: .3rem; padding-left: 1.75rem; }

  #timeChips label[for="b-time-custom"] { grid-column: span 2 / span 2; }

  #timeChips button[data-time] {
    padding-right: .35rem;
    padding-left: 1.45rem;
  }

  #timeChips button[data-time]::before { left: .5rem; }

  #bookForm .nij-booking-trust > div > div:first-child { font-size: 1.25rem; }

  #bookForm [role="radiogroup"] > label > div > .flex {
    flex-wrap: wrap;
    row-gap: .25rem;
  }

  .nij-step-enter-forward,
  .nij-step-enter-back { animation-name: nij-step-mobile; }

  @keyframes nij-step-mobile {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 430px) {
  #bookForm .nij-form-actions { gap: .375rem; }
  #bookForm .nij-form-actions [data-back] { padding-right: .5rem; padding-left: .5rem; }
  #bookForm .nij-form-actions [data-next] { padding-right: .9rem; padding-left: .9rem; }

  #bookForm .nij-form-actions button[type="submit"] {
    gap: .375rem;
    padding-right: .375rem;
    padding-left: 1rem;
    font-size: .875rem;
  }

  #bookForm .nij-form-actions button[type="submit"] > span {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 374px) {
  .nij-booking-progress [data-progress-step] { gap: 0; }
  .nij-booking-progress [data-progress-step]::before { display: none; }
}

@media (max-width: 339px) {
  #bookForm .nij-form-actions--submit button[type="submit"] {
    padding-right: .75rem;
    padding-left: .75rem;
    font-size: .8125rem;
  }

  #bookForm .nij-form-actions--submit button[type="submit"]:not(.bk2-submit) > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #bookForm *,
  .nij-booking-progress *,
  .nij-booking-helpers * {
    scroll-behavior: auto;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  #bookForm [role="radiogroup"] > label,
  #timeChips button[data-time],
  #bookForm button { transform: none !important; }
}

/* Refined booking surfaces, quieter selection cards and a clearer stepper. */
.nij-booking{--booking-surface:#fff;--booking-surface-soft:#f7f9fc;--booking-surface-muted:#f0f5fa;--booking-brand-soft:#edf5fc;--booking-brand-softer:#f4f8fc;--booking-frame:#dce5ee;--booking-line:#dce5ee;--booking-line-strong:#b4c7da;--booking-ink:#172a3e;--booking-muted:#536579;--booking-control:#245f8e;--booking-on-control:#fff;--booking-cta:#245f8e;--booking-cta-hover:#194c75;--booking-on-cta:#fff;--booking-shadow:0 20px 65px -28px #183e6138;--booking-card-shadow:none;padding-bottom:80px;background:radial-gradient(ellipse at 50% 0%,#dfedfa88,transparent 60%)}
html[data-theme="dark"] .nij-booking{--booking-surface:#111e30;--booking-surface-soft:#14243a;--booking-surface-muted:#0b1626;--booking-brand-soft:#19354f;--booking-brand-softer:#162c43;--booking-frame:#2c4058;--booking-line:#2c4058;--booking-line-strong:#58728d;--booking-ink:#f0f5fc;--booking-muted:#b3c3d7;--booking-control:#a4d5fb;--booking-on-control:#0b2034;--booking-cta:#a4d5fb;--booking-cta-hover:#c4e5ff;--booking-on-cta:#0b2034;--booking-shadow:0 24px 70px -24px #0009;--booking-card-shadow:none;background:radial-gradient(ellipse at 50% 0%,#19354f77,transparent 60%)}
.nij-booking>.max-w-3xl{max-width:880px}
.nij-booking .booking-kicker{display:block;font-size:10px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;color:var(--booking-muted);margin:12px 0}
.nij-booking h1{letter-spacing:-.045em;font-weight:600}
.nij-booking .booking-reassurance{display:flex;justify-content:center;gap:10px 24px;flex-wrap:wrap;font-size:12px;color:var(--booking-muted);margin-top:20px}
.nij-booking .booking-reassurance span{display:inline-flex;align-items:center;gap:7px}
.nij-booking .booking-reassurance span:before{content:'✓';color:var(--booking-control);font-weight:700}
#bookForm{border-radius:24px;padding:32px}
#bookForm:before{left:32px;right:auto;width:56px;height:3px}
#bookForm [data-step] h2{padding-left:0;font-size:23px;font-weight:600;letter-spacing:-.035em}
#bookForm [data-step] h2:before{display:none}
#bookForm [role="radiogroup"]{gap:12px}
#bookForm [role="radiogroup"]>label{padding:20px;border-radius:16px;border-width:1px;box-shadow:none;background:var(--booking-surface-soft);min-height:140px;transform:none}
#bookForm [role="radiogroup"]>label:has(input:checked){background:var(--booking-brand-soft);box-shadow:0 0 0 1px var(--booking-control);transform:none;border-color:var(--booking-control)}
#bookForm [role="radiogroup"]>label:before{display:none}
#bookForm [role="radiogroup"]>label:hover{transform:none;box-shadow:none;border-color:var(--booking-control)}
#bookForm [role="radiogroup"]>label>div>.mt-1\.5{border:0;background:transparent;box-shadow:none;padding:6px 0 0;border-radius:0;font-size:21px}
html[data-theme="dark"] #bookForm [role="radiogroup"]>label{box-shadow:none}
#bookForm [role="radiogroup"]>label>div>.flex{flex-wrap:wrap;gap:6px}
#bookForm .nij-popular-badge{font-size:8px;letter-spacing:.04em;padding:3px 7px;box-shadow:none;background:var(--booking-control);color:var(--booking-on-control)}
#bookForm .nij-form-actions{margin-top:6px;border-color:var(--booking-line);padding-top:22px}
#bookForm .nij-form-actions [data-next],#bookForm .nij-form-actions button[type="submit"]{border-radius:12px;background:var(--booking-cta);color:var(--booking-on-cta);box-shadow:none}
#bookForm .nij-form-actions [data-next]:hover,#bookForm .nij-form-actions button[type="submit"]:hover{background:var(--booking-cta-hover);transform:none;box-shadow:none}
#bookForm .field,#bookForm textarea,#bookForm select{background:var(--booking-surface-soft);border-radius:12px;border-color:var(--booking-line);box-shadow:none}
html[data-theme="dark"] #bookForm .field,html[data-theme="dark"] #bookForm textarea,html[data-theme="dark"] #bookForm select{background:var(--booking-surface-muted);color:var(--booking-ink);border-color:var(--booking-line)}
.nij-booking-progress{padding:20px 24px;background:var(--booking-surface);border:1px solid var(--booking-line);border-radius:18px;margin-bottom:20px}
.nij-booking-progress .nij-progress-track{height:4px;box-shadow:none;margin:16px 0}
.nij-booking-progress [data-progress-step]{opacity:1;font-size:12px;gap:8px}
.nij-booking-progress [data-progress-step]:before{flex:0 0 24px;width:24px;height:24px;font-size:10px;font-weight:650;border-color:var(--booking-line);color:var(--booking-muted);box-shadow:none}
.nij-booking-progress [data-progress-step="1"]:before{content:'01'}
.nij-booking-progress [data-progress-step="2"]:before{content:'02'}
.nij-booking-progress [data-progress-step="3"]:before{content:'03'}
.nij-booking-progress [data-progress-step].is-active:before,.nij-booking-progress [data-progress-step].is-complete:before{background:var(--booking-control);border-color:var(--booking-control);color:var(--booking-on-control);box-shadow:none}
.nij-booking-progress [data-progress-step].is-complete:before{content:'✓'}
#bookForm .nij-booking-summary{background:var(--booking-surface-soft);border:1px solid var(--booking-line);box-shadow:none}
#bookForm .nij-booking-consents{background:var(--booking-surface-soft);border:1px solid var(--booking-line)}
@media(max-width:639px){.nij-booking{padding-top:28px}.nij-booking h1{font-size:34px}#bookForm{padding:22px 18px;border-radius:20px}#bookForm:before{left:18px}#bookForm [role="radiogroup"]>label{padding:16px;min-height:118px}.nij-booking-progress{padding:16px}.nij-booking-progress [data-progress-step]{font-size:10px;gap:5px}.nij-booking-progress [data-progress-step]:before{display:grid;flex-basis:22px;width:22px;height:22px;font-size:9px}.nij-booking .booking-reassurance{gap:8px 16px;font-size:11px}#bookForm [data-step] h2{font-size:22px}}
#bookForm [role="radiogroup"]>label:has(input:checked)>div>.mt-1\.5{background:transparent;border:0;box-shadow:none}

/* Pasek "Wybrany kurs" na kroku z danymi */
.nij-picked-course{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem .9rem 1.1rem;border-radius:1.1rem;background:#eef5fb;box-shadow:inset 0 0 0 1.5px rgba(57,128,190,.35)}
.nij-picked-course[hidden]{display:none}
.nij-picked-course__info{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.nij-picked-course__label{font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#2a6aa3}
.nij-picked-course__info strong{font-size:1.05rem;color:#0a0f1f}
.nij-picked-course__meta{font-size:.85rem;color:#3a4264}
.nij-picked-course__meta:empty{display:none}
.nij-picked-course__change{flex:none;min-height:40px;padding:.45rem 1rem;border-radius:999px;border:0;background:#fff;color:#0a0f1f;font-weight:700;font-size:.85rem;cursor:pointer;box-shadow:inset 0 0 0 1.5px rgba(10,15,31,.14)}
.nij-picked-course__change:hover{box-shadow:inset 0 0 0 1.5px #3980be;color:#1f4f7a}
html[data-theme="dark"] .nij-picked-course{background:rgba(57,128,190,.14);box-shadow:inset 0 0 0 1.5px rgba(111,163,208,.4)}
html[data-theme="dark"] .nij-picked-course__info strong{color:#f5f1e8}
html[data-theme="dark"] .nij-picked-course__meta{color:rgba(245,241,232,.72)}
html[data-theme="dark"] .nij-picked-course__label{color:#8fc4ee}
html[data-theme="dark"] .nij-picked-course__change{background:#16233a;color:#f5f1e8;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.18)}

/* ===== Rezerwacja v2: prościej i ładniej ===== */
.nij-booking{position:relative;overflow:hidden;isolation:isolate}
.nij-booking > .max-w-3xl{position:relative;z-index:1}
.booking-heading h1{letter-spacing:-.03em}
.booking-heading p{max-width:34rem;margin-left:auto;margin-right:auto}

/* Postęp wewnątrz karty formularza (bez osobnego pudełka) */
#bookForm .nij-booking-progress{padding:0;margin:0 0 1.6rem;background:none;border:0;border-radius:0;box-shadow:none}
#bookForm .nij-booking-progress .nij-progress-track{margin:.7rem 0 .6rem;height:4px}
#bookForm .nij-booking-progress [data-progress-step="2"]{justify-content:flex-end}

/* Karty kursów: czytelniej, cena wyraźna, "Nie wiem" jako subtelna opcja */
#bookForm [role="radiogroup"]{gap:.7rem}
#bookForm [role="radiogroup"] > label{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background-color .18s ease}
#bookForm [role="radiogroup"] > label:hover{transform:translateY(-1px)}
#bookForm [role="radiogroup"] > label:has(input[value="nie-wiem"]){border-style:dashed;background:transparent}
#bookForm [role="radiogroup"] > label:has(input[value="nie-wiem"]) .text-sm{margin-top:0}

/* Krok 1: podpowiedź zamiast dużego "Dalej" */
#bookForm [data-step="1"] .nij-form-actions{border-top:0;padding-top:.25rem}
#bookForm [data-step="1"] [data-next]{background:transparent;color:var(--booking-ink);box-shadow:inset 0 0 0 1.5px var(--booking-line);height:44px;min-height:44px;padding:0 1.1rem;font-size:.9rem}
#bookForm [data-step="1"] [data-next]:hover{box-shadow:inset 0 0 0 1.5px #3980be;color:#1f4f7a;background:transparent}
html[data-theme="dark"] #bookForm [data-step="1"] [data-next]{color:#f5f1e8}

/* Jedna linia informacji pod formularzem */
.nij-booking-facts{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.4rem;margin:1.6rem 0 0;padding:0;font-size:.82rem;color:var(--booking-muted)}
.nij-booking-facts li{display:inline-flex;align-items:center;gap:.45rem}
.nij-booking-facts svg{width:16px;height:16px;flex:none;color:#3980be}
@media (max-width:639px){.nij-booking-facts{flex-direction:column;align-items:flex-start;gap:.55rem;padding:0 .4rem}}

/* Tło: zarysy znaków drogowych, delikatnie wtopione po bokach */
.nij-booking > .nij-signs-bg{position:absolute;inset:0;z-index:0;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,#000 0,#000 22%,transparent 38%,transparent 62%,#000 78%,#000 100%);mask-image:linear-gradient(90deg,#000 0,#000 22%,transparent 38%,transparent 62%,#000 78%,#000 100%)}
.nij-signs-bg svg{position:absolute;fill:none;stroke:#0a0f1f;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;opacity:.09}
.nij-signs-bg text{fill:#0a0f1f;stroke:none;font:700 26px/1 "Space Grotesk",system-ui,sans-serif}
.nij-signs-bg .s1{width:210px;left:4%;top:6%;transform:rotate(-9deg)}
.nij-signs-bg .s2{width:170px;right:6%;top:9%;transform:rotate(8deg)}
.nij-signs-bg .s3{width:150px;left:9%;top:46%;transform:rotate(12deg)}
.nij-signs-bg .s4{width:160px;right:9%;top:44%;transform:rotate(-6deg)}
.nij-signs-bg .s5{width:130px;left:3%;bottom:6%;transform:rotate(-14deg)}
.nij-signs-bg .s6{width:150px;right:4%;bottom:8%;transform:rotate(10deg)}
@media (max-width:1100px){.nij-signs-bg .s3,.nij-signs-bg .s4{display:none}.nij-signs-bg svg{opacity:.055}}
@media (max-width:639px){
  .nij-signs-bg{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 20%,transparent 34%);mask-image:linear-gradient(180deg,#000 0,#000 20%,transparent 34%)}
  .nij-signs-bg .s1{width:120px;left:-28px;top:2%}
  .nij-signs-bg .s2{width:100px;right:-20px;top:3%}
  .nij-signs-bg .s5,.nij-signs-bg .s6{display:none}
}
html[data-theme="dark"] .nij-signs-bg svg{stroke:#f5f1e8;opacity:.06}
html[data-theme="dark"] .nij-signs-bg text{fill:#f5f1e8}

/* ===== Wybór kursu: interaktywne karty ===== */
.ccards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
@media (max-width:860px){.ccards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:440px){.ccards{grid-template-columns:1fr;gap:.6rem}}
.ccard{position:relative;display:block;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ccard input{position:absolute;opacity:0;width:1px;height:1px}
.ccard__body{position:relative;display:flex;flex-direction:column;height:100%;padding:1rem 1rem .9rem;border-radius:1.25rem;background:var(--booking-surface,#fff);
  box-shadow:inset 0 0 0 1.5px var(--booking-line,rgba(10,15,31,.12)),0 1px 2px rgba(10,15,31,.04);
  transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease,background-color .25s ease}
.ccard:hover .ccard__body{transform:translateY(-4px);box-shadow:inset 0 0 0 1.5px rgba(57,128,190,.55),0 18px 34px -22px rgba(10,15,31,.45)}
.ccard input:focus-visible + .ccard__body{outline:3px solid #8fc4ee;outline-offset:3px}
.ccard__top{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}
.ccard__icon{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.85rem;background:#eaf3fb;color:#2a6aa3;transition:background-color .25s ease,color .25s ease,transform .35s cubic-bezier(.34,1.56,.64,1)}
.ccard__icon svg{width:1.3rem;height:1.3rem}
.ccard:hover .ccard__icon{transform:rotate(-6deg) scale(1.06)}
.ccard__badge{padding:.2rem .55rem;border-radius:999px;background:#3980be;color:#fff;font-size:.6rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ccard__check{margin-left:auto;display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--booking-line,rgba(10,15,31,.15));transition:background-color .25s ease,box-shadow .25s ease,transform .35s cubic-bezier(.34,1.56,.64,1)}
.ccard__check svg{width:1rem;height:1rem;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ccard__tick{stroke-dasharray:20;stroke-dashoffset:20;transition:stroke-dashoffset .35s ease .08s}
.ccard__title{font:700 1rem/1.25 "Space Grotesk",system-ui,sans-serif;color:var(--booking-ink,#0a0f1f)}
.ccard__desc{margin-top:.3rem;font-size:.8rem;line-height:1.45;color:var(--booking-muted,#596174)}
.ccard__foot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:auto;padding-top:.8rem}
.ccard__tag{padding:.2rem .55rem;border-radius:999px;background:rgba(10,15,31,.05);color:var(--booking-muted,#596174);font-size:.7rem;font-weight:700;white-space:nowrap}
.ccard__price{font:700 .95rem/1 "Space Grotesk",system-ui,sans-serif;color:var(--booking-ink,#0a0f1f);white-space:nowrap}
.ccard__price b{font-weight:700}
.ccard__old{margin-right:.3rem;font-size:.75rem;color:#9aa3b2}
.ccard__old.hidden{display:none}
/* Stan wybrany */
.ccard input:checked + .ccard__body{background:linear-gradient(170deg,#eef6fd,#fff 60%);box-shadow:inset 0 0 0 2px #3980be,0 18px 34px -22px rgba(57,128,190,.65)}
.ccard input:checked + .ccard__body .ccard__icon{background:#3980be;color:#fff}
.ccard input:checked + .ccard__body .ccard__check{background:#3980be;box-shadow:0 6px 14px -6px rgba(57,128,190,.9);transform:scale(1.08)}
.ccard input:checked + .ccard__body .ccard__tick{stroke-dashoffset:0}
/* Sprężyste kliknięcie */
.ccard.is-pop .ccard__body{animation:ccard-pop .5s cubic-bezier(.34,1.56,.64,1)}
@keyframes ccard-pop{0%{transform:translateY(-4px) scale(1)}25%{transform:translateY(0) scale(.95)}60%{transform:translateY(-6px) scale(1.03)}100%{transform:translateY(-4px) scale(1)}}
/* Przejście między krokami: obecny w lewo i zanika, następny wsuwa się z prawej */
.nij-step-leave{animation:nij-step-leave .26s cubic-bezier(.4,0,1,1) forwards;pointer-events:none}
@keyframes nij-step-leave{to{opacity:0;transform:translateX(-36px)}}
.nij-step-enter-forward{animation:nij-step-in-r .42s cubic-bezier(.2,.8,.2,1) both!important}
.nij-step-enter-back{animation:nij-step-in-l .38s cubic-bezier(.2,.8,.2,1) both!important}
@keyframes nij-step-in-r{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:none}}
@keyframes nij-step-in-l{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ccard__body,.ccard__icon,.ccard__check,.ccard__tick{transition:none}.ccard.is-pop .ccard__body,.nij-step-leave,.nij-step-enter-forward,.nij-step-enter-back{animation:none!important}.ccard:hover .ccard__body{transform:none}}
html[data-theme="dark"] .ccard__body{background:#111a2e;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.1)}
html[data-theme="dark"] .ccard:hover .ccard__body{box-shadow:inset 0 0 0 1.5px rgba(111,168,219,.6),0 18px 34px -22px rgba(0,0,0,.8)}
html[data-theme="dark"] .ccard__icon{background:rgba(57,128,190,.2);color:#8fc4ee}
html[data-theme="dark"] .ccard__title,html[data-theme="dark"] .ccard__price{color:#f5f1e8}
html[data-theme="dark"] .ccard__desc{color:rgba(245,241,232,.62)}
html[data-theme="dark"] .ccard__tag{background:rgba(255,255,255,.07);color:rgba(245,241,232,.7)}
html[data-theme="dark"] .ccard__check{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.2)}
html[data-theme="dark"] .ccard input:checked + .ccard__body{background:linear-gradient(170deg,#16304d,#111a2e 65%);box-shadow:inset 0 0 0 2px #6fa8db,0 18px 34px -22px rgba(0,0,0,.8)}
/* Neutralizacja starych stylów listy radio dla kart */
#bookForm .ccards > label.ccard{display:block!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0!important;transform:none}
#bookForm .ccards > label.ccard::before,#bookForm .ccards > label.ccard::after{display:none!important;content:none!important}
#bookForm .ccards > label.ccard > input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
.ccard__icon,.ccard__check{flex:none}
.ccard__badge{white-space:nowrap}
/* Telefon: kompaktowe karty w poziomie */
@media (max-width:560px){
  .ccards{grid-template-columns:1fr;gap:.55rem}
  .ccard__body{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"icon title check" "icon desc desc" "icon foot foot";column-gap:.8rem;row-gap:.15rem;padding:.85rem .9rem}
  .ccard__top{display:contents}
  .ccard__icon{grid-area:icon;align-self:start}
  .ccard__check{grid-area:check;align-self:start}
  .ccard__badge{position:absolute;top:-.55rem;right:2.6rem}
  .ccard__title{grid-area:title;align-self:center}
  .ccard__desc{grid-area:desc;margin-top:0}
  .ccard__foot{grid-area:foot;padding-top:.45rem}
}
@media (max-width:560px){.ccard__badge{position:static;grid-area:badge;justify-self:start;margin-bottom:.15rem}
  .ccard.is-popular .ccard__body{grid-template-areas:"icon badge check" "icon title title" "icon desc desc" "icon foot foot"}}

/* ===== Krok 2 v2 ===== */
.bk2{display:grid;gap:1.15rem;border:0;margin:0;padding:0;min-width:0}
.bk2__head p{margin:0;font-size:.88rem;color:var(--booking-muted,#596174)}
/* Karta wybranego kursu */
.bk2-picked{display:grid!important;grid-template-columns:auto 1fr auto auto;align-items:center;gap:.9rem;padding:.9rem 1rem!important;border-radius:1.15rem!important;
  background:linear-gradient(120deg,#eef6fd,#f8fbfe 70%)!important;box-shadow:inset 0 0 0 1.5px rgba(57,128,190,.3)!important;position:relative;overflow:hidden}
.bk2-picked[hidden]{display:none!important}
.bk2-picked::before{content:"";position:absolute;left:0;top:.8rem;bottom:.8rem;width:4px;border-radius:0 4px 4px 0;background:#3980be}
.bk2-picked__icon{display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:.85rem;background:#3980be;color:#fff;box-shadow:0 8px 18px -10px rgba(57,128,190,.9)}
.bk2-picked__icon svg{width:1.3rem;height:1.3rem}
.bk2-picked .nij-picked-course__info strong{font:700 1.05rem/1.2 "Space Grotesk",system-ui,sans-serif}
.bk2-picked .nij-picked-course__meta{font-weight:600;color:#1f4f7a}
.bk2-picked__price{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}
.bk2-picked__price s{font-size:.78rem;color:#9aa3b2}
.bk2-picked__price b{font:800 1.15rem/1.1 "Space Grotesk",system-ui,sans-serif;color:#1b7a4c}
.bk2-picked__price.is-in{animation:bk2-pop .45s cubic-bezier(.34,1.56,.64,1)}
@keyframes bk2-pop{0%{opacity:0;transform:scale(.85)}100%{opacity:1;transform:none}}
.bk2-picked .nij-picked-course__change{display:inline-flex!important;align-items:center;gap:.35rem;background:#fff!important;color:#1f4f7a!important;font-weight:700;box-shadow:inset 0 0 0 1.5px rgba(57,128,190,.35)!important;transition:all .18s ease}
.bk2-picked .nij-picked-course__change svg{width:15px;height:15px}
.bk2-picked .nij-picked-course__change:hover{background:#3980be!important;color:#fff!important;box-shadow:none!important}
@media (max-width:560px){.bk2-picked{grid-template-columns:auto 1fr auto;grid-template-areas:"ic info chg" "ic price price"}.bk2-picked__icon{grid-area:ic;align-self:start}.bk2-picked .nij-picked-course__info{grid-area:info}.bk2-picked__price{grid-area:price;flex-direction:row;gap:.5rem;align-items:baseline;justify-content:flex-start}.bk2-picked .nij-picked-course__change{grid-area:chg;align-self:start;padding:.4rem .7rem;font-size:.78rem}}
/* Pola */
.bk2__row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
@media (max-width:600px){.bk2__row{grid-template-columns:1fr}}
.bk2-field{display:grid;gap:.4rem;min-width:0}
.bk2-field > label{font-size:.82rem;font-weight:700;color:var(--booking-ink,#0a0f1f)}
.bk2-field > label span{font-weight:500;color:var(--booking-muted,#596174)}
.bk2-input{position:relative;display:flex;align-items:center;gap:.6rem;height:52px;padding:0 .9rem;border-radius:.95rem;background:var(--booking-surface-soft,#fbf8f1);box-shadow:inset 0 0 0 1.5px var(--booking-line,rgba(10,15,31,.12));transition:box-shadow .18s ease,background-color .18s ease}
.bk2-input:hover{box-shadow:inset 0 0 0 1.5px rgba(57,128,190,.45)}
.bk2-input:focus-within{background:#fff;box-shadow:inset 0 0 0 2px #3980be,0 0 0 4px rgba(57,128,190,.14)}
.bk2-input > svg{flex:none;width:18px;height:18px;color:#8a93a6;transition:color .18s}
.bk2-input:focus-within > svg{color:#3980be}
.bk2-input input{flex:1;min-width:0;height:100%;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:1rem;color:var(--booking-ink,#0a0f1f)}
.bk2-input--phone input{font-family:"JetBrains Mono",ui-monospace,monospace;font-weight:600;letter-spacing:.02em}
.bk2-input--phone input::placeholder{font-family:inherit}
.bk2-input--code input{text-transform:uppercase}
.bk2-prefix{flex:none;display:flex;align-items:center;gap:.4rem;padding-right:.6rem;border-right:1.5px solid var(--booking-line,rgba(10,15,31,.12));font:700 .82rem/1 "JetBrains Mono",ui-monospace,monospace;color:var(--booking-ink,#0a0f1f)}
.bk2-prefix svg{width:20px;height:14px;border-radius:2px;box-shadow:0 0 0 1px rgba(148,163,184,.45)}
.bk2-ok{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#1f8a5b;color:#fff;transform:scale(0);opacity:0;transition:transform .3s cubic-bezier(.34,1.56,.64,1),opacity .2s}
.bk2-ok svg{width:13px;height:13px}
.bk2-input.is-ok .bk2-ok{transform:scale(1);opacity:1}
.bk2-input.is-ok{box-shadow:inset 0 0 0 1.5px rgba(31,138,91,.45)}
.bk2-input.is-bad{box-shadow:inset 0 0 0 2px #e11d48,0 0 0 4px rgba(225,29,72,.12)}
.bk2-input.is-bad input{color:#be123c}
.bk2 .nij-field-error{margin:.1rem 0 0;font-size:.76rem;font-weight:600;color:#e11d48}
.bk2-textarea{width:100%;min-height:96px;padding:.85rem .95rem;border:0;border-radius:.95rem;background:var(--booking-surface-soft,#fbf8f1);box-shadow:inset 0 0 0 1.5px var(--booking-line,rgba(10,15,31,.12));font:inherit;font-size:.95rem;color:var(--booking-ink,#0a0f1f);resize:vertical;outline:none;transition:box-shadow .18s,background-color .18s}
.bk2-textarea:hover{box-shadow:inset 0 0 0 1.5px rgba(57,128,190,.45)}
.bk2-textarea:focus{background:#fff;box-shadow:inset 0 0 0 2px #3980be,0 0 0 4px rgba(57,128,190,.14)}
.bk2-chips{display:flex;flex-wrap:wrap;gap:.4rem}
.bk2-chips button{padding:.42rem .8rem;border:0;border-radius:999px;background:#eef4fa;color:#1f4f7a;font-size:.8rem;font-weight:700;cursor:pointer;transition:background-color .18s,color .18s,transform .18s}
.bk2-chips button:hover{background:#dceaf6;transform:translateY(-1px)}
.bk2-chips button.is-on{background:#3980be;color:#fff}
.bk2-chips button.is-pop{animation:bk2-chip .4s cubic-bezier(.34,1.56,.64,1)}
@keyframes bk2-chip{30%{transform:scale(.9)}70%{transform:scale(1.06)}}
/* Rozwijane pola opcjonalne */
.bk2-more__toggle{display:inline-flex;align-items:center;gap:.6rem;width:100%;padding:.8rem 1rem;border:0;border-radius:.95rem;background:transparent;box-shadow:inset 0 0 0 1.5px dashed;outline:1.5px dashed rgba(57,128,190,.4);outline-offset:-1.5px;color:#1f4f7a;font-weight:700;font-size:.88rem;text-align:left;cursor:pointer;transition:background-color .18s}
.bk2-more__toggle{box-shadow:none}
.bk2-more__toggle:hover{background:#f1f6fb}
.bk2-more__toggle em{font-style:normal;font-weight:500;color:var(--booking-muted,#596174)}
.bk2-more__plus{position:relative;flex:none;width:22px;height:22px;border-radius:50%;background:#3980be;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.bk2-more__plus::before,.bk2-more__plus::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:2px;border-radius:2px;background:#fff;transform:translate(-50%,-50%)}
.bk2-more__plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.bk2-more__toggle[aria-expanded="true"] .bk2-more__plus{transform:rotate(45deg)}
.bk2-more__panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .38s cubic-bezier(.2,.8,.2,1)}
.bk2-more__panel.is-open{grid-template-rows:1fr}
.bk2-more__inner{overflow:hidden;display:grid;gap:.9rem;min-height:0}
.bk2-more__panel.is-open .bk2-more__inner{padding-top:.9rem;overflow:visible}
/* Zgody */
.bk2-consents{display:grid;gap:.65rem}
.bk2-check{display:flex;align-items:flex-start;gap:.7rem;cursor:pointer;font-size:.84rem;line-height:1.45;color:var(--booking-ink,#0a0f1f)}
.bk2-check input{position:absolute;opacity:0;width:1px;height:1px}
.bk2-check i{flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;border-radius:6px;background:#fff;box-shadow:inset 0 0 0 1.5px rgba(10,15,31,.25);transition:all .18s}
.bk2-check i svg{width:13px;height:13px;color:#fff;transform:scale(0);transition:transform .22s cubic-bezier(.34,1.56,.64,1)}
.bk2-check input:checked + i{background:#3980be;box-shadow:none}
.bk2-check input:checked + i svg{transform:scale(1)}
.bk2-check input:focus-visible + i{outline:3px solid #8fc4ee;outline-offset:2px}
.bk2-check input[aria-invalid="true"] + i,.bk2-check input.nij-field-invalid + i{box-shadow:inset 0 0 0 2px #e11d48}
.bk2-check em{font-style:normal;color:var(--booking-muted,#596174)}
.bk2-check a{color:#1f4f7a;font-weight:700;text-decoration:underline;text-underline-offset:3px}
/* Akcje */
.bk2-actions{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding-top:.3rem!important;border-top:0!important}
.bk2-back{display:inline-flex;align-items:center;gap:.35rem;min-height:48px;padding:0 .9rem;border:0;border-radius:999px;background:transparent;color:var(--booking-muted,#596174);font-weight:700;cursor:pointer;transition:background-color .18s,color .18s}
.bk2-back svg{width:18px;height:18px}
.bk2-back:hover{background:rgba(10,15,31,.05);color:var(--booking-ink,#0a0f1f)}
.bk2-submit{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:.8rem;min-height:56px;padding:.4rem .45rem .4rem 1.5rem;border:0;border-radius:999px;cursor:pointer;color:#fff;font-weight:800;font-size:1rem;
  background:linear-gradient(180deg,#1b2a47 0%,#0a0f1f 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(10,15,31,.6),0 16px 30px -14px rgba(10,15,31,.7);transition:transform .2s ease,box-shadow .2s ease}
.bk2-submit:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 0 1px rgba(10,15,31,.6),0 20px 36px -14px rgba(57,128,190,.6)}
.bk2-submit__arrow{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(180deg,#5a9fd6,#3980be);box-shadow:inset 0 1px 0 rgba(255,255,255,.45);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
.bk2-submit__arrow svg{width:20px;height:20px}
.bk2-submit:hover .bk2-submit__arrow{transform:translateX(4px)}
.bk2-submit__sheen{position:absolute;inset:0;transform:translateX(-130%) skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);transition:transform .7s ease;pointer-events:none}
.bk2-submit:hover .bk2-submit__sheen{transform:translateX(130%) skewX(-20deg)}
.bk2-submit:disabled{cursor:progress;opacity:.92;padding-right:1.5rem}
.bk2-spinner{display:inline-block;width:18px;height:18px;margin-right:.6rem;border-radius:50%;border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;animation:bk2-spin .7s linear infinite;vertical-align:-3px}
@keyframes bk2-spin{to{transform:rotate(360deg)}}
@media (max-width:560px){.bk2-actions{flex-direction:column-reverse;align-items:stretch}.bk2-submit{justify-content:space-between}.bk2-back{justify-content:center}}
/* Pasek zaufania — lekki, pod przyciskiem */
.bk2-trust{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1.3rem;margin:0;padding:.85rem 0 0;border-top:1px solid var(--booking-line,rgba(10,15,31,.1))}
.bk2-trust li{display:inline-flex;align-items:center;gap:.45rem;font-size:.8rem;color:var(--booking-muted,#596174)}
.bk2-trust svg{width:16px;height:16px;color:#3980be}
.bk2-trust b{color:var(--booking-ink,#0a0f1f)}
@media (prefers-reduced-motion:reduce){.bk2-more__panel,.bk2-ok,.bk2-submit,.bk2-submit__arrow,.bk2-chips button{transition:none}.bk2-chips button.is-pop,.bk2-picked__price.is-in{animation:none}}
/* Ciemny motyw */
html[data-theme="dark"] .bk2-picked{background:linear-gradient(120deg,#16304d,#111a2e 70%)!important;box-shadow:inset 0 0 0 1.5px rgba(111,168,219,.35)!important}
html[data-theme="dark"] .bk2-picked .nij-picked-course__meta{color:#8fc4ee}
html[data-theme="dark"] .bk2-picked .nij-picked-course__change{background:rgba(255,255,255,.06)!important;color:#e6f1fb!important}
html[data-theme="dark"] .bk2-picked__price b{color:#7fd6a4}
html[data-theme="dark"] .bk2-input,html[data-theme="dark"] .bk2-textarea{background:#0f1729}
html[data-theme="dark"] .bk2-input:focus-within,html[data-theme="dark"] .bk2-textarea:focus{background:#121c30}
html[data-theme="dark"] .bk2-chips button{background:rgba(143,196,238,.12);color:#cfe6f8}
html[data-theme="dark"] .bk2-chips button.is-on{background:#3980be;color:#fff}
html[data-theme="dark"] .bk2-more__toggle{color:#8fc4ee}
html[data-theme="dark"] .bk2-more__toggle:hover{background:rgba(143,196,238,.08)}
html[data-theme="dark"] .bk2-check i{background:#0f1729;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.25)}
html[data-theme="dark"] .bk2-check a{color:#8fc4ee}
html[data-theme="dark"] .bk2-submit{background:linear-gradient(180deg,#f5f8fc,#d9e3ee);color:#0a0f1f;box-shadow:inset 0 1px 0 #fff,0 16px 30px -14px rgba(0,0,0,.8)}
html[data-theme="dark"] .bk2-back:hover{background:rgba(255,255,255,.06)}
/* Poprawki kroku 2 */
#bookForm .bk2-submit,#bookForm .bk2-submit:hover{background:linear-gradient(180deg,#1b2a47 0%,#0a0f1f 100%)!important;color:#fff!important}
html[data-theme="dark"] #bookForm .bk2-submit{background:linear-gradient(180deg,#f5f8fc,#d9e3ee)!important;color:#0a0f1f!important}
#bookForm .bk2-submit .bk2-submit__label{background:none!important;color:inherit!important}
.bk2-input .nij-promo-hint{display:none}
.bk2-field .bk2-promo{margin:.1rem .2rem 0;font-size:.78rem;font-weight:700}
.bk2-picked.has-discount .nij-picked-course__meta{display:none}
.bk2-more__toggle{flex-wrap:wrap}
@media (max-width:560px){.bk2-more__toggle em{flex-basis:100%;padding-left:2rem}}
/* Auto na pasku postępu: przy wyborze kursu podjeżdża do kroku 2 */
#bookForm .nij-progress-track{overflow:visible!important;height:6px!important}
#progressBar{position:relative;transition:width .55s cubic-bezier(.65,0,.35,1)!important}
.bk-car{position:absolute;right:-10px;top:50%;width:14px;height:auto;transform:translateY(-50%) rotate(90deg);filter:drop-shadow(0 3px 5px rgba(10,15,31,.35));pointer-events:none}
#progressBar.is-driving .bk-car{animation:bk-car-bump .55s ease}
@keyframes bk-car-bump{30%{transform:translateY(-62%) rotate(90deg)}60%{transform:translateY(-45%) rotate(90deg)}}
@media (prefers-reduced-motion:reduce){#progressBar{transition:none!important}.bk-car{animation:none!important}}
.bk-car{width:22px;right:-14px}
#bookForm [data-step].hidden,.bk2.hidden{display:none!important}
.bk-lights{min-height:260px;padding:1.5rem .5rem}
.bk-lights[hidden]{display:none!important}
#bookForm .bk2-submit .bk2-submit__label{box-shadow:none!important;background:none!important;border:0!important;padding:0!important}
#bookForm .bk2-submit .bk2-submit__sheen{background-color:transparent!important;box-shadow:none!important}
#bookForm .bk2-submit .bk2-submit__arrow{box-shadow:inset 0 1px 0 rgba(255,255,255,.45)!important;background:linear-gradient(180deg,#5a9fd6,#3980be)!important}
