#gift-voucher-form input[type="number"]{
    max-width: 200px;
}


/* Loader overlay */
#booking-loader-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    backdrop-filter: blur(3px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Show overlay */
#booking-loader-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Spinning loader circle */
.booking-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #ccc;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: bookingSpin 0.9s linear infinite;
    margin-bottom: 15px;
}

@keyframes bookingSpin {
    to { transform: rotate(360deg); }
}

.pks-error-banner {
    background: #ffecec;
    border-left: 4px solid #d93025;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    color: #b71c1c;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


  #kitesurf-booking-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    color: #1d2327;
  }

.date-note {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    background: #f6fafe;
    border-left: 3px solid #2271b1;
    padding: 10px 12px;
    border-radius: 4px;
}
  .form-intro {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
  }

  .calendar-side {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  }

  .calendar-side label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
    color: #1e73be;
  }

  .calendar-side input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    cursor: pointer;
  }

  .form-side, #calendar-container {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  }

  .two-col {
    display: flex;
    gap: 20px;
  }

  .form-field {
    flex: 1;
    margin-bottom: 18px;
  }

  label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"],
  select,
  textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d2d6dc;
    font-size: 14px;
    transition: 0.2s border, 0.2s box-shadow;
  }

  input:focus, textarea:focus, select:focus {
    border-color: #1e73be;
    box-shadow: 0 0 0 2px rgba(30,115,190,0.15);
    outline: none;
  }

  textarea {
    resize: vertical;
  }

  .payment-options strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
  }

  .payment-options label {
    display: inline-block;
    margin-right: 20px;
    font-size: 14px;
  }

  input[type="submit"] {
    margin-top:60px;
    background: #1e73be;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
  }

  input[type="submit"]:hover {
    background: #155d99;
  }


#enquiry-note {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#enquiry-note.show {
  opacity: 1;
}


/* Flatpickr Calendar Styling */
.flatpickr-calendar.inline {
  box-shadow: none;
  border: none;
  background: transparent;
  font-family: inherit;
}

.flatpickr-day.today-highlight {
  background: #1e73be !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600;
}

.flatpickr-day.selected {
  background: #f57c00 !important;
  color: #fff !important;
  font-weight: 600;
}

.flatpickr-day:hover {
  background: #1e73be !important;
  color: #fff !important;
}

.flatpickr-day.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.flatpickr-hidden-input {
    display: none !important;
}



/* Payment Option Toggle */
.payment-options {
  margin-top: 20px;
}

.payment-options strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

/* Toggle wrapper */
.toggle-group {
  position: relative;
  display: flex;
  align-items: center; /* centers content vertically */
  justify-content: space-between;
  background: #f5f7fa;
  border-radius: 50px;
  border: 1px solid #d6dbe1;
  overflow: hidden;
  width: 220px;
  height: 48px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Hide radio inputs */
.toggle-group input[type="radio"] {
  display: none;
}

/* Labels */
.toggle-btn {
  flex: 1;
  text-align: center;
  z-index: 2;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;       /* ✅ perfectly vertical center */
  justify-content: center;   /* ✅ horizontal center */
  height: 100%;              /* ensure full height alignment */
  transition: color 0.3s ease;
  user-select: none;
}

/* Slider background */
.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 6px);
  height: calc(100% - 6px);
  background: #1e73be;
  border-radius: 50px;
  z-index: 1;

  /* 👇 Smooth bounce movement */
  transition: all 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55);

  /* 👇 Subtle lift shadow */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Active text color */
#pay_now:checked + label[for="pay_now"],
#pay_later:checked + label[for="pay_later"] {
  color: #fff;
}

/* Slide right + bounce */
#pay_later:checked ~ .toggle-slider {
  left: calc(50% + 3px);
  background: #f57c00;
  box-shadow: 0 4px 8px rgba(245, 124, 0, 0.25);
  animation: slide-bounce-right 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Slide left + bounce */
#pay_now:checked ~ .toggle-slider {
  left: 3px;
  background: #1e73be;
  box-shadow: 0 4px 8px rgba(30, 115, 190, 0.25);
  animation: slide-bounce-left 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Bounce keyframes */
@keyframes slide-bounce-right {
  0% { transform: translateX(0); }
  60% { transform: translateX(8px); }
  100% { transform: translateX(0); }
}

@keyframes slide-bounce-left {
  0% { transform: translateX(0); }
  60% { transform: translateX(-8px); }
  100% { transform: translateX(0); }
}

/* Click feedback */
.toggle-btn:active {
  transform: scale(0.97);
}

/* Hover subtle glow */
.toggle-group:hover .toggle-slider {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Override global label styles inside the toggle group */
.payment-options .toggle-group label {
  display: flex !important;         /* override inline-block */
  margin-right: 0 !important;       /* remove spacing that breaks centering */
  font-size: 15px !important;       /* consistent with toggle text */
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-bottom: 0 !important;
}


/* Responsive */
@media (max-width: 480px) {
  .toggle-group {
    width: 200px;
    height: 44px;
  }
  .toggle-btn {
    font-size: 14px;
  }
}







/* Compact responsiveness */
@media (max-width: 480px) {
  .toggle-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

  @media (max-width: 768px) {
    .form-grid {
      grid-template-columns: 1fr;
    }
  }