/* BILLING-REVAMP-01.2B-UI — Unified three-step presentation.
   Scoped to checkout pages. No transactional logic or credential handling. */
.thynk-checkout-shell {
  --thynk-navy: #002D4D;
  --thynk-teal: #2FCDCF;
  --thynk-muted: #617587;
  --thynk-border: #dce6ed;
  --thynk-surface: #f6f9fb;
  color: var(--thynk-navy);
  background: var(--thynk-surface);
  min-height: 100vh;
  font-family: inherit;
  box-sizing: border-box;
}
.thynk-checkout-shell *, .thynk-checkout-shell *::before, .thynk-checkout-shell *::after { box-sizing: border-box; }
.thynk-checkout-shell a { text-decoration: none; }
.thynk-checkout-shell a:focus-visible, .thynk-checkout-shell button:focus-visible,
.thynk-checkout-shell input:focus-visible { outline: 3px solid var(--thynk-teal); outline-offset: 3px; }
.thynk-checkout-topbar {
  min-height: 78px; padding: 14px max(24px, calc((100vw - 1180px)/2));
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-bottom: 1px solid var(--thynk-border);
}
.thynk-checkout-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--thynk-navy); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.thynk-checkout-logo strong { color: #00aeb8; }
.thynk-checkout-logo-mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: var(--thynk-navy); color: var(--thynk-teal);
  font-size: 21px; font-weight: 800;
}
.thynk-checkout-secure { color: var(--thynk-muted); font-size: 13px; }
.thynk-checkout-container { max-width: 1120px; margin: 0 auto; padding: 36px 24px 72px; }
.thynk-checkout-progress { max-width: 790px; margin: 0 auto 42px; }
.thynk-checkout-progress ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 0; padding: 0; position: relative; }
.thynk-checkout-progress li { display: flex; flex-direction: column; align-items: center; position: relative; gap: 9px; text-align: center; color: #82919b; font-size: 13px; font-weight: 600; }
.thynk-checkout-progress li:not(:last-child)::after { content: ''; display: block; position: absolute; height: 3px; top: 17px; left: calc(50% + 22px); width: calc(100% - 44px); background: #dce5ec; }
.thynk-checkout-progress li.is-complete:not(:last-child)::after { background: var(--thynk-teal); }
.thynk-checkout-step-number { display: grid; place-items: center; border: 2px solid #d1dce3; background: white; color: #728390; border-radius: 50%; width: 38px; height: 38px; line-height: 1; font-size: 14px; z-index: 1; }
.thynk-checkout-progress li.is-current .thynk-checkout-step-number { background: var(--thynk-navy); color: #fff; border-color: var(--thynk-navy); box-shadow: 0 0 0 4px rgba(47,205,207,.14); }
.thynk-checkout-progress li.is-complete .thynk-checkout-step-number { background: var(--thynk-teal); color: var(--thynk-navy); border-color: var(--thynk-teal); }
.thynk-checkout-progress li.is-current .thynk-checkout-step-label,
.thynk-checkout-progress li.is-complete .thynk-checkout-step-label { color: var(--thynk-navy); }
.thynk-checkout-page-intro { margin: 0 0 24px; }
.thynk-checkout-eyebrow { display: block; color: #079ca7; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.thynk-checkout-page-intro h1 { color: var(--thynk-navy); font-size: clamp(27px,3vw,36px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 9px; }
.thynk-checkout-page-intro p { color: var(--thynk-muted); font-size: 15px; line-height: 1.55; margin: 0; }
.thynk-checkout-plan-stage { max-width: 900px; margin: auto; }
.thynk-checkout-plan-card, .thynk-checkout-summary { background: white; border: 1px solid var(--thynk-border); border-radius: 18px; box-shadow: 0 12px 35px rgba(0,45,77,.045); }
.thynk-checkout-plan-card { overflow: hidden; }
.thynk-checkout-plan-heading { display: flex; gap: 18px; align-items: center; padding: 28px 32px 20px; }
.thynk-checkout-plan-icon { width: 64px; height: 56px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: #eafafa; border: 1px solid #caeeee; font-size: 14px; font-weight: 800; color: #007e89; }
.thynk-checkout-plan-heading h2 { margin: 0 0 4px; font-size: 24px; line-height: 1.3; color: var(--thynk-navy); }
.thynk-checkout-plan-heading p { margin: 0; color: var(--thynk-muted); font-size: 14px; }
.thynk-checkout-plan-content { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.85fr); border-top: 1px solid var(--thynk-border); }
.thynk-checkout-benefits { padding: 27px 32px 31px; }
.thynk-checkout-benefits h3 { margin: 0 0 14px; color: var(--thynk-navy); font-size: 17px; }
.thynk-checkout-benefits ul,.thynk-checkout-summary ul { list-style: none; margin: 0 0 16px; padding: 0; }
.thynk-checkout-benefits li, .thynk-checkout-summary li { position: relative; padding-left: 25px; margin-bottom: 13px; font-size: 14px; line-height: 1.48; color: #41596a; }
.thynk-checkout-benefits li::before, .thynk-checkout-summary li::before { content: '✓'; color: #068f9a; position: absolute; left: 1px; font-weight: 800; }
.thynk-checkout-muted,.thynk-checkout-under-note { color: var(--thynk-muted); font-size: 13px; line-height: 1.55; }
.thynk-checkout-price-panel { background: #f5fbfc; padding: 27px 28px; border-left: 1px solid var(--thynk-border); display: flex; flex-direction: column; justify-content: center; }
.thynk-checkout-price { color: var(--thynk-navy); font-size: clamp(27px,3vw,33px); font-weight: 800; white-space: nowrap; margin: 2px 0 23px; }
.thynk-checkout-price small { color: var(--thynk-muted); font-weight: 500; font-size: 13px; }
.thynk-checkout-primary-button { display: block; width: 100%; text-align: center; padding: 14px 18px; background: var(--thynk-teal); color: var(--thynk-navy) !important; border-radius: 10px; font-weight: 800; transition: background .15s ease; }
.thynk-checkout-primary-button:hover { background: #23b9c0; }
.thynk-checkout-price-panel p { text-align: center; font-size: 13px; line-height: 1.5; color: var(--thynk-muted); margin: 16px 0 0; }
.thynk-checkout-price-panel p a, .thynk-checkout-change-plan { color: #007e89; text-decoration: underline; font-weight: 700; }
.thynk-checkout-under-note { text-align: center; margin: 21px 0 0; }
/* Existing authentication cards remain the canonical WordPress forms. */
.thynk-checkout-auth-stage { max-width: 960px; margin: 0 auto; }
.thynk-checkout-auth-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(285px,.85fr); gap: 30px; align-items: start; }
.thynk-checkout-auth-main { min-width: 0; }
.thynk-checkout-shell .think-auth-page { display: block; background: transparent; min-height: 0; height: auto; margin: 0; padding: 0; width: 100%; }
.thynk-checkout-shell .think-auth-card { box-shadow: 0 12px 35px rgba(0,45,77,.045); border: 1px solid var(--thynk-border); border-radius: 18px; background: #fff; margin: 0; padding: 34px; max-width: none; min-width: 0; width: 100%; }
.thynk-checkout-shell .think-auth-brand { display: none; }
.thynk-checkout-shell .think-auth-header { margin: 0 0 24px; }
.thynk-checkout-shell .think-auth-header h1 { font-size: 26px; line-height: 1.25; color: var(--thynk-navy); }
.thynk-checkout-shell .think-auth-header p { color: var(--thynk-muted); font-size: 14px; line-height: 1.55; }
.thynk-checkout-shell .think-login-button { background: var(--thynk-teal); color: var(--thynk-navy); border: 0; border-radius: 10px; font-weight: 800; padding: 13px 18px; }
.thynk-checkout-shell .think-login-form input:not([type=checkbox]):not([type=hidden]) { max-width: 100%; }
.thynk-checkout-shell .think-auth-register a { color: #007e89; font-weight: 700; text-decoration: underline; }
.thynk-checkout-summary { padding: 26px; }
.thynk-checkout-summary-plan { display: flex; gap: 12px; align-items: center; padding: 14px 0 18px; border-bottom: 1px solid var(--thynk-border); margin-bottom: 20px; }
.thynk-checkout-summary-plan .thynk-checkout-plan-icon { width: 52px; height: 50px; font-size: 12px; }
.thynk-checkout-summary-plan strong { display: block; font-size: 14px; line-height: 1.45; }
.thynk-checkout-summary-plan span { color: var(--thynk-muted); font-size: 12px; }
.thynk-checkout-summary h2 { font-size: 15px; margin: 0 0 12px; }
.thynk-checkout-summary li { font-size: 13px; margin-bottom: 10px; }
.thynk-checkout-summary-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--thynk-border); margin-top: 22px; padding-top: 20px; }
.thynk-checkout-summary-total span { font-size: 13px; color: var(--thynk-muted); }
.thynk-checkout-summary-total strong { font-size: 21px; color: var(--thynk-navy); }
.thynk-checkout-summary p { font-size: 12px; line-height: 1.6; color: var(--thynk-muted); margin: 16px 0; }
.thynk-checkout-payment-stage { max-width: 880px; margin: 0 auto; }
.thynk-checkout-payment-stage .think-billing-page { max-width: none; padding: 0; width: 100%; }
.thynk-checkout-payment-stage .think-billing-header:first-child { display: none; }
.thynk-checkout-payment-stage .think-billing-card { background: white; border: 1px solid var(--thynk-border); border-radius: 18px; padding: 30px; margin-bottom: 18px; box-shadow: 0 12px 35px rgba(0,45,77,.045); }
.thynk-checkout-payment-stage .think-billing-card h2 { color: var(--thynk-navy); }
.thynk-checkout-payment-stage .think-billing-button { background: var(--thynk-teal); color: var(--thynk-navy); border-radius: 10px; }
.thynk-checkout-payment-stage #think-qris-payment .think-qris-payment-card { max-width: none; padding: 24px 0; border: 0; box-shadow: none; }
@media (max-width: 800px) {
  .thynk-checkout-plan-content, .thynk-checkout-auth-grid { grid-template-columns: minmax(0,1fr); }
  .thynk-checkout-price-panel { border-left: 0; border-top: 1px solid var(--thynk-border); }
  .thynk-checkout-auth-grid { gap: 18px; }
}
@media (max-width: 540px) {
  .thynk-checkout-topbar { min-height: 65px; padding: 12px 16px; }
  .thynk-checkout-secure { display: none; }
  .thynk-checkout-container { padding: 24px 15px 48px; }
  .thynk-checkout-progress { margin-bottom: 28px; }
  .thynk-checkout-progress li { font-size: 11px; gap: 8px; }
  .thynk-checkout-step-number { width: 32px; height: 32px; }
  .thynk-checkout-progress li:not(:last-child)::after { top: 14px; left: calc(50% + 19px); width: calc(100% - 38px); }
  .thynk-checkout-plan-heading { padding: 22px; gap: 12px; }
  .thynk-checkout-plan-heading h2 { font-size: 19px; }
  .thynk-checkout-benefits, .thynk-checkout-price-panel { padding: 22px; }
  .thynk-checkout-shell .think-auth-card, .thynk-checkout-summary { padding: 23px; }
  .thynk-checkout-payment-stage .think-billing-card { padding: 20px; }
  .thynk-checkout-page-intro h1 { font-size: 26px; }
  .thynk-checkout-price { white-space: normal; }
}
