:root {
  --payment-brand-blue: var(--vriq-blue, #00a9e8);
}
.payment-body {
  min-height: 100vh;
  background: #f4f7fa;
  color: #17304b;
}
.inline-booking-payment {
  border: 0;
  padding: 0;
  margin: 24px 0;
  min-width: 0;
}
.inline-booking-payment legend {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
}
.inline-booking-payment .choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.payment-choice-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 8px;
}
.payment-legal {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
}
.payment-legal summary {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}
.payment-legal summary::-webkit-details-marker {
  display: none;
}
.payment-legal[open] summary svg {
  transform: rotate(180deg);
}
#bookingCardFields .booking-charge-timing {
  margin: 0 0 12px;
}
.payment-legal p {
  margin: 8px 0 0;
}
.inline-card-fields {
  margin-top: 20px;
  padding: 22px;
  background: #f7fbfd;
  border: 1px solid #d9e8ef;
  border-radius: 16px;
}
body.client-body :is(#bookingCardFields, #washPassCardFields) {
  padding: 14px !important;
  margin-top: 12px;
  border-radius: 14px;
  background: var(--surface, #fff);
}
body.client-body :is(#bookingCardFields, #washPassCardFields) .field {
  margin: 0;
  gap: 5px;
  min-width: 0;
}
body.client-body :is(#bookingCardFields, #washPassCardFields) .field > label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
body.client-body #bookingSavedCard {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 14px;
}
body.client-body :is(#bookingCardFields, #washPassCardFields) :is(label, p, span) {
  text-align: start !important;
  word-spacing: normal;
  letter-spacing: normal;
}
body.client-body :is(#bookingCardInputs, #washPassCardInputs) {
  display: grid;
  gap: 10px;
}
body.client-body :is(#bookingCardFields, #washPassCardFields) .payment-field-row {
  gap: 12px;
}
body.client-body :is(#bookingCardFields, #washPassCardFields) .payment-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
body.client-body :is(#bookingCardFields, #washPassCardFields) .payment-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}
body.client-body
  :is(#bookingCardFields, #washPassCardFields)
  :is(.payment-security, .payment-legal) {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.payment-card-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.payment-card-brands img {
  display: block;
  width: 38px;
  height: 26px;
  object-fit: contain;
}
.payment-card-brands img[alt='Visa'] {
  object-fit: cover;
}
.inline-card-fields[hidden],
#bookingCardInputs[hidden],
#bookingCardIdentityField[hidden],
.inline-card-fields label[hidden] {
  display: none !important;
}
.inline-card-fields > p {
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 600px) {
  .inline-booking-payment .choice-grid {
    grid-template-columns: 1fr;
  }
  .inline-card-fields {
    padding: 16px;
  }
}
.payment-header {
  max-width: 1140px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}
.payment-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font:
    800 24px Inter,
    Arial,
    sans-serif;
  letter-spacing: -0.8px;
}
.payment-brand img {
  display: block;
  width: 156px;
  height: 56px;
  object-fit: contain;
}
html[data-theme='dark'] .payment-brand img {
  filter: brightness(0) invert(1);
}
.payment-layout {
  max-width: 1140px;
  margin: 32px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: start;
}
.payment-card,
.payment-summary {
  border: 1px solid #e0e7ee;
  background: #fff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 12px 40px rgb(18 46 78 / 5%);
}
.payment-card h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 10px 0 16px;
}
.payment-card p {
  line-height: 1.7;
}
.payment-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e5ebf0;
  font-size: 13px;
  color: #6c7d8e;
}
.payment-steps [aria-current] {
  color: var(--payment-brand-blue);
  font-weight: 800;
}
.payment-eyebrow {
  color: var(--payment-brand-blue);
  font-size: 13px;
  font-weight: 800;
}
.payment-field {
  margin: 20px 0;
  min-width: 0;
}
.payment-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
#checkoutForm > .payment-field,
#checkoutForm > .payment-field-row {
  margin: 14px 0;
}
#checkoutForm .payment-field-row .payment-field {
  margin: 0;
}
#checkoutForm .payment-error:empty {
  display: none;
}
.payment-tip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 124px);
  align-items: center;
  gap: 6px 12px;
  padding: 12px 0;
  border-top: 1px solid #e5ebf0;
  margin: 16px 0;
}
.payment-tip[hidden],
.payment-tip-summary[hidden] {
  display: none;
}
.payment-tip label {
  display: grid;
  gap: 2px;
  font-weight: 700;
}
.payment-tip label small {
  font-size: 12px;
  font-weight: 400;
  color: #65798c;
}
#checkoutTip {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #c9d5df;
  border-radius: 11px;
  background: #fbfcfd;
  color: #17304b;
  font: inherit;
  text-align: center;
}
#checkoutTip:focus-visible {
  outline: 3px solid rgb(0 169 232 / 22%);
  border-color: var(--payment-brand-blue);
}
#checkoutTip[aria-invalid='true'] {
  border-color: #a82727;
}
.payment-tip .payment-error {
  grid-column: 1 / -1;
  margin: 0;
}
.payment-tip + .payment-consent {
  margin-top: 0;
}
.payment-tip[hidden] + .payment-consent {
  margin-top: 26px;
}
.payment-tip-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  font-size: 14px;
}
.payment-tip-summary:not([hidden]) + .payment-total {
  margin-top: 12px;
}
.payment-hosted {
  height: 54px;
  border: 1px solid #c9d5df;
  border-radius: 11px;
  background: #fbfcfd;
  overflow: hidden;
  padding: 0 12px;
}
.payment-hosted:focus-within {
  outline: 3px solid rgb(0 169 232 / 22%);
  border-color: var(--payment-brand-blue);
}
.payment-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.payment-error {
  color: #a82727;
  font-size: 13px;
  margin: 4px 0 0;
}
.payment-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 26px 0;
  font-size: 15px;
  line-height: 1.7;
}
.payment-consent input {
  margin-top: 6px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--payment-brand-blue);
}
#checkoutReceiptForm:not([hidden]),
#checkoutBuyerConsents:not([hidden]) {
  display: grid;
  gap: 12px;
}
#checkoutBuyerConsents .payment-receipt-note {
  margin: 0;
}
#checkoutBuyerConsents .payment-consent {
  margin: 0;
}
.payment-submit {
  width: 100%;
  min-height: 54px;
  border-radius: 11px;
}
.payment-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}
.payment-security {
  font-size: 12px;
  color: #65798c;
  text-align: center;
  margin: 18px 0;
}
@media screen and (forced-colors: none) {
  html[data-theme='dark']:not(.vriq-a11y-contrast)
    :is(.inline-card-fields, .payment-card, .payment-summary) {
    background: var(--surface, #222b32);
    border-color: var(--border, #374650);
    color: var(--text, #f1f5f8);
  }
  html[data-theme='dark']:not(.vriq-a11y-contrast)
    :is(.payment-security, .payment-summary-note, #checkoutDescription, #checkoutNotice) {
    color: var(--muted, #c0cbd3);
  }
}
.payment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-block-start: 18px;
}
.payment-actions > .btn {
  min-height: 44px;
  padding-inline: 16px;
}
.payment-return {
  font-weight: 700;
  font-size: 14px;
}
.payment-summary h2 {
  margin: 10px 0 18px;
  font-size: 24px;
}
.payment-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-block: 1px solid #e5ebf0;
  margin: 24px 0;
}
.payment-total strong {
  font-size: 30px;
  letter-spacing: -1px;
}
.payment-summary p {
  font-size: 14px;
  line-height: 1.8;
}
.payment-summary-note {
  color: #65798c;
}
.payment-lock {
  margin-top: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6f7f2;
  color: #007b58;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.payment-status:empty {
  display: none;
}
.payment-status,
.payment-test {
  padding: 14px;
  border-radius: 10px;
  background: #eff7fc;
}
.payment-test {
  color: #724700;
  background: #fff5d9;
}
.payment-footer {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  font-size: 13px;
  color: #65798c;
}
.payment-skip {
  position: absolute;
  top: -60px;
  right: 20px;
  padding: 12px;
  background: #fff;
  z-index: 100;
}
.payment-skip:focus {
  top: 12px;
}
.payment-body [hidden] {
  display: none !important;
}
.payment-body :focus-visible {
  outline: 3px solid var(--payment-brand-blue);
  outline-offset: 3px;
}
.payment-options {
  border: 1px solid var(--border, #dce2e8);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.payment-options legend {
  padding: 0 6px;
  font-weight: 800;
}
.payment-options label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  line-height: 1.7;
}
.payment-options input {
  accent-color: var(--payment-brand-blue);
  margin-top: 6px;
}
.payment-options p {
  font-size: 13px;
  color: var(--muted, #65798c);
  line-height: 1.7;
}
@media (max-width: 760px) {
  .payment-header {
    padding: 18px;
  }
  .payment-layout {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 10px;
    padding: 0 16px;
    gap: 18px;
  }
  .payment-card,
  .payment-summary {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .payment-summary {
    grid-row: 1;
  }
  .payment-summary-note,
  .payment-lock {
    display: none;
  }
  .payment-total {
    margin: 12px 0 0;
    padding: 12px 0;
  }
  .payment-steps {
    gap: 12px;
    font-size: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
  }
}
.payment-receipt-note {
  font-size: 13px;
  line-height: 1.5;
  color: #52677b;
}
.payment-success {
  padding: 24px 0;
  text-align: center;
}
.payment-layout-success {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}
.payment-summary[hidden] {
  display: none;
}
.payment-success[hidden] {
  display: none;
}
.payment-success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--payment-brand-blue);
  background: rgb(0 169 232 / 10%);
  font-size: 36px;
  font-weight: 800;
}
.payment-success h1 {
  margin: 0 0 12px;
  font-size: 26px;
}
.payment-success dl {
  margin: 24px 0;
}
.payment-success dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e7ee;
  text-align: start;
}
.payment-success dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.payment-status-announced {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}
#checkoutWallets:not([hidden]) {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.payment-wallet {
  width: 100%;
  min-height: 54px;
  padding: 12px 24px;
  border: 1px solid;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#checkoutForm[data-bit-pending]
  > :not(.payment-submit, .payment-wallets, .payment-trust, .payment-security) {
  display: none;
}
#checkoutForm[data-bit-pending] .payment-wallet:disabled {
  opacity: 0.55;
  cursor: default;
}
#checkoutForm[data-bit-pending] .payment-wallet-bit {
  gap: 8px;
  color: #17304b;
}
.payment-wallet[hidden] {
  display: none;
}
.payment-wallet img {
  display: block;
  object-fit: contain;
}
.payment-wallet-google,
.payment-wallet-bit,
.payment-wallet-apple {
  background: #fff;
  border-color: #b9c4cf;
}
.payment-wallet-google:hover,
.payment-wallet-bit:hover,
.payment-wallet-apple:hover {
  background: #f8fafc;
}
.payment-wallet:focus-visible {
  outline: 3px solid var(--payment-brand-blue);
  outline-offset: 3px;
}
#hf-bit-cont {
  position: fixed;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  top: 50% !important;
  left: 50% !important;
  width: min(440px, calc(100vw - 24px)) !important;
  height: min(760px, calc(100dvh - 24px)) !important;
  transform: translate(-50%, -50%) !important;
  background: #fff !important;
  border: 1px solid #dce5eb !important;
  border-radius: 16px;
  overflow: auto;
  box-shadow: 0 16px 64px #0004;
}
#hf-bit-cont[hidden] {
  display: none;
}
#checkoutBitClose {
  flex: none;
  align-self: flex-start;
  min-height: 44px;
  margin: 4px 8px 0;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #edf7fc;
  color: #17304b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
#checkoutBitClose:focus-visible {
  outline: 2px solid #007eaf;
}
#hf-bit-iframe {
  display: block;
  flex: 1;
  min-height: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
  border: 0 !important;
}
.payment-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.payment-brand-tagline {
  display: block;
  width: 132px;
  box-sizing: border-box;
  text-align: center;
  text-indent: 4px;
  font:
    700 9px Arial,
    sans-serif;
  letter-spacing: 4px;
  color: #526b7c;
}
.payment-lock-icon {
  width: 13px;
  height: 15px;
  flex: 0 0 auto;
}
.payment-booking-details {
  margin: 18px 0 10px;
}
.payment-booking-details > div {
  padding: 12px 0;
  border-bottom: 1px solid rgba(128, 148, 160, 0.2);
}
.payment-booking-details dt {
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 5px;
}
.payment-booking-details dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
html[data-theme='dark'] .payment-brand-tagline {
  color: #cbd6de;
}
.payment-spinner {
  width: 26px;
  height: 26px;
  margin: 18px auto;
  border: 3px solid #dce8ee;
  border-top-color: var(--vriq-blue, #00a9e8);
  border-radius: 50%;
  animation: payment-spin 0.8s linear infinite;
}
.payment-spinner[hidden] {
  display: none;
}
@keyframes payment-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .payment-spinner {
    animation: none;
    border-style: dotted;
  }
}

.payment-brand img {
  width: 132px;
  height: auto;
}
.payment-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.payment-security .payment-lock-icon {
  color: var(--payment-brand-blue);
}
.payment-booking-details > div:last-child {
  border-bottom: 0;
}

.payment-brand-tagline {
  transform: translateX(4px);
}
.payment-total {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.payment-status.payment-error {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 12px 0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.6;
}
html[data-theme='dark'] .payment-status.payment-error {
  color: #ffb4ab;
}

.payment-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  direction: rtl;
  gap: clamp(4px, 2vw, 10px);
  margin-top: 18px;
}
.payment-trust img {
  display: block;
  box-sizing: border-box;
  width: 40px;
  height: 26px;
  padding: 3px;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
  filter: none;
}
.payment-trust img:is([alt='bit'], [alt='Mastercard']) {
  padding: 6px 5px;
}
#checkoutForm > .payment-security {
  position: relative;
  display: table;
  max-width: calc(100% - 36px);
  margin: 7px auto 0;
  padding: 0;
  line-height: 1.4;
}
#checkoutForm > .payment-security .payment-lock-icon {
  position: absolute;
  inset-inline-start: -18px;
  top: 50%;
  transform: translateY(-50%);
}
