/* ==========================================================================
   Manual payment page — Illustra 3.0
   ========================================================================== */

.pay-card { max-width: 520px; }

.pay-steps {
  margin: 8px 0 20px;
  padding-left: 20px;
  text-align: left;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pay-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

/* The QR image is a full bank poster with the code in the middle, so it needs
   to be shown large enough for the code itself to scan. */
.pay-qr img {
  width: 360px;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-rect);
  background: #fff;
  padding: 8px;
}

.pay-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 20px;
}

.pay-field { display: flex; flex-direction: column; gap: 6px; }
.pay-field > span { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.pay-field small { color: var(--ink-faint); font-size: 0.8rem; }

.pay-field input,
.pay-field select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-rect);
  background: #fff;
  color: var(--ink);
}

.pay-field input:focus,
.pay-field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.pay-amount {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.pay-warning {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--maroon);
  border-radius: var(--radius-rect);
  background: var(--maroon-tint);
  color: var(--maroon-deep);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

.pay-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--radius-rect);
  background: var(--maroon-tint);
  color: var(--maroon-deep);
  font-size: 0.9rem;
}

#paySubmit[disabled] { opacity: 0.6; cursor: wait; }

/* Pending-confirmation state on the submitted page */
.pending-icon {
  width: 88px;
  height: 88px;
  margin: 8px 0 16px;
  color: var(--gold);
}

/* ---------------------------------------------------------------------
   Payment status page + shared action row
   --------------------------------------------------------------------- */

/* The E-Ticketing credit is the page's branding, so it is larger here than
   on the success page (0.78rem). */
.success-credit-lg {
  font-size: 0.95rem;
  margin: 18px 0 6px;
}

.pay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pay-status-link {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.pay-status-link a {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.status-result {
  width: 100%;
  margin: 0 0 24px;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-rect);
  background: #fff;
  text-align: center;
}

.status-answer {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.status-yes { color: #2e7d4f; }
.status-no { color: var(--maroon); }

.status-caption {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
