.form-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid currentColor;
  border-radius: 12px;
  opacity: .88;
  font-size: 13px;
  font-weight: 700;
}
.form-path .arr { opacity: .45; font-weight: 800; }
.field-hint, .hint {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: .78;
  margin: 4px 0 8px;
  line-height: 1.4;
}
.field-error {
  display: none;
  color: #b42318;
  font-size: 13px;
  font-weight: 650;
  margin: 6px 0 0;
}
.field-error.on { display: block; }
.invalid-box {
  outline: 2px solid #b42318;
  outline-offset: 2px;
}
.dob {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}
.dob label { flex: 1; min-width: 72px; margin: 0; }
.dob input { width: 100%; text-align: center; letter-spacing: .06em; }
.dob-arrow { padding-bottom: 12px; font-weight: 800; opacity: .45; }
.dob-wide { display: block; }
.form-banner-err {
  display: none;
  background: #fff4f2;
  color: #9a2f2f;
  border: 1px solid #f0c4c0;
  padding: 12px 14px;
  border-radius: 10px;
  margin: 0 0 16px;
  font-weight: 650;
}
.form-banner-err.on { display: block; }

.pay-modal {
  position: fixed !important; inset: 0 !important; z-index: 9999 !important;
  display: flex !important; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(8, 14, 24, .72) !important;
}
.pay-modal-card {
  width: min(420px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 32px 26px 26px;
  text-align: center;
  background: #fff !important;
  color: #122033;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.pay-modal h2 { margin: 8px 0 10px; font-size: 30px; color: inherit; }
.pay-modal-copy, .pay-modal-note, .pay-modal-ref { margin: 0 0 12px; line-height: 1.45; }
.pay-modal-note { opacity: .7; font-size: 13px; }
.pay-modal-count {
  display: flex; flex-direction: column; align-items: center;
  margin: 18px 0 20px;
}
.pay-modal-num { font-size: 64px; line-height: 1; font-weight: 800; }
.pay-modal-btn {
  display: block; width: 100%; padding: 14px 16px;
  text-align: center; text-decoration: none !important; font-weight: 800;
  min-height: 48px; border-radius: 12px;
  background: #0b1220; color: #fff !important;
}
input, select, textarea, button { max-width: 100%; }
textarea { min-height: 88px; }
label { word-break: break-word; }

@media (max-width: 1024px) {
  .form-path { font-size: 12px; }
}
@media (max-width: 720px) {
  .pay-modal { align-items: flex-end; padding: 0; }
  .pay-modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    padding: 28px 20px 28px;
  }
  .dob { gap: 6px; }
  .dob-arrow { display: none; }
}
