/* Payment flow theme (checkout, quick checkout, success, failure).
   Same language as the site header and home hero (home-hero.css): navy ink, ScholarHat cyan to blue, Plus Jakarta Sans.
   Put class "pay-scope" on the page root and use ONLY these tokens, so light and dark stay in sync across the whole flow. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

.pay-scope {
  --p-bg: #f4f8fb;          /* page */
  --p-bg2: #eaf3f9;         /* soft fills, chips */
  --p-panel: #ffffff;       /* cards */
  --p-input: #ffffff;       /* inputs */
  --p-fg: #0f1b2d;          /* text */
  --p-muted: #55657a;       /* secondary text (5.9:1 on panel) */
  --p-line: #d6e3ed;        /* borders */
  --p-accent: #0891b2;      /* brand cyan (decorative, large text) */
  --p-accent-text: #0b6f8c; /* cyan for small text, 5.9:1 on panel */
  --p-ring: rgba(8, 145, 178, .25);
  --p-ok: #0f8a5f;
  --p-ok-bg: rgba(15, 138, 95, .10);
  --p-warn: #b45309;
  --p-err: #b91c1c;
  --p-btn: linear-gradient(135deg, #0e7490, #1d4ed8);   /* primary action, white text 5.4:1 */
  --p-btn-fg: #ffffff;
  --p-shadow: 0 14px 30px -18px rgba(15, 80, 130, .40);
  --p-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --p-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--p-font);
  color: var(--p-fg);
}

[data-bs-theme="dark"] .pay-scope {
  --p-bg: #0b1220;
  --p-bg2: #101c30;
  --p-panel: #0e1a2d;
  --p-input: #12213a;
  --p-fg: #eef7ff;
  --p-muted: #9fb3c8;
  --p-line: #223a55;
  --p-accent: #2fb8d6;
  --p-accent-text: #67d3ea;
  --p-ring: rgba(47, 184, 214, .35);
  --p-ok: #34d399;
  --p-ok-bg: rgba(52, 211, 153, .12);
  --p-warn: #fbbf24;
  --p-err: #f87171;
  --p-btn: linear-gradient(135deg, #0e7490, #2563eb);
  --p-btn-fg: #ffffff;
  --p-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7);
}
