/* ========================================= */
/* REZERWACJE */
/* ========================================= */

.booking-page {
  min-height: 100vh;

  background:
    radial-gradient(circle at top, rgba(255,196,0,.08), transparent 35%),
    #0b0f12;

  padding-bottom: 80px;
}

/* HERO */

.booking-hero {
  text-align: center;

  padding:
    80px 20px 60px;
}

.booking-hero h1 {
  font-size: 72px;

  font-weight: 900;

  letter-spacing: 4px;

  text-transform: uppercase;

  text-shadow:
    0 6px 20px rgba(0,0,0,.55);
}

.booking-hero p {
  margin-top: 24px;

  font-size: 24px;

  color:
    rgba(255,255,255,.82);
}

/* ========================================= */
/* INFORMACJE */
/* ========================================= */

.booking-info {
  max-width: 1400px;

  margin: 0 auto;

  padding:
    0 40px 40px;
}

.booking-info-card {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;

  background:
    rgba(255,255,255,.04);

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 12px;

  padding: 30px;

  box-shadow:
    0 18px 40px rgba(0,0,0,.25);
}

.info-column h3 {
  color: #ffc400;

  margin-bottom: 10px;

  font-size: 20px;
}

.info-column p {
  line-height: 1.7;

  color:
    rgba(255,255,255,.85);
}

.booking-cutoff-notice {
  margin-top: 20px;
  text-align: center;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .3);
  border-radius: 10px;
  padding: 14px 20px;
  color: #93c5fd;
  font-size: 15px;
}

.booking-warning {
  margin-top: 25px;

  text-align: center;

  background:
    rgba(255,196,0,.12);

  border:
    1px solid rgba(255,196,0,.25);

  border-radius: 10px;

  padding: 18px;

  color: #ffd95e;

  font-weight: 700;
}

/* ========================================= */
/* SYSTEM */
/* ========================================= */

.booking-system {
  max-width: 1400px;

  margin: 0 auto;

  padding:
    20px 40px 80px;

  display: grid;

  grid-template-columns:
    1.3fr .9fr;

  gap: 30px;
}

.booking-left,
.booking-right {
  display: flex;

  flex-direction: column;

  gap: 30px;
}

/* ========================================= */
/* KARTY */
/* ========================================= */

.booking-card {
  background:
    rgba(255,255,255,.045);

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 12px;

  padding: 32px;

  box-shadow:
    0 18px 45px rgba(0,0,0,.22);
}

.booking-card h2 {
  color: #ffc400;

  margin-bottom: 25px;

  font-size: 30px;
}

/* ========================================= */
/* KALENDARZ */
/* ========================================= */

.calendar-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 25px;
}

.calendar-header button {
  border: none;

  background: #ffc400;

  color: #111;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  cursor: pointer;

  font-weight: 900;
}

#monthTitle {
  font-size: 22px;

  font-weight: 800;
}

.calendar-weekdays {
  display: grid;

  grid-template-columns:
    repeat(7, 1fr);

  margin-bottom: 10px;

  text-align: center;

  color:
    rgba(255,255,255,.55);
}

.calendar-grid {
  display: grid;

  grid-template-columns:
    repeat(7, 1fr);

  gap: 8px;
}

.calendar-day {
  min-height: 85px;

  border-radius: 10px;

  background:
    rgba(255,255,255,.05);

  border:
    1px solid rgba(255,255,255,.08);

  padding: 8px;

  cursor: pointer;

  transition: .2s;
}

/* ========================================= */
/* KOLORY DNI */
/* ========================================= */

/* SOBOTA */

.calendar-day.saturday {
  background:
    rgba(0,180,90,.18);

  border:
    1px solid rgba(0,180,90,.35);
}

/* NIEDZIELA */

.calendar-day.sunday {
  background:
    rgba(0,120,255,.18);

  border:
    1px solid rgba(0,120,255,.35);
}

/* BRAK MIEJSC / TERMIN ZABLOKOWANY */

.calendar-day.full {
  background:
    rgba(220,50,50,.22);

  border:
    1px solid rgba(220,50,50,.45);

  cursor: not-allowed;
}

.calendar-day.full .day-status {
  color: #ffb3b3;
}

.calendar-day:hover {
  border-color:
    rgba(255,196,0,.45);
}

.calendar-day.selected {
  background:
    rgba(255,196,0,.18);

  border-color:
    #ffc400;
}

.day-number {
  font-weight: 800;
}

.day-status {
  margin-top: 10px;

  font-size: 12px;

  color:
    rgba(255,255,255,.7);
}

/* ========================================= */
/* GODZINY */
/* ========================================= */

.time-slots {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;
}

.time-slot {
  padding:
    14px 20px;

  border-radius: 8px;

  background:
    rgba(255,255,255,.08);

  border:
    1px solid rgba(255,255,255,.10);

  cursor: pointer;
}

.time-slot.active {
  background: #ffc400;

  color: #111;

  font-weight: 800;
}

.placeholder-text {
  color:
    rgba(255,255,255,.55);
}

/* ========================================= */
/* PODSUMOWANIE */
/* ========================================= */

.summary-row {
  display: flex;

  justify-content: space-between;

  margin-bottom: 16px;

  font-size: 18px;
}

.total-price {
  margin-top: 25px;

  padding-top: 20px;

  border-top:
    1px solid rgba(255,255,255,.10);

  font-size: 24px;

  font-weight: 900;

  color: #ffc400;
}

/* ========================================= */
/* FORMULARZ */
/* ========================================= */

#bookingForm {
  display: flex;

  flex-direction: column;

  gap: 16px;
}

#bookingForm input,
#bookingForm select {
  width: 100%;

  padding:
    16px 18px;

  border: none;

  border-radius: 8px;

  background:
    rgba(255,255,255,.08);

  color: white;

  font-size: 16px;
}

#bookingForm select option {
  color: #111;
}

.checkbox-line {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  font-size: 15px;

  line-height: 1.5;
}

.checkbox-line input {
  width: auto !important;
}

/* ========================================= */
/* GRUPY */
/* ========================================= */

.group-info {
  display: none;

  padding: 16px;

  border-radius: 8px;

  background:
    rgba(0,180,90,.18);

  border:
    1px solid rgba(0,180,90,.35);

  color: #7dffb0;

  font-weight: 700;
}

.contact-required {
  display: none;

  padding: 18px;

  border-radius: 8px;

  background:
    rgba(255,90,90,.12);

  border:
    1px solid rgba(255,90,90,.30);

  color: #ffb0b0;

  line-height: 1.8;
}

/* ========================================= */
/* PRZYCISK */
/* ========================================= */

#bookingButton {
  border: none;

  padding:
    18px 26px;

  border-radius: 8px;

  background: #ffc400;

  color: #111;

  font-size: 18px;

  font-weight: 900;

  cursor: pointer;

  transition: .25s;

  box-shadow:
    0 8px 22px rgba(0,0,0,.35);
}

#bookingButton:hover {
  transform: translateY(-3px);
}

/* ========================================= */
/* RESPONSYWNOŚĆ */
/* ========================================= */

@media (max-width: 1100px) {

  .booking-system {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1024px) {

  .booking-hero h1 {
    font-size: 54px;
    letter-spacing: 3px;
  }

  .booking-hero p {
    font-size: 20px;
  }

  .booking-hero {
    padding: 64px 20px 48px;
  }

}

@media (max-width: 700px) {

  .booking-hero h1 {
    font-size: 48px;
  }

  .booking-info,
  .booking-system {
    padding-left: 20px;
    padding-right: 20px;
  }

  .calendar-day {
    min-height: 65px;
  }

}
/* ========================================= */
/* LINKI PRAWNE */
/* ========================================= */

.legal-link {
  color: #ffc400;

  text-decoration: none;

  font-weight: 700;

  transition: .2s;
}

.legal-link:hover {
  color: #ffd95e;

  text-decoration: underline;
}
/* ========================================= */
/* FAKTURY */
/* ========================================= */

.invoice-info {

  margin-top: 10px;

  padding: 18px;

  border-radius: 8px;

  background:
    rgba(255,196,0,.10);

  border:
    1px solid rgba(255,196,0,.25);

  color:
    rgba(255,255,255,.90);

  line-height: 1.7;
}

.invoice-info strong {
  color: #ffc400;
}
/* ========================================= */
/* DREZYNA */
/* ========================================= */

.trolley-card {
  overflow: hidden;
}

.trolley-photo {

  width: 100%;

  display: block;

  border-radius: 10px;

  margin-bottom: 25px;

  box-shadow:
    0 12px 30px rgba(0,0,0,.35);
}

.trolley-features {

  display: flex;

  flex-direction: column;

  gap: 14px;

  font-size: 17px;

  color:
    rgba(255,255,255,.9);
}

.trolley-features div {

  padding: 12px 16px;

  background:
    rgba(255,255,255,.05);

  border-radius: 8px;

  border:
    1px solid rgba(255,255,255,.08);
}
/* ========================================= */
/* CHARAKTER KURSU */
/* ========================================= */

.trip-type-box {

  margin-top: 10px;

  padding: 20px;

  border-radius: 10px;

  background:
    rgba(255,255,255,.05);

  border:
    1px solid rgba(255,255,255,.08);

}

.trip-type-box h3 {

  color: #ffc400;

  margin-bottom: 15px;

  font-size: 20px;
}

.trip-placeholder {

  color:
    rgba(255,255,255,.55);

}

.trip-options {

  display: flex;

  flex-direction: column;

  gap: 12px;

  margin-top: 20px;
}

.trip-option {

  padding: 14px 18px;

  border-radius: 8px;

  background:
    rgba(255,255,255,.06);

  border:
    1px solid rgba(255,255,255,.08);

  cursor: pointer;

  transition: .2s;
}

.trip-option:hover {

  border-color:
    rgba(255,196,0,.40);
}

.trip-option.active {

  background:
    rgba(255,196,0,.15);

  border-color:
    #ffc400;
}

.trip-option.standard {

  border-left:
    4px solid #4caf50;
}

.trip-option.campfire {

  border-left:
    4px solid #ff6b00;
}

.trip-locked {

  padding: 16px;

  border-radius: 8px;

  background:
    rgba(255,107,0,.12);

  border:
    1px solid rgba(255,107,0,.30);

  color:
    #ffd4b3;

  line-height: 1.7;
}

/* ========================================= */
/* NOWE STATUSY KALENDARZA */
/* ========================================= */

/* TERMIN MINIONY */

.calendar-day.past {

  background:
    rgba(120,120,120,.15);

  border:
    1px solid rgba(120,120,120,.20);

  cursor: not-allowed;

  opacity: .55;
}

/* POZA SEZONEM */

.calendar-day.offseason {

  background:
    rgba(170,170,170,.12);

  border:
    1px solid rgba(170,170,170,.20);

  cursor: not-allowed;

  opacity: .65;
}

/* WYDARZENIE SPECJALNE */

.calendar-day.special {

  background:
    rgba(170,70,255,.20);

  border:
    1px solid rgba(170,70,255,.45);
}

/* KURS Z OGNISKIEM */

.calendar-day.campfire-day {

  box-shadow:
    inset 0 0 0 2px rgba(255,107,0,.45);
}

/* ========================================= */
/* GODZINY */
/* ========================================= */

.time-slot.campfire {

  background:
    rgba(255,107,0,.15);

  border:
    1px solid rgba(255,107,0,.30);
}

.time-slot.campfire.active {

  background:
    #ff6b00;

  color: white;
}

.time-slot.private {

  background:
    rgba(139,92,246,.18);

  border:
    1px solid rgba(139,92,246,.40);

  color:
    rgba(221,214,254,.90);

  cursor: default;
}

.time-slot.private strong {

  color: #c4b5fd;
}

.cal-time-private {

  color: #c4b5fd;

  font-weight: 600;
}

/* ========================================= */
/* PODSUMOWANIE */
/* ========================================= */

#summaryTripType {

  color: #ffc400;
}

#summaryCampfire {

  color: #ffb366;
}

/* ========================================= */
/* OSTRZEŻENIE O POJEMNOŚCI */
/* ========================================= */

#capacityWarning {

  display: none;
}

.campfire-info,
.capacity-warning,
.group-info,
.contact-required {
  display: none;
}
/* ========================= */
/* KALENDARZ */
/* ========================= */

.calendar-day {
  background: #1f252d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  min-height: 90px;
  padding: 10px;
  cursor: pointer;
  transition: 0.25s;
}

.calendar-day:hover {
  transform: translateY(-2px);
  border-color: #ffc400;
}

.calendar-day.selected {
  background: rgba(255,196,0,0.15);
  border: 2px solid #ffc400;
}

/* dni przeszłe */

.day-past {
  opacity: 0.35;
  cursor: not-allowed;
}

/* dni robocze */

.day-weekday {
  background: #1f252d;
}

/* sobota */

.day-saturday {
  background: rgba(255,196,0,0.10);
  border: 1px solid rgba(255,196,0,0.45);
}

/* niedziela */

.day-sunday {
  background: rgba(0,180,90,.12);
  border: 1px solid rgba(0,180,90,.40);
}

/* wydarzenie specjalne */

.day-special {
  background: rgba(0,180,255,0.15);
  border: 2px solid #3bbcff;
}

/* ========================= */
/* GODZINY */
/* ========================= */

.time-slots {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.time-slot {
  background: #2a313a;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.time-slot:hover {
  background: #ffc400;
  color: #000000;
}

.time-slot.selected {
  background: #ffc400;
  color: #000000;
  border-color: #ffc400;
}

/* ========================= */
/* POGODA */
/* ========================= */

.weather-warning {
  margin-top: 25px;
  padding: 25px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,196,0,0.30);
  border-radius: 18px;
}

.weather-link {
  color: #ffc400;
  text-decoration: none;
  font-weight: 600;
}

.weather-link:hover {
  color: #ffe16a;
}

/* ========================= */
/* KOMUNIKATY */
/* ========================= */

.campfire-info,
.capacity-warning,
.group-info,
.contact-required {
  display: none;
}
.group-info-box{
    margin-top:20px;
    padding:20px;
    background:rgba(255,193,7,.08);
    border:1px solid rgba(255,193,7,.35);
    border-radius:14px;
}

.group-info-box h4{
    color:#ffcc00;
    margin-bottom:12px;
}

.group-info-box p{
    margin-bottom:10px;
    line-height:1.6;
}
.checkout-summary{

  margin-top:25px;

  padding:20px;

  border-radius:12px;

  background:
    rgba(255,255,255,.05);

  border:
    1px solid rgba(255,255,255,.08);

}

.checkout-summary h3{

  color:#ffc400;

  margin-bottom:18px;
}

.checkout-row{

  display:flex;

  justify-content:space-between;

  margin-bottom:10px;
}

.checkout-total{

  margin-top:18px;

  padding-top:18px;

  border-top:
    1px solid rgba(255,255,255,.10);

  font-size:22px;

  font-weight:800;

  color:#ffc400;
}
/* ========================================= */
/* FAKTURY */
/* ========================================= */

.invoice-fields {

  margin-top: 15px;

  padding: 20px;

  border-radius: 10px;

  background:
    rgba(255,255,255,.05);

  border:
    1px solid rgba(255,255,255,.08);

}

.invoice-type {

  display: flex;

  gap: 25px;

  margin-bottom: 20px;

}

.invoice-type label {

  display: flex;

  align-items: center;

  gap: 8px;

  cursor: pointer;

}

#privateInvoiceFields,
#companyInvoiceFields {

  display: flex;

  flex-direction: column;

  gap: 12px;

}

/* ========================================= */
/* STATUSY DNI KALENDARZA (ETAP 1)           */
/* ========================================= */

/* Data historyczna */

.calendar-day.day-past {
  opacity: .30;
  cursor: default;
  pointer-events: none;
}

/* Poza sezonem */

.calendar-day.day-offseason {
  opacity: .25;
  cursor: default;
  pointer-events: none;
}

/* Brak kursów w sezonie */

.calendar-day.day-empty {
  opacity: .40;
  cursor: default;
  pointer-events: none;
}

/* NIECZYNNE */

.calendar-day.day-closed {
  background: rgba(140,140,140,.18);
  border: 1px solid rgba(140,140,140,.30);
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-day.day-closed .calendar-status {
  color: #aaaaaa;
}

/* IMPREZA ZAMKNIĘTA */

.calendar-day.day-private {
  background: rgba(160,60,255,.20);
  border: 1px solid rgba(160,60,255,.45);
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-day.day-private .calendar-status {
  color: #d4a0ff;
}

/* BRAK MIEJSC */

.calendar-day.day-full {
  background: rgba(220,50,50,.22);
  border: 1px solid rgba(220,50,50,.50);
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-day.day-full .calendar-status {
  color: #ffb3b3;
}

/* Cutoff — termin rez. online minął, ale dzień klikalny */

.calendar-day.day-cutoff {
  background: rgba(120, 90, 0, .14);
  border: 1px solid rgba(180, 130, 0, .35);
  cursor: pointer;
  opacity: .75;
}

.calendar-day.day-cutoff .calendar-times {
  color: #b8860b;
  opacity: .8;
}

.calendar-day.day-cutoff .calendar-status {
  color: #c07700;
  font-size: .62rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Panel "brak rez. online" */

.cutoff-notice {
  background: #fffbea;
  border: 1px solid #f0c040;
  border-radius: 12px;
  padding: 20px 22px;
  text-align: center;
  color: #5a3e00;
  line-height: 1.65;
}

.cutoff-notice__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.cutoff-notice__text {
  font-size: .9rem;
  margin: 0 0 10px;
}

.cutoff-notice__next {
  font-size: .85rem;
  color: #7a5c00;
  margin: 0 0 14px;
  font-style: italic;
}

.cutoff-notice__phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cutoff-notice__phones a {
  color: #1a56db;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
}

.cutoff-notice__phones a:hover {
  text-decoration: underline;
}

/* Wyłącz hover na nieklikalnych dniach */

.calendar-day.day-past:hover,
.calendar-day.day-offseason:hover,
.calendar-day.day-empty:hover,
.calendar-day.day-closed:hover,
.calendar-day.day-private:hover,
.calendar-day.day-full:hover {
  transform: none;
  border-color: inherit;
}

/* ========================================= */
/* POTWIERDZENIE REZERWACJI (ETAP 5)         */
/* ========================================= */

.booking-success {
  background: #0b0f12;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.booking-success-card {
  background: #141920;
  border: 1px solid rgba(255,196,0,.20);
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 520px;
  width: 100%;
  color: #e8eaf0;
  text-align: center;
}

.booking-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.booking-success-card h2 {
  font-size: 1.6rem;
  color: #ffc400;
  margin: 0 0 10px;
}

.booking-success-sub {
  color: #9aa3b0;
  font-size: .9rem;
  margin: 0 0 24px;
  line-height: 1.5;
}

.booking-success-num {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,196,0,.10);
  border: 1px solid rgba(255,196,0,.30);
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.booking-success-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: .9rem;
  text-align: left;
}

.booking-success-table tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.booking-success-table td {
  padding: 8px 4px;
}

.booking-success-table td:first-child {
  color: #9aa3b0;
  width: 100px;
}

.booking-success-table td:last-child {
  font-weight: 600;
  color: #e8eaf0;
}

.booking-success-cancel-box {
  background: rgba(220,50,50,.12);
  border: 1px solid rgba(220,50,50,.35);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 8px;
  font-size: .88rem;
  color: #ffb3b3;
  line-height: 1.55;
}

.booking-success-cancel-hint {
  display: block;
  margin: 4px 0 10px;
  font-size: .82rem;
  opacity: .85;
}

.booking-success-cancel-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
}

.booking-success-cancel-link a {
  flex: 1;
  min-width: 0;
  word-break: break-all;
  overflow-wrap: anywhere;
  color: #ffb3b3;
  font-size: .78rem;
  line-height: 1.5;
}

.booking-success-copy-btn {
  flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  color: #fff;
  font-size: .78rem;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.booking-success-copy-btn:hover {
  background: rgba(255,255,255,.25);
}

.booking-success-new-btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 16px 24px;
  background: #f5a623;
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
}

.booking-success-new-btn:hover {
  background: #e09416;
  transform: translateY(-1px);
}

/* ========================================= */
/* MOBILE — 768px */
/* ========================================= */

@media (max-width: 768px) {

  .booking-hero {
    padding: 50px 20px 36px;
  }

  .booking-hero h1 {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .booking-hero p {
    font-size: 17px;
    margin-top: 14px;
  }

  .booking-info,
  .booking-system {
    padding-left: 16px;
    padding-right: 16px;
  }

  .booking-system {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 60px;
    font-size: 13px;
  }
  .calendar-number {
    font-size: 15px;
  }

}

@media (max-width: 420px) {

  .booking-hero h1 {
    font-size: 28px;
  }

  .calendar-day {
    min-height: 52px;
  }

  .calendar-number {
    font-size: 13px;
  }

}

/* =========================================
   KALENDARZ NA TELEFONIE (poprawka 30.10.2026)
   Długie napisy w dniach (np. „IMPREZA ZAMKNIĘTA”)
   rozpychały kolumny i na telefonie kalendarz
   wychodził poza ekran (strona przewijała się w bok).
   Na wąskich ekranach każda kolumna ma teraz równą
   szerokość, a napisy mieszczą się w komórce.
   Na komputerze wygląd bez zmian.
========================================= */

/* Miękkie dzielenie słów (NIE-CZYNNE) tylko na telefonie */
.calendar-status {
  -webkit-hyphens: none;
  hyphens: none;
}

@media (max-width: 768px) {

  .booking-system {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-card {
    padding: 20px 14px;
  }

  .calendar-grid,
  .calendar-weekdays {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-width: 0;
    overflow: hidden;
    padding: 5px 3px;
    border-radius: 8px;
    text-align: center;
  }

  .calendar-day:hover {
    transform: none;
  }

  .calendar-times,
  .calendar-status {
    overflow-wrap: anywhere;
  }

  .calendar-status {
    -webkit-hyphens: manual;
    hyphens: manual;
  }

  .calendar-times {
    font-size: 10px;
    line-height: 1.3;
  }

  .calendar-status,
  .calendar-day.day-cutoff .calendar-status {
    font-size: 8px;
    line-height: 1.15;
    letter-spacing: 0;
    margin-top: 2px;
  }

}

@media (max-width: 420px) {

  .booking-system {
    padding-left: 10px;
    padding-right: 10px;
  }

  .booking-card {
    padding: 18px 8px;
  }

  .booking-card h2 {
    padding-left: 6px;
    padding-right: 6px;
  }

  .calendar-grid {
    gap: 3px;
  }

  .calendar-day {
    padding: 4px 1px;
  }

  .calendar-status,
  .calendar-day.day-cutoff .calendar-status {
    font-size: 7.5px;
  }

}
