/* KP Mayor Booking */

.kp-mayor-booking{
  max-width:1140px;
  margin:0 auto 56px;
  font-family:var(--kp-font, "Sofia Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
}

.kp-mayor-booking,
.kp-mayor-booking *{
  box-sizing:border-box;
}

.kp-mayor-booking__notice{
  margin:0 0 18px;
  padding:14px 16px;
  border-radius:14px;
  font-weight:800;
  line-height:1.45;
}

.kp-mayor-booking__notice--success{
  background:#e5f5ed;
  color:#155d43;
  border:1px solid #b9e4ce;
}

.kp-mayor-booking__notice--error{
  background:#fff0f0;
  color:#9d1f1f;
  border:1px solid #f1c4c4;
}

.kp-mayor-booking__first-available{
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid #dbe7e1;
  border-radius:14px;
  background:#F2F7F4;
  color:#1E6B4F;
  font-weight:900;
}
.kp-mayor-booking__layout{
  display:grid;
  grid-template-columns:1.2fr .88fr;
  gap:24px;
  align-items:start;
}

.kp-mayor-booking__left{
  display:grid;
  gap:18px;
}

.kp-mayor-booking__card{
  background:#fff;
  border:1px solid rgba(219,231,225,.9);
  border-radius:22px;
  padding:28px;
  box-shadow:0 12px 34px rgba(0,0,0,.08);
}

.kp-mayor-booking__card--slots{
  padding-top:24px;
}

.kp-mayor-booking__head{
  margin-bottom:22px;
}

.kp-mayor-booking__head--compact{
  margin-bottom:18px;
}

.kp-mayor-booking__eyebrow{
  display:inline-flex;
  align-items:center;
  margin-bottom:10px;
  padding:6px 11px;
  border-radius:999px;
  background:#F2F7F4;
  color:#1E6B4F;
  font-size:13px;
  line-height:1;
  font-weight:900;
}

.kp-mayor-booking__head h2{
  margin:0 0 8px;
  color:#1E6B4F;
  font-size:28px;
  line-height:1.15;
  font-weight:900;
}

.kp-mayor-booking__head p{
  margin:0;
  color:#526262;
  font-size:16px;
  line-height:1.55;
}

/* Dates */
.kp-mayor-booking__dates{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.kp-mayor-booking__date{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:5px !important;

  width:100% !important;
  min-height:78px !important;
  padding:14px 12px !important;

  border:1px solid #dbe7e1 !important;
  border-radius:16px !important;

  background:#ffffff !important;
  background-image:none !important;
  color:#1F2933 !important;

  text-align:left !important;
  text-decoration:none !important;
  cursor:pointer !important;
  box-shadow:none !important;

  opacity:1 !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

.kp-mayor-booking__date:hover{
  transform:translateY(-2px) !important;
  border-color:#2F8C67 !important;
  background:#F2F7F4 !important;
  background-image:none !important;
}

.kp-mayor-booking__date span{
  color:#1E6B4F !important;
  font-size:13px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
}

.kp-mayor-booking__date strong{
  color:#1F2933 !important;
  font-size:18px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
}

.kp-mayor-booking__date.is-active{
  border-color:#1E6B4F !important;
  background:#1E6B4F !important;
  background-image:none !important;
  box-shadow:0 12px 24px rgba(30,107,79,.18) !important;
}

.kp-mayor-booking__date.is-active span,
.kp-mayor-booking__date.is-active strong{
  color:#ffffff !important;
}
.kp-mayor-booking__slots{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.kp-mayor-booking__empty-slots{
  grid-column:1 / -1;
  padding:14px 16px;
  border:1px solid #dbe7e1;
  border-radius:14px;
  background:#F2F7F4;
  color:#1E6B4F;
  font-weight:900;
}
.kp-mayor-booking__slot{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:5px !important;
  width:100% !important;
  min-height:76px !important;
  padding:14px !important;
  border:1px solid #dbe7e1 !important;
  border-radius:16px !important;
  background:#fff !important;
  color:#1F2933 !important;
  cursor:pointer !important;
  text-align:left !important;
  box-shadow:none !important;
  transition:transform .15s ease, background .15s ease, border-color .15s ease !important;
}

.kp-mayor-booking__slot-time{
  display:block !important;
  color:#1F2933 !important;
  font-size:20px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
}

.kp-mayor-booking__slot-status{
  display:block !important;
  color:#2F8C67 !important;
  font-size:13px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
}

.kp-mayor-booking__slot:hover{
  transform:translateY(-2px) !important;
  border-color:#2F8C67 !important;
  background:#F2F7F4 !important;
}

.kp-mayor-booking__slot.is-selected{
  border-color:#1E6B4F !important;
  background:#1E6B4F !important;
}

.kp-mayor-booking__slot.is-selected .kp-mayor-booking__slot-time,
.kp-mayor-booking__slot.is-selected .kp-mayor-booking__slot-status{
  color:#fff !important;
}

.kp-mayor-booking__slot.is-booked,
.kp-mayor-booking__slot:disabled{
  cursor:not-allowed !important;
  opacity:1 !important;
  background:#f3f4f6 !important;
  border-color:#e5e7eb !important;
  box-shadow:none !important;
  transform:none !important;
}

.kp-mayor-booking__slot.is-booked .kp-mayor-booking__slot-time,
.kp-mayor-booking__slot:disabled .kp-mayor-booking__slot-time,
.kp-mayor-booking__slot.is-booked .kp-mayor-booking__slot-status,
.kp-mayor-booking__slot:disabled .kp-mayor-booking__slot-status{
  color:#9ca3af !important;
}

.kp-mayor-booking__selected{
  margin-bottom:16px;
  padding:13px 15px;
  border-radius:14px;
  background:#F2F7F4;
  color:#1E6B4F;
  font-weight:900;
}

.kp-mayor-booking__form{
  display:grid;
  gap:14px;
}

.kp-mayor-booking__form label{
  display:grid;
  gap:7px;
  margin:0;
}

.kp-mayor-booking__form label span{
  color:#1F2933;
  font-size:14px;
  font-weight:900;
}

.kp-mayor-booking__form input,
.kp-mayor-booking__form textarea{
  width:100%;
  border:1px solid #dbe7e1;
  border-radius:14px;
  background:#fff;
  color:#1F2933;
  font:500 16px/1.4 var(--kp-font, "Sofia Sans", sans-serif);
  padding:13px 14px;
  outline:none;
}

.kp-mayor-booking__form input:focus,
.kp-mayor-booking__form textarea:focus{
  border-color:#1E6B4F;
  box-shadow:0 0 0 3px rgba(30,107,79,.12);
}

.kp-mayor-booking__hp{
  position:absolute !important;
  left:-9999px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.kp-mayor-booking__submit{
  margin-top:6px;
  border:0;
  border-radius:999px;
  background:#1E6B4F;
  color:#fff;
  padding:14px 22px;
  font:900 16px/1 var(--kp-font, "Sofia Sans", sans-serif);
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}

.kp-mayor-booking__submit:hover{
  background:#2F8C67;
  transform:translateY(-1px);
}

.kp-mayor-booking__submit:disabled{
  cursor:not-allowed;
  opacity:.5;
  transform:none;
}

.kp-mayor-booking__loading{
  grid-column:1 / -1;
  padding:16px;
  border-radius:14px;
  background:#F2F7F4;
  color:#526262;
  font-weight:800;
}

@media (max-width:980px){
.kp-mayor-booking__layout{
    grid-template-columns:1fr;
  }

  .kp-mayor-booking__dates,
  .kp-mayor-booking__slots{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:560px){
  .kp-mayor-booking{
    margin-bottom:36px;
  }

  .kp-mayor-booking__card{
    padding:20px;
    border-radius:18px;
  }

  .kp-mayor-booking__dates,
  .kp-mayor-booking__slots{
    grid-template-columns:1fr;
  }

  .kp-mayor-booking__head h2{
    font-size:24px;
  }
}





/* =========================================================
   Mobile Layout Fix v1.8.2
   ========================================================= */

@media (max-width:768px){

  .kp-mayor-booking{
    width:100% !important;
    max-width:none !important;
    margin:0 auto 32px !important;
    padding:0 14px !important;
  }

  .kp-mayor-booking__layout,
  .kp-mayor-booking__left,
  .kp-mayor-booking__card,
  .kp-mayor-booking__card--form,
  .kp-mayor-booking__card--slots{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
.kp-mayor-booking__layout{
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
    align-items:stretch !important;
  }

  .kp-mayor-booking__left{
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
  }

  .kp-mayor-booking__card{
    padding:18px !important;
    border-radius:18px !important;
  }

  .kp-mayor-booking__head{
    margin-bottom:18px !important;
  }

  .kp-mayor-booking__head h2{
    font-size:24px !important;
    line-height:1.15 !important;
  }

  .kp-mayor-booking__head p{
    font-size:15px !important;
    line-height:1.5 !important;
  }

  .kp-mayor-booking__dates,
  .kp-mayor-booking__slots{
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
  }

  .kp-mayor-booking__date,
  .kp-mayor-booking__slot{
    width:100% !important;
    min-width:0 !important;
    min-height:74px !important;
    padding:12px !important;
    border-radius:14px !important;
  }

  .kp-mayor-booking__date strong,
  .kp-mayor-booking__slot-time{
    font-size:18px !important;
  }

  .kp-mayor-booking__date span,
  .kp-mayor-booking__slot-status{
    font-size:12px !important;
  }

  .kp-mayor-booking__form{
    width:100% !important;
    gap:12px !important;
  }

  .kp-mayor-booking__form label,
  .kp-mayor-booking__form input,
  .kp-mayor-booking__form textarea{
    width:100% !important;
    max-width:100% !important;
  }

  .kp-mayor-booking__form input,
  .kp-mayor-booking__form textarea{
    font-size:16px !important;
    padding:12px 14px !important;
  }

  .kp-mayor-booking__submit{
    width:100% !important;
    min-height:52px !important;
    font-size:16px !important;
    border-radius:14px !important;
  }

  .kp-mayor-booking__selected{
    width:100% !important;
    font-size:14px !important;
    line-height:1.4 !important;
  }

  .kp-mayor-booking__turnstile,
  .kp-mayor-booking__turnstile .cf-turnstile{
    max-width:100% !important;
    overflow:hidden !important;
  }
}

@media (max-width:380px){

  .kp-mayor-booking{
    padding:0 10px !important;
  }

  .kp-mayor-booking__card{
    padding:16px !important;
  }

  .kp-mayor-booking__dates,
  .kp-mayor-booking__slots{
    grid-template-columns:1fr !important;
  }

  .kp-mayor-booking__head h2{
    font-size:22px !important;
  }

  .kp-mayor-booking__date,
  .kp-mayor-booking__slot{
    min-height:68px !important;
  }
}
