.tcs-booking__form fieldset.tcs-payment {
  display: block;
  min-width: 0;
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding: 12px 16px 16px;
  border: 1px solid #ccdde6;
  border-radius: 12px;
  background: #f4f8fb;
  color: #15394d;
}
.tcs-booking__form .tcs-payment > legend {
  padding: 0 5px;
  margin: 0;
  font: 600 16px/1.3 'Mukta Vaani', sans-serif;
  color: #0a2f47;
}
.tcs-booking__form .tcs-payment p { margin: 8px 0 0; font: 400 15px/1.45 'Mukta Vaani', sans-serif; color: #334e60; }
.tcs-payment__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.tcs-booking__form .tcs-payment__choices label { position: relative; display: flex; margin: 0; cursor: pointer; }
.tcs-booking__form .tcs-payment__choices input[type="radio"] {
  position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; border: 0; clip-path: inset(50%); opacity: 0;
}
.tcs-booking__form .tcs-payment__choices label > span {
  display: grid; place-items: center; min-height: 44px; padding: 8px 15px; border: 1px solid #adc2d0;
  border-radius: 8px; background: #fff; color: #20465e; font: 500 15px/1.25 'Mukta Vaani', sans-serif;
}
.tcs-booking__form .tcs-payment__choices input:checked + span { background: #0a4262; border-color: #0a4262; color: #fff; }
.tcs-booking__form .tcs-payment__choices input:focus-visible + span { outline: 3px solid #1685bc; outline-offset: 2px; }
.tcs-booking__form .tcs-payment__qr { display: grid; gap: 10px; justify-items: start; }
.tcs-booking__form .tcs-payment__qr img { width: min(184px, 100%); height: auto; max-height: 220px; object-fit: contain; background: #fff; border-radius: 4px; }
.tcs-booking__form .tcs-payment__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tcs-booking__form .tcs-payment__links a { color: #075c8d; text-decoration: underline; text-underline-offset: 3px; }
.tcs-booking__form .tcs-payment__qr label { width: 100%; max-width: 30rem; }
.tcs-booking__form .tcs-payment[hidden], .tcs-booking__form .tcs-payment [hidden],
.tcs-booking__form:has([name="property_size"][value="bungalow"]:checked) .tcs-payment { display: none !important; }

.tcs-booking__form .tcs-payment__choices input:disabled + span { background: #edf1f3; color: #63747f; border-color: #d2dce2; cursor: not-allowed; }
.tcs-booking__form .tcs-payment__pending { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.tcs-booking__form .tcs-payment__pending p { margin: 0; max-width: 20rem; }
.tcs-booking__form .tcs-payment__placeholder { width: 92px; height: 92px; flex: none; background: #fff; border: 1px dashed #b5c9d5; border-radius: 6px; }
@media (max-width: 359px) {
  .tcs-booking__form .tcs-payment__pending { align-items: flex-start; }
  .tcs-booking__form .tcs-payment__placeholder { width: 64px; height: 64px; }
}

.tcs-booking__form .tcs-checkout { grid-column: 1 / -1; min-width: 0; }
.tcs-booking__form .tcs-order { min-width: 0; margin-top: 16px; color: #173c51; }
.tcs-booking__form .tcs-order h3 { margin: 0 0 10px; color: #0a2f47; font: 600 19px/1.4 Sora, system-ui, sans-serif; }
.tcs-booking__form .tcs-order table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font: 400 16px/1.4 'Mukta Vaani', sans-serif; }
.tcs-booking__form .tcs-order :is(th, td) { padding: 8px 4px; border: 0; border-bottom: 1px solid #dae5ec; background: transparent; color: #234459; text-align: left; overflow-wrap: anywhere; }
.tcs-booking__form .tcs-order tbody th { font-weight: 400; }
.tcs-booking__form .tcs-order :is(th, td):last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tcs-booking__form .tcs-order td:last-child { white-space: nowrap; }
.tcs-booking__form .tcs-order td small { display: block; margin-top: 3px; color: #435e70; font-size: 14px; }
.tcs-booking__form .tcs-order tfoot :is(th, td) { padding: 11px 6px; border-bottom: 0; background: #eef6fa; color: #0a3854; font-weight: 700; }
.tcs-booking__form .tcs-order [hidden] { display: none !important; }
.tcs-booking__form .tcs-order p, .tcs-booking__form .tcs-order-consent p { margin: 8px 0 0; font: 400 15px/1.5 'Mukta Vaani', sans-serif; color: #38586a; }
.tcs-booking__form .tcs-order__fallback { margin: 8px 0; }
.tcs-booking__form .tcs-order__fallback dt { margin-top: 8px; font-weight: 600; }
.tcs-booking__form .tcs-order__fallback dd { margin: 0; }
.tcs-booking__form .tcs-order-consent { margin-top: 16px; }
.tcs-booking__form .tcs-order-consent label { display: flex; align-items: flex-start; gap: 9px; margin: 6px 0 0; padding: 6px 0; cursor: pointer; }
.tcs-booking__form .tcs-order-consent label > span { color: #183c50; font: 400 15px/1.5 'Mukta Vaani', sans-serif; }
.tcs-booking__form .tcs-checkout .tcs-order-consent input[type="checkbox"] {
  appearance: auto; display: block; position: static; flex: 0 0 18px; width: 18px; height: 18px; min-height: 0;
  padding: 0; margin: 3px 0 0; border: 0; border-radius: 0; accent-color: #0a4262; box-shadow: none;
}
.tcs-booking__form .tcs-order-consent a { color: #075c8d; text-decoration: underline; text-underline-offset: 2px; }
.tcs-booking__form .tcs-checkout .tcs-required { display: inline !important; color: #c62828 !important; background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; min-width: 0 !important; min-height: 0 !important; font-size: 1em; }

/* Card 4 shares the header and form padding used by separate booking steps. */
.tcs-booking-inline:has(> form:not([hidden]) [data-appointment-panel="checkout"]:not([hidden])) > .tcs-booking-modal__header {
  padding-bottom: 8px;
}
.tcs-booking-inline > .tcs-booking__form:has([data-appointment-panel="checkout"]:not([hidden])) {
  padding-top: 8px;
}
.tcs-booking-inline .tcs-booking__form > [data-appointment-panel="checkout"] {
  margin-top: 0;
}

/* Keep the native fieldset label inside the panel, aligned with its controls. */
.tcs-booking__form [data-appointment-panel="checkout"] .tcs-payment > legend {
  float: inline-start;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  text-align: start;
}
.tcs-booking__form [data-appointment-panel="checkout"] .tcs-payment__choices {
  clear: both;
}
