/* Online Booking page */
.ns-booking {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  min-height: calc(100vh - 140px);
  box-sizing: border-box;
}

.ns-booking__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ns-booking__bg-dark {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #1a1a1a 0%, #111 45%, #0d0d0d 100%);
  background-size: 18px 18px, 18px 18px, auto;
  clip-path: polygon(0 0,
      50% 0,
      65% 50%,
      50% 100%,
      0 100%);
}

.ns-booking__bg-red {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #e00011;
}

.ns-booking__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ns-booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.ns-booking__schedule,
.ns-booking__form-wrap {
  display: flex;
  min-height: 0;
  height: 100%;
}

.ns-booking__panel--dark,
.ns-booking__form {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 16px;
}

.ns-booking__panel--dark {
  background: rgba(32, 32, 32, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 16px 16px 14px;
}

.ns-booking__section+.ns-booking__section {
  margin-top: 12px;
}

.ns-booking__section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ns-booking__section-title,
.ns-booking__form-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
}

.ns-booking__form-title {
  color: #1a1a1a;
  font-size: 20px;
}

.ns-booking__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ns-booking__icon svg {
  width: 16px;
  height: 16px;
}

.ns-booking__icon--red {
  background: #e00011;
}

.ns-booking__icon--blue {
  background: #001c93;
}

.ns-booking__icon--sm {
  width: 24px;
  height: 24px;
}

.ns-booking__icon--sm svg {
  width: 12px;
  height: 12px;
}

.ns-booking__calendar {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 10px 8px;
  background: rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.ns-booking__calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ns-booking__cal-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
}

.ns-booking__cal-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ns-booking__cal-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.ns-booking__cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 2px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.ns-booking__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.ns-booking__cal-cell {
  width: 32px;
  height: 32px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin: 0 auto;
  min-height: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

.ns-booking__cal-cell--muted,
.ns-booking__cal-cell--disabled {
  color: rgba(255, 255, 255, 0.28);
  cursor: default;
}

.ns-booking__cal-cell--disabled {
  pointer-events: none;
}

.ns-booking__cal-cell--available:hover {
  background: rgba(224, 0, 17, 0.25);
}

.ns-booking__cal-cell--selected {
  background: #e00011;
  color: #fff;
}

.ns-booking__slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ns-booking__slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.ns-booking__slot--disabled {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
  pointer-events: none;
}

.ns-booking__slot--selected {
  background: #e00011;
  border-color: #fff;
  color: #fff;
}

.ns-booking__slot-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ns-booking__slot--disabled .ns-booking__slot-mark {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  position: relative;
}

.ns-booking__slot--disabled .ns-booking__slot-mark::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(-45deg);
}

.ns-booking__slot--selected .ns-booking__slot-mark {
  border: 1.5px solid #fff;
}

.ns-booking__slot--selected .ns-booking__slot-mark::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.ns-booking__eta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.ns-booking__eta--form {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 12px 0 0;
  font-size: 13px;
  color: #4c4c4c;
}

.ns-booking__form {
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  padding: 22px 22px 18px;
}

.ns-booking__section-head--form {
  margin-bottom: 16px;
}

.ns-booking__field {
  display: block;
  margin-bottom: 10px;
}

.ns-booking__field input,
.ns-booking__field select,
.ns-booking__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 11px 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #202020;
  background: #fff;
  appearance: none;
}

.ns-booking__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.ns-booking__field textarea {
  min-height: 78px;
  resize: vertical;
}

.ns-booking__field input:focus,
.ns-booking__field select:focus,
.ns-booking__field textarea:focus {
  outline: none;
  border-color: #001c93;
  box-shadow: 0 0 0 2px rgba(0, 28, 147, 0.12);
}

.ns-booking__field input.error,
.ns-booking__field select.error,
.ns-booking__field textarea.error {
  border-color: #e00011;
}

.ns-booking__field--other[hidden] {
  display: none !important;
}

.ns-booking__submit {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 18px;
  border: 0;
  border-radius: 10px;
  background: #e00011;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ns-booking__submit:hover {
  background: #c4000f;
}

.ns-booking__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.ns-booking__alt {
  margin: 12px 0 0;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #4c4c4c;
}

.ns-booking__alt--schedule {
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.35;
}

.ns-booking__alt--schedule a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.ns-booking__alt--schedule a:hover {
  text-decoration: underline;
}

.ns-booking__alt a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.ns-booking__alt a:hover {
  text-decoration: underline;
}

.ns-booking__message {
  margin: 6px 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.ns-booking__message--error {
  background: #fff0f1;
  color: #a1000c;
  border: 1px solid #ffc5ca;
}

.ns-booking__message--success {
  background: #eef8f0;
  color: #146c2e;
  border: 1px solid #b7e0c1;
}

.ns-booking .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .ns-booking__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ns-booking__schedule,
  .ns-booking__form-wrap,
  .ns-booking__panel--dark,
  .ns-booking__form {
    height: auto;
  }

  .ns-booking {
    align-items: flex-start;
    min-height: 0;
  }

  .ns-booking__bg-dark {
    clip-path: polygon(0 0,
        100% 0,
        100% 38%,
        50% 48%,
        0 38%);
  }
}

@media (max-width: 640px) {
  .ns-booking {
    padding: 28px 0 100px;
  }

  .ns-booking__container {
    padding: 0 12px;
  }

  .ns-booking__panel--dark,
  .ns-booking__form {
    padding: 18px 14px 16px;
    border-radius: 14px;
  }

  .ns-booking__section-title,
  .ns-booking__form-title {
    font-size: 17px;
  }

  .ns-booking__slot {
    font-size: 13px;
    min-height: 38px;
    padding: 9px 11px;
  }
}

/* ===== Booking Thank You ===== */
.ns-booking-success {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 48px 20px 72px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #1a1a1a 0%, #111 55%, #0c0c0c 100%);
  background-size: 16px 16px, auto;
}

.ns-booking-success__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.ns-booking-success__card {
  background: rgba(28, 28, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 36px 32px 28px;
  text-align: center;
  box-sizing: border-box;
}

.ns-booking-success__check {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #001c93;
  box-shadow: 0 0 0 10px rgba(0, 28, 147, 0.28);
}

.ns-booking-success__title {
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  color: #fff;
}

.ns-booking-success__subtitle {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
}

.ns-booking-success__lead {
  margin: 0 0 22px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.ns-booking-success__details {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  text-align: left;
}

.ns-booking-success__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

.ns-booking-success__row+.ns-booking-success__row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ns-booking-success__row-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #001c93;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ns-booking-success__row-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.ns-booking-success__label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.ns-booking-success__value {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  word-break: break-word;
}

.ns-booking-success__eta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.ns-booking-success__eta-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #001c93;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ns-booking-success__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #e00011;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.ns-booking-success__cta:hover {
  background: #c4000f;
  color: #fff;
}

.ns-booking-success__cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ns-booking-success__change {
  margin: 16px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.ns-booking-success__change a {
  color: #4d6fff;
  font-weight: 600;
  text-decoration: none;
}

.ns-booking-success__change a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .ns-booking-success {
    padding: 28px 12px 100px;
    align-items: flex-start;
  }

  .ns-booking-success__card {
    padding: 28px 16px 22px;
  }

  .ns-booking-success__title {
    font-size: 28px;
  }
}
