.otp-code-fields {
  display: grid !important;
  grid-template-columns: repeat(6, 52px);
  justify-content: center;
  gap: 9px !important;
  margin-block: 12px 18px;
}

.booking-shell.is-account-mode .booking-section--identity .otp-code-fields input {
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 0 !important;
  border: 1px solid var(--dx-line, #d7d8d4);
  border-radius: 12px;
  background: #f8faf9;
  color: var(--dx-navy, #082935);
  -webkit-text-fill-color: var(--dx-navy, #082935);
  font: 800 1.4rem/1 var(--font-body, inherit);
  text-align: center;
  direction: ltr;
  caret-color: var(--dx-gold, #b88a32);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.booking-shell.is-account-mode .booking-section--identity .otp-code-fields input:hover {
  border-color: rgba(184, 138, 50, .68);
  background: #fff;
}

.booking-shell.is-account-mode .booking-section--identity .otp-code-fields input:focus-visible {
  border-color: var(--dx-gold, #b88a32);
  outline: 3px solid rgba(184, 138, 50, .18);
  outline-offset: 1px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 31, 42, .08);
  transform: translateY(-1px);
}

.booking-shell.is-account-mode .otp-auth {
  margin-top: 18px;
  padding: 22px 24px 20px;
  border: 1px solid rgba(184, 138, 50, .32);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 31, 42, .055);
}

.booking-shell.is-account-mode .otp-auth__head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(7, 31, 42, .1);
}

.booking-shell.is-account-mode .otp-auth__head > .dx-icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 12px;
  background: var(--dx-navy, #082935);
  color: var(--dx-gold, #b88a32);
}

.booking-shell.is-account-mode .otp-verify {
  margin-top: 0;
  padding-top: 18px;
  border-top: 0;
}

.booking-shell.is-account-mode .otp-verify > label {
  display: block;
  margin: 0;
  color: var(--dx-navy, #082935);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}

.otp-verify-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0 !important;
  border-color: var(--dx-navy, #082935) !important;
  background: var(--dx-navy, #082935) !important;
  color: #fff !important;
}

.otp-verify-button:hover,
.otp-verify-button:focus-visible {
  border-color: #123e4b !important;
  background: #123e4b !important;
  color: #fff !important;
}

.otp-verify-button .dx-icon { color: var(--dx-gold, #c99632); }

.booking-shell.is-account-mode .otp-link {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
}

.otp-local-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px dashed rgba(184, 138, 50, .55);
  border-radius: 10px;
  background: rgba(229, 199, 120, .14);
  color: var(--dx-navy, #082935);
  font-size: .72rem;
}
.otp-local-code b { color: #8b661f; font-size: .9rem; letter-spacing: .12em; }

@media (max-width: 520px) {
  .booking-shell.is-account-mode .otp-auth { padding: 18px 14px 16px; border-radius: 16px; }
  .otp-code-fields { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px !important; }
  .booking-shell.is-account-mode .booking-section--identity .otp-code-fields input {
    height: 50px;
    min-height: 50px;
    border-radius: 10px;
    font-size: 1.18rem;
  }
  .otp-verify-button { width: 100%; }
  .otp-local-code { font-size: .67rem; }
}

@media (prefers-reduced-motion: reduce) {
  .otp-code-fields input { transition: none; }
}

/* Clear post-payment state and next action. */
#vokala-payment-result {
  display: grid;
  min-height: min(660px, calc(100vh - 190px));
  place-items: center;
  padding-block: 54px;
}

#vokala-payment-result .booking-intro {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(7, 31, 42, .11);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 31, 42, .09);
  text-align: center;
}

#vokala-payment-result .booking-intro::after { content: none; }

#vokala-payment-result .payment-result-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid rgba(151, 71, 64, .2);
  border-radius: 50%;
  background: #fff2ef;
  color: #9a514a;
  font-size: 2rem;
  font-weight: 900;
}

#vokala-payment-result[data-result="success"] .payment-result-mark {
  border-color: rgba(33, 111, 83, .24);
  background: #eaf6f0;
  color: #216f53;
}

#vokala-payment-result[data-result="review"] .payment-result-mark {
  border-color: rgba(184, 138, 50, .28);
  background: #fff7e7;
  color: #8b661f;
}

#vokala-payment-result .booking-kicker { margin-bottom: 8px; }
#vokala-payment-result h1 {
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--dx-navy, #082935);
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.5;
}
#vokala-payment-result #payment-result-message {
  max-width: 540px;
  margin: 18px auto 24px;
  padding: 14px 18px;
  border-radius: 13px;
  background: #f7f8f6;
  color: #526269;
  font-size: .86rem;
  line-height: 2;
}

#vokala-payment-result #payment-result-message.is-success { background: #eaf6f0; color: #175b42; }
#vokala-payment-result #payment-result-message.is-warning { background: #fff7e7; color: #77591e; }
#vokala-payment-result #payment-result-message.is-error { background: #fff2ef; color: #843d37; }

#vokala-payment-result .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 50px;
  padding: 11px 22px;
  border-radius: 13px;
  background: var(--dx-navy, #082935);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

#vokala-payment-result .primary-action:hover,
#vokala-payment-result .primary-action:focus-visible { background: #123e4b; color: #fff; }

@media (max-width: 640px) {
  #vokala-payment-result { min-height: auto; padding-block: 24px 44px; }
  #vokala-payment-result .booking-intro { padding: 28px 20px; border-radius: 20px; }
  #vokala-payment-result .payment-result-mark { width: 62px; height: 62px; }
  #vokala-payment-result .primary-action { width: 100%; }
}

.dev-payment-card {
  width: min(620px, 100%);
  margin: 56px auto 90px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(8,41,53,.1);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7,31,42,.12);
  text-align: center;
}
.dev-payment-card__brand { display: grid; width: 74px; height: 74px; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: #082935; color: #e5c778; }
.dev-payment-card__brand span { font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.dev-payment-card h1 { margin: 6px 0 12px; color: #082935; font-size: clamp(2rem, 5vw, 3.2rem); text-wrap: balance; }
.dev-payment-card > p:not(.booking-kicker,.form-message) { color: #5d7077; }
.dev-payment-card dl { margin: 28px 0; border-block: 1px solid rgba(8,41,53,.1); }
.dev-payment-card dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 4px; border-bottom: 1px solid rgba(8,41,53,.08); }
.dev-payment-card dl > div:last-child { border-bottom: 0; }
.dev-payment-card dt { color: #65767b; }
.dev-payment-card dd { margin: 0; color: #082935; font-weight: 850; }
.dev-payment-card__actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.dev-payment-cancel { color: #6b777a; font-size: .78rem; }
.dev-payment-card .primary-action:focus-visible, .dev-payment-cancel:focus-visible { outline: 3px solid rgba(184,138,50,.3); outline-offset: 3px; }
@media (max-width: 520px) {
  .dev-payment-card { margin-top: 20px; border-radius: 18px; }
  .dev-payment-card__actions { grid-template-columns: 1fr; }
}
