/* =============================================================================
   PositiveGym – Plan / Pricing Section + Checkout Dialog  v2026-11
   ============================================================================= */

/* ── Pricing section ─────────────────────────────────────────────────────────── */
.pricing-section {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(72px,8vw,110px) clamp(20px,6vw,80px);
  background: var(--pg483, #0a0c0e);
  color: #f0f1f3;
  text-align: center;
  overflow: hidden;
}
.renewal-plans-main .pricing-section {
  padding: clamp(44px,6vw,72px) clamp(18px,4vw,54px);
}

.pricing-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 850;
  line-height: 1.07;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.pricing-title span { color: var(--pgt-accent, #f4d20d); }

.pricing-subtitle {
  max-width: 56ch;
  margin: 0 auto 10px;
  color: rgba(200,208,218,.72);
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  line-height: 1.65;
}

/* ── Pricing cards grid ──────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 1180px;
  margin: 32px auto 0;
}
.renewal-plans-main .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 340px;
  padding: 26px 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: linear-gradient(155deg, #1d2024, #15181c);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244,210,13,.4);
  box-shadow: 0 20px 44px rgba(0,0,0,.34);
}

.card h3 {
  margin: 0 0 12px;
  color: #f3f5f7;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Price display */
.price, .pricing-grid .card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 3px 9px;
  margin: 4px 0 12px;
  color: #f4d20d;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 850;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.price > span, .pricing-grid .card .price > span {
  font-size: .78rem;
  font-weight: 650;
  color: rgba(170,177,186,.85);
  white-space: nowrap;
}

/* Student price variants */
.price--student-discounted { gap: 4px 10px; }
.price__original {
  color: #a5adb6;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  font-weight: 650;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #e36d70;
}
.price__discounted { color: #f4d20d; font-weight: 850; }

.card > p {
  max-width: 34ch;
  margin: 8px 0 14px;
  color: #bdc4cb;
  font-size: .86rem;
  line-height: 1.6;
}
.card > .student-discount-note {
  color: #e0c950;
  font-size: .78rem;
}

/* Benefits pills */
.plan-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 16px;
}
.plan-benefit {
  padding: 7px 11px;
  border: 1px solid rgba(60,68,76,.9);
  border-radius: 999px;
  background: #20242a;
  color: #d9dee3;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
}
.plan-benefit--included {
  border-color: rgba(118,106,22,.9);
  background: #292613;
  color: #f4d951;
}

/* Card CTA button */
.card > button {
  min-width: min(100%, 190px);
  min-height: 44px;
  margin-top: auto;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #f4d20d;
  color: #151719;
  font: inherit;
  font-size: .88rem;
  font-weight: 850;
  cursor: pointer;
  transition: filter .16s, transform .16s;
}
.card > button:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* Approved student CTA override */
.btn-select-plan--student-approved {
  min-width: 180px;
  padding: 11px 22px !important;
  border: 1px solid #f4d20d !important;
  border-radius: 9px !important;
  background: #f4d20d !important;
  color: #141414 !important;
  font-weight: 850;
}
.btn-select-plan--student-approved:hover {
  background: #ffe43b !important;
  color: #141414 !important;
  box-shadow: 0 7px 20px rgba(244,210,13,.30);
}
.btn-select-plan--student-approved:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ── Terms dialog ───────────────────────────────────────────────────────────── */
.terms-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 790px);
  max-width: none;
  max-height: min(88dvh, 850px);
  padding: 0;
  overflow: hidden;
  color: #f3f4f6;
  background: transparent;
  border: 0;
}
.terms-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(6px); }

.terms-dialog__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 0;
  max-height: min(88dvh, 850px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255,215,0,.48);
  border-radius: 20px;
  background: radial-gradient(ellipse at 92% 0%, rgba(255,215,0,.08), transparent 34%),
              linear-gradient(155deg, #1b1e22, #101113 72%);
  box-shadow: 0 28px 90px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.04);
}

.terms-dialog__icon-close {
  position: absolute;
  top: 16px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: #b4bac2;
  font-size: 24px;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
}
.terms-dialog__icon-close:hover { background: rgba(255,255,255,.12); color: #fff; transform: rotate(90deg); }

.terms-dialog__eyebrow {
  margin: 0 42px 10px 0;
  color: #f4d20d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.terms-dialog__panel h2 {
  margin: 0 42px 8px 0;
  color: #fff;
  font-size: clamp(1.55rem, 4vw, 2rem);
  letter-spacing: -.02em;
}
.terms-dialog__intro {
  margin: 0 0 18px;
  color: #adb4bd;
  font-size: .9rem;
  line-height: 1.55;
}
.terms-dialog__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 16px 4px 0;
  scrollbar-color: #555d67 #171a1e;
}
.terms-dialog__content h3 {
  margin: 20px 0 8px;
  color: #f4d20d;
  font-size: .9rem;
  letter-spacing: .025em;
}
.terms-dialog__content h3:first-child { margin-top: 4px; }
.terms-dialog__content p {
  margin: 0 0 9px;
  color: #d0d5dc;
  font-size: .84rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.terms-dialog__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 0;
}
.terms-dialog__close, .terms-dialog__agree {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.terms-dialog__close {
  border: 1px solid rgba(244,210,13,.35);
  background: rgba(244,210,13,.07);
  color: #f4d20d;
  transition: background .18s;
}
.terms-dialog__close:hover { background: rgba(244,210,13,.14); border-color: rgba(244,210,13,.65); }
.terms-dialog__agree {
  border: 0;
  background: linear-gradient(135deg, #ffe35b, #ffd000);
  color: #17191c;
  box-shadow: 0 8px 22px rgba(255,208,0,.15);
  transition: filter .18s, transform .15s;
}
.terms-dialog__agree:hover { filter: brightness(1.07); transform: translateY(-1px); }
.terms-dialog button:focus-visible { outline: 2px solid #f4d20d; outline-offset: 3px; }
.terms-dialog [hidden] { display: none !important; }

/* ── Checkout / pass dialog ──────────────────────────────────────────────────── */
.pass-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(94vw, 500px);
  max-width: none;
  height: fit-content;
  max-height: min(88dvh, 780px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #fff;
}
.pass-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }
.pass-dialog.pass-dialog--otp { width: min(94vw, 430px); }
.payment-dialog { width: min(94vw, 560px); }

.pass-dialog__panel {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-height: min(88dvh, 780px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #505761 #15181c;
  scrollbar-width: thin;
  padding: 30px clamp(22px, 5vw, 34px) 28px;
  text-align: left;
  border: 1px solid rgba(255,215,0,.48);
  border-radius: 22px;
  background: radial-gradient(ellipse at 92% 0%, rgba(255,215,0,.08), transparent 34%),
              linear-gradient(155deg, #191b1e, #101113 72%);
  box-shadow: 0 28px 90px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.04);
}
.pass-dialog__panel::-webkit-scrollbar { width: 10px; }
.pass-dialog__panel::-webkit-scrollbar-track { background: #15181c; border-radius: 0 22px 22px 0; }
.pass-dialog__panel::-webkit-scrollbar-thumb { background: #505761; border: 2px solid #15181c; border-radius: 99px; }
.pass-dialog__panel::-webkit-scrollbar-thumb:hover { background: #737c87; }

.pass-dialog__close {
  position: absolute;
  top: 17px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: #aeb4bc;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s, background .18s, transform .18s;
}
.pass-dialog__close:hover { color: #fff; background: rgba(255,255,255,.12); transform: rotate(90deg); }
.pass-dialog__close:focus-visible { outline: 2px solid #ffd400; outline-offset: 3px; }

.pass-dialog__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255,215,0,.16);
  border-radius: 999px;
  background: rgba(255,215,0,.08);
  color: #f4d20d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.pass-dialog__eyebrow::before {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ffd400;
  box-shadow: 0 0 12px rgba(255,212,0,.55);
  content: "";
}

.pass-dialog__panel h2 {
  margin: 0 42px 8px 0;
  color: #fff;
  font-size: clamp(1.45rem, 5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.pass-dialog__intro {
  max-width: 38ch;
  margin: 0 0 22px;
  color: #a9afb7;
  font-size: .9rem;
  line-height: 1.55;
}

/* OTP variant overrides */
.pass-dialog--otp .pass-dialog__eyebrow,
.pass-dialog--otp [data-close-pass] { display: none !important; }

.pass-dialog--otp .pass-dialog__panel {
  padding: 30px 27px 27px;
  background: #1b1b1b;
  border-color: #f4d20d;
  border-radius: 20px;
}
.pass-dialog--otp .pass-dialog__panel h2 {
  margin: 0 0 9px;
  color: #f4d20d;
  font-size: clamp(2rem, 8vw, 2.45rem);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.pass-dialog--otp .pass-dialog__intro { max-width: none; margin-bottom: 18px; text-align: center; }
.pass-dialog--otp .pass-form__otp-step {
  margin: 0; padding: 0; border: 0; background: transparent; gap: 10px;
}
.pass-dialog--otp .pass-form__otp-step > label { text-align: center; }
.pass-dialog--otp .pass-form__otp-step > small { text-align: center; }
.pass-dialog--otp .pass-form__otp-digits { gap: 8px; }
.pass-dialog--otp .pass-form__otp-digits input { height: 52px; border-radius: 9px; }
.pass-dialog--otp .pass-form__status:empty { display: none; }
.pass-dialog--otp .pass-form__otp-actions { display: block; }
.pass-dialog--otp .pass-form__otp-actions button,
.pass-dialog--otp [data-checkout-otp-continue],
.pass-dialog--otp [data-checkout-otp-back] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1.5px solid #f4d20d;
  border-radius: 8px;
  background: transparent;
  color: #f4d20d;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.pass-dialog--otp .pass-form__otp-actions button:hover,
.pass-dialog--otp [data-checkout-otp-continue]:hover:not(:disabled),
.pass-dialog--otp [data-checkout-otp-back]:hover {
  background: #f4d20d;
  color: #111314;
}
.pass-dialog--otp [data-checkout-otp-continue]:disabled { opacity: .58; cursor: not-allowed; }
.pass-dialog--otp [data-checkout-otp-continue][hidden],
.pass-dialog--otp [data-checkout-otp-back][hidden] { display: none !important; }

/* ── Checkout form ───────────────────────────────────────────────────────────── */
.pass-form { display: grid; gap: 10px; }

.pass-form [data-registration-fields] { display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; }
.pass-form [data-registration-fields][hidden] { display: none !important; }

.pass-form label {
  margin-top: 0;
  color: #d8dce1;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.pass-form input, .pass-form select {
  box-sizing: border-box;
  width: 100%;
  min-height: 47px;
  padding: 10px 13px;
  border: 1px solid #3b424b;
  border-radius: 11px;
  background: #20242a;
  color: #f4f5f7;
  font: inherit;
  font-size: .94rem;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.pass-form .password-visibility-wrap > input { min-height: 47px; }
.pass-form input:focus, .pass-form select:focus {
  outline: none;
  border-color: #f4d20d;
  box-shadow: 0 0 0 3px rgba(244,210,13,.13);
  background: #252a30;
}
.pass-form input::placeholder { color: #9299a3; }
.pass-form select:invalid { color: #888; }

/* Student discount section */
.pass-form__student-application {
  display: grid;
  gap: 14px;
  margin: 0 0 5px;
  padding: 16px;
  border: 1px solid rgba(244,210,13,.22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(244,210,13,.07), rgba(255,255,255,.02) 55%), #15181c;
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}
.pass-form__student-application[hidden] { display: none !important; }

.pass-form__student-copy h3 {
  margin: 7px 0 6px;
  color: #f4f5f7;
  font-size: 1rem;
  letter-spacing: -.01em;
}
.pass-form__student-copy p { margin: 0; color: #aab1bb; font-size: .82rem; line-height: 1.55; }
.pass-form__student-tag { color: #f4d20d; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }

.pass-form .pass-form__student-opt-in {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #3b424b;
  border-radius: 10px;
  background: #1c2025;
  color: #f4f5f7;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
}
.pass-form .pass-form__student-opt-in input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px; min-height: 18px; height: 18px;
  margin: 0; padding: 0;
  accent-color: #f4d20d;
  cursor: pointer;
}
.pass-form .pass-form__student-opt-in:focus-within { border-color: #f4d20d; box-shadow: 0 0 0 3px rgba(244,210,13,.12); }

.pass-form__student-application [data-student-evidence] { display: grid; gap: 9px; padding-top: 13px; border-top: 1px solid #343a42; }
.pass-form__student-application [data-student-evidence][hidden] { display: none !important; }
.pass-form__student-application [data-student-evidence] small { color: #929aa5; font-size: .75rem; line-height: 1.5; }

/* Group member */
.pass-form__second-member {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid rgba(85,85,85,.7);
  border-radius: 10px;
  text-align: left;
}
.pass-form__second-member[hidden], .pass-form__qr[hidden] { display: none; }
.pass-form__second-member legend { padding: 0 6px; color: #f4d20d; font-size: .85rem; font-weight: 700; }

.pass-form__group-email-note { margin: 6px 0; color: #747c86; font-size: .8rem; line-height: 1.45; }
.pass-form__group-email-note[hidden] { display: none; }

/* Email verify */
.pass-form__email-verify {
  display: grid;
  gap: 8px;
  margin: 0 0 5px;
  padding: 12px;
  border: 1px solid #343a42;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,212,0,.06), rgba(255,255,255,.02));
}
.pass-form__email-verify > small { min-height: 0; color: #aab1bb; font-size: .76rem; line-height: 1.45; }
.pass-form__email-verify > small:empty { display: none; }
.pass-form__email-verify > small[data-state="success"] { color: #8fd6ac; }
.pass-form__email-verify > small[data-state="error"] {
  display: block;
  padding: 9px 11px;
  border: 1px solid rgba(255,110,110,.38);
  border-radius: 7px;
  background: rgba(115,31,31,.2);
  color: #faa;
}
.pass-form__email-verify > small[data-state="pending"] { color: #f4d20d; }

.pass-form__otp-hint { color: #818995 !important; }

/* OTP send / verify buttons */
.pass-form__otp-send, .pass-form__otp-entry button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #545b65;
  border-radius: 8px;
  background: #252a30;
  color: #f2f3f5;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.pass-form__otp-send:hover:not(:disabled), .pass-form__otp-entry button:hover:not(:disabled) {
  border-color: #f4d20d;
  background: #30363d;
}
.pass-form__otp-send:disabled, .pass-form__otp-entry button:disabled { opacity: .6; cursor: wait; }

.pass-form__otp-entry { display: grid; gap: 7px; }
.pass-form__otp-entry[hidden] { display: none; }
.pass-form__otp-entry label { margin: 0; }
.pass-form__otp-entry > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.pass-form__otp-entry input { min-width: 0; letter-spacing: .16em; font-variant-numeric: tabular-nums; }

/* OTP step (inline / inside form) */
.pass-form__otp-step {
  display: grid;
  gap: 10px;
  margin: 6px 0 2px;
  padding: 16px;
  border: 1px solid #343a42;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,212,0,.06), rgba(255,255,255,.02));
}
.pass-form__otp-step[hidden] { display: none; }
.pass-form__otp-step > label { margin: 0; color: #f2f3f5; font-weight: 700; }
.pass-form__otp-digits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 9px;
}
.pass-form__otp-digits input {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  height: 54px;
  padding: 0;
  border: 1px solid #545b65;
  border-radius: 9px;
  background: #252a30;
  color: #f2f3f5;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 750;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.pass-form__otp-digits input:focus {
  border-color: #f4d20d;
  box-shadow: 0 0 8px rgba(244,210,13,.28);
  outline: 2px solid rgba(244,210,13,.34);
  outline-offset: 2px;
}
.pass-form__otp-digits input:disabled { opacity: .65; }
.pass-form__otp-step > small { min-height: 0; color: #aab1bb; font-size: .78rem; line-height: 1.45; }
.pass-form__otp-step > small:empty { display: none; }
.pass-form__otp-step > small[data-state="success"] { color: #8fd6ac; }
.pass-form__otp-step > small[data-state="error"]   { color: #faa; }
.pass-form__otp-step > small[data-state="pending"] { color: #f4d20d; }

.pass-form__otp-actions { display: flex; justify-content: flex-end; gap: 10px; }
.pass-form__otp-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #545b65;
  border-radius: 8px;
  background: #252a30;
  color: #f2f3f5;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s;
}
.pass-form__otp-actions button:hover { border-color: #f4d20d; }

.pass-form__otp-back {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 1.5px solid #f4d20d;
  border-radius: 10px;
  background: transparent;
  color: #f2f3f5;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s;
}
.pass-form__otp-back:hover { background: rgba(244,210,13,.10); }
.pass-form__otp-back[hidden] { display: none !important; }

/* Global focus-visible for form controls */
.pass-form__otp-digits input:focus-visible,
.pass-form__otp-send:focus-visible,
.pass-form__otp-entry button:focus-visible,
.pass-form__otp-actions button:focus-visible,
.pass-form__otp-back:focus-visible,
.pass-form__submit:focus-visible,
.pass-form__cancel:focus-visible {
  outline: 2px solid #f4d20d;
  outline-offset: 3px;
}

/* QR payment panel */
.pass-form__qr {
  display: grid;
  justify-items: center;
  margin-top: 4px;
  padding: clamp(18px, 5vw, 26px);
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  color: #242424;
  text-align: center;
}
.pass-form__qr[hidden] { display: none; }

.pass-form__step {
  margin: 0 0 7px;
  color: #666;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.pass-form__qr h3 { margin: 0 0 16px; color: #171717; font-size: 1.1rem; }
.pass-form__amount { margin: -8px 0 16px; color: #174f3f; font-size: 1rem; font-weight: 800; }
.pass-form__qr img {
  display: block;
  width: min(230px, 100%);
  max-height: 38dvh;
  height: auto;
  margin: auto;
  object-fit: contain;
  image-rendering: pixelated;
}
.pass-form__test-link {
  display: inline-block;
  margin: 10px 0;
  padding: 12px 18px;
  border-radius: 8px;
  background: #174f3f;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s;
}
.pass-form__test-link:hover { background: #216b55; }
.pass-form__test-link[hidden] { display: none; }
.pass-form__qr p { max-width: 300px; margin: 14px 0 0; font-size: .92rem; line-height: 1.5; }
.pass-form__qr [data-pass-payment-status] { font-weight: 700; }
.pass-form__qr-help { color: #666; }

/* Awaiting-payment: hide form fields */
.pass-form--awaiting-payment > label,
.pass-form--awaiting-payment > input:not([type="hidden"]),
.pass-form--awaiting-payment > select,
.pass-form--awaiting-payment > .pass-form__second-member,
.pass-form--awaiting-payment > [data-registration-fields],
.pass-form--awaiting-payment > .pass-form__email-verify,
.pass-form--awaiting-payment > .pass-form__otp-step,
.pass-form--awaiting-payment > .pass-form__otp-back,
.pass-form--awaiting-payment > .pass-form__submit,
.pass-form--awaiting-payment > .pass-form__status { display: none; }

/* Cancel / Submit */
.pass-form__cancel {
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: #aab1bb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}
.pass-form__cancel:hover { background: rgba(255,255,255,.10); color: #f0f1f3; }

.pass-form__student-app {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe35b, #ffd000);
  color: #17191c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255,208,0,.15);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.pass-form__student-app:hover { background: #ffe45c; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255,208,0,.22); }

.pass-form__student-note {
  margin: 8px 0 0;
  color: #7a8290;
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
}

.pass-form__back-btn {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #98a0aa;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}
.pass-form__back-btn:hover { color: #f4d20d; }

.pass-form__submit {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe35b, #ffd000);
  color: #17191c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255,208,0,.15);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.pass-form__submit:hover { background: #ffe45c; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255,208,0,.22); }
.pass-form__submit:disabled { cursor: wait; opacity: .7; transform: none; }

.pass-form__status {
  min-height: 1.3em;
  margin: 4px 0 0;
  color: #f4d20d;
  font-size: .9rem;
  line-height: 1.5;
}
.pass-form__status[data-state="checking"] { color: #f4d20d; }
.pass-form__status[data-state="success"]  { color: #8fd6ac; }
.pass-form__status[data-state="error"] {
  min-height: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255,139,139,.35);
  border-radius: 9px;
  background: rgba(255,85,85,.09);
  color: #ff8b8b;
}

/* Receipt */
.pass-form__receipt {
  width: 100%;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  text-align: left;
}
.pass-form__receipt h4 { margin: 0 0 10px; color: #8fd6ac; font-size: 1rem; }
.pass-form__receipt dl {
  display: grid;
  grid-template-columns: minmax(100px, auto) 1fr;
  gap: 7px 12px;
  margin: 0;
  font-size: .88rem;
}
.pass-form__receipt dt { color: rgba(180,188,200,.70); }
.pass-form__receipt dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }

.pass-form__login-link {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: 8px;
  background: #174f3f;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s;
}
.pass-form__login-link[hidden] { display: none; }
.pass-form__login-link:hover { background: #216b55; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .renewal-plans-main .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .pricing-section { padding: 36px 16px; }
  .pricing-grid { grid-template-columns: minmax(0,1fr); gap: 14px; margin-top: 22px; }
  .pricing-grid .card { min-height: 0; padding: 20px 17px; }
  .pricing-grid .card .price { font-size: 2rem; }
  .pricing-grid .card > p { margin: 5px 0 12px; }
}
@media (max-width: 600px) {
  .renewal-plans-main .pricing-section { padding: 38px 16px; }
  .renewal-plans-main .pricing-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
}
@media (max-width: 520px) {
  .pass-dialog { width: min(94vw, 500px); max-height: 92dvh; }
  .pass-dialog__panel { max-height: 92dvh; padding: 23px 18px 22px; }
  .pass-dialog__intro { margin-bottom: 18px; font-size: .86rem; }
  .pass-dialog__panel h2 { margin-bottom: 7px; }
  .pass-form { gap: 9px; }
  .pass-form__qr { padding: 18px 14px; }
  .terms-dialog { width: 94vw; max-height: 92dvh; }
  .terms-dialog__panel { max-height: 92dvh; padding: 24px 18px 18px; }
  .terms-dialog__content p { font-size: .8rem; }
}

/* ── Light mode ─────────────────────────────────────────────────────────────── */
html[data-theme="light"] .pricing-section { background: #f0f2f5; color: #0f1217; }
html[data-theme="light"] .pricing-title { color: #0f1217; }
html[data-theme="light"] .pricing-title span { color: #c9a000; }
html[data-theme="light"] .pricing-subtitle { color: #3c4250; }
html[data-theme="light"] .pricing-grid .card {
  background: #ffffff;
  border-color: rgba(15,23,42,.09);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
html[data-theme="light"] .pricing-grid .card:hover {
  border-color: rgba(201,160,0,.4);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
html[data-theme="light"] .pricing-grid .card h3 { color: #0f1217; }
html[data-theme="light"] .pricing-grid .card > p { color: #3c4250; }
html[data-theme="light"] .pricing-grid .card .price { color: #c9a000; }
html[data-theme="light"] .pricing-grid .card .plan-benefit { background: #f4f5f7; border-color: rgba(15,23,42,.12); color: #3c4250; }
html[data-theme="light"] .pricing-grid .card .plan-benefit--included { background: rgba(201,160,0,.10); border-color: rgba(201,160,0,.3); color: #8a6c00; }
html[data-theme="light"] .pricing-grid .card > button { background: #c9a000; }
html[data-theme="light"] .student-discount-note { color: #8a6c00; }

/* ── Light mode: pass-dialog / terms-dialog / student-application ─────────── */
html[data-theme="light"] .pass-dialog__panel {
  background: #ffffff;
  border-color: rgba(201,160,0,.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  scrollbar-color: #c8ced8 #f0f2f5;
}
html[data-theme="light"] .pass-dialog__panel::-webkit-scrollbar-track { background: #f0f2f5; }
html[data-theme="light"] .pass-dialog__panel::-webkit-scrollbar-thumb { background: #c8ced8; border-color: #f0f2f5; }

html[data-theme="light"] .pass-dialog__close {
  border-color: rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
  color: #5a6270;
}
html[data-theme="light"] .pass-dialog__close:hover { color: #0f1217; background: rgba(0,0,0,.09); }

html[data-theme="light"] .pass-dialog__panel h2 { color: #0f1217; }
html[data-theme="light"] .pass-dialog__intro { color: #4a5260; }

html[data-theme="light"] .pass-form label { color: #2d3340; }

html[data-theme="light"] .pass-form input,
html[data-theme="light"] .pass-form select {
  background: #f4f5f7;
  border-color: #d0d5dd;
  color: #0f1217;
}
html[data-theme="light"] .pass-form input:focus,
html[data-theme="light"] .pass-form select:focus {
  background: #fff;
  border-color: #c9a000;
  box-shadow: 0 0 0 3px rgba(201,160,0,.14);
}
html[data-theme="light"] .pass-form input::placeholder { color: #9299a3; }
html[data-theme="light"] .pass-form select:invalid { color: #7a8290; }

html[data-theme="light"] .pass-form__otp-step { border-color: rgba(0,0,0,.08); }
html[data-theme="light"] .pass-form__otp-digits input {
  background: #f4f5f7;
  border-color: #d0d5dd;
  color: #0f1217;
}
html[data-theme="light"] .pass-form__otp-digits input:focus {
  background: #fff;
  border-color: #c9a000;
  box-shadow: 0 0 0 3px rgba(201,160,0,.14);
}

html[data-theme="light"] .pass-form__group-email-note { color: #4a5260; }
html[data-theme="light"] .pass-form__student-note { color: #5a6270; }
html[data-theme="light"] .pass-form__back-btn { color: #5a6270; }
html[data-theme="light"] .pass-form__back-btn:hover { color: #c9a000; }

html[data-theme="light"] .pass-form__cancel {
  color: #4a5260;
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.12);
}
html[data-theme="light"] .pass-form__cancel:hover { background: rgba(0,0,0,.08); color: #0f1217; }

html[data-theme="light"] .pass-form__qr { border-color: rgba(0,0,0,.08); }
html[data-theme="light"] .pass-form__qr h3,
html[data-theme="light"] .pass-form__qr p { color: #2d3340; }
html[data-theme="light"] .pass-form__qr-help { color: #5a6270; }
html[data-theme="light"] .pass-form__receipt {
  background: #f4f5f7;
  border-color: rgba(0,0,0,.08);
}
html[data-theme="light"] .pass-form__receipt dt { color: #5a6270; }
html[data-theme="light"] .pass-form__receipt dd { color: #0f1217; }

html[data-theme="light"] .pass-form__status { color: #c9a000; }
html[data-theme="light"] .pass-form__status[data-state="success"] { color: #2a7d4f; }
html[data-theme="light"] .pass-form__status[data-state="error"] {
  border-color: rgba(200,50,50,.25);
  background: rgba(200,50,50,.06);
  color: #b93333;
}

/* Terms dialog */
html[data-theme="light"] .terms-dialog__panel {
  background: #ffffff;
  border-color: rgba(201,160,0,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
html[data-theme="light"] .terms-dialog__panel h2 { color: #0f1217; }
html[data-theme="light"] .terms-dialog__intro { color: #4a5260; }
html[data-theme="light"] .terms-dialog__content { color: #2d3340; }
html[data-theme="light"] .terms-dialog__content h2,
html[data-theme="light"] .terms-dialog__content h3 { color: #c9a000; }
html[data-theme="light"] .terms-dialog__content p { color: #2d3340; }
html[data-theme="light"] .terms-dialog__actions {
  background: #f4f5f7;
  border-top-color: rgba(0,0,0,.08);
}
html[data-theme="light"] .terms-dialog__close {
  border-color: rgba(0,0,0,.14);
  background: rgba(0,0,0,.04);
  color: #2d3340;
}
html[data-theme="light"] .terms-dialog__close:hover { background: rgba(0,0,0,.09); }
html[data-theme="light"] .terms-dialog__icon-close {
  border-color: rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
  color: #5a6270;
}
html[data-theme="light"] .terms-dialog__icon-close:hover { color: #0f1217; background: rgba(0,0,0,.09); }

/* Payment dialog */
html[data-theme="light"] .payment-dialog .pass-dialog__panel {
  background: #ffffff;
}
html[data-theme="light"] [data-payment-setup-status] { color: #c9a000; }
html[data-theme="light"] [data-payment-setup-status][data-state="success"] { color: #2a7d4f; }
html[data-theme="light"] [data-payment-setup-status][data-state="error"] { color: #b93333; }

/* Student application evidence section */
html[data-theme="light"] .student-application-evidence {
  border-color: rgba(0,0,0,.12);
}
html[data-theme="light"] .student-application-evidence legend { color: #c9a000; }
html[data-theme="light"] .student-application-evidence small { color: #5a6270; }
