/* AskMed web plan step (layout 1). Uses the tokens and header from web.css. */
.plan-page { background: var(--bg); }
.pl-wrap { width: 100%; max-width: 460px; margin: 0 auto; padding: 18px 18px 48px; }

.pl-steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--secondary); }
.pl-steps .on { color: var(--primary); }
.pl-bar { height: 3px; background: var(--stroke); border-radius: 2px; margin-top: 8px; position: relative; }
.pl-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 33%; background: var(--primary); border-radius: 2px; }

.pl-title { font-family: var(--serif); font-size: 32px; line-height: 1.08; letter-spacing: -0.8px; margin: 26px 0 0; }
.pl-sub { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.pl-rate { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; }
.pl-rate img { border-radius: 7px; }
.pl-stars { color: var(--gold); letter-spacing: 1px; }

.pl-plans { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.pl-plans legend { padding: 0; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.pl-opt { display: block; position: relative; margin-top: 10px; background: #FFFFFF; border: 1.5px solid var(--stroke); border-radius: 14px; padding: 14px; cursor: pointer; }
.pl-opt.sel { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18, 89, 181, 0.12); }
.pl-opt:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.pl-pop { display: block; margin: -14px -14px 12px; padding: 5px; border-radius: 12px 12px 0 0; background: var(--primary); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-align: center; }
.pl-row { display: flex; align-items: center; gap: 12px; }
.pl-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pl-radio { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B9C3D3; }
.pl-opt.sel .pl-radio { border: 6px solid var(--primary); }
.pl-name { flex: 1; font-weight: 700; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pl-name small { flex-basis: 100%; font-weight: 500; font-size: 12px; color: var(--secondary); }
.pl-save { background: #FFF4CC; color: #7A5A00; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; }
.pl-price { text-align: right; font-weight: 700; font-size: 16px; white-space: nowrap; }
.pl-price small { display: block; font-weight: 500; font-size: 12px; color: var(--secondary); }

.pl-maxben { display: none; list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--stroke); }
.pl-opt.sel .pl-maxben { display: block; }
.pl-maxben li { position: relative; padding: 3px 0 3px 22px; font-size: 13px; }
.pl-maxben li::before { content: '✓'; position: absolute; left: 2px; color: var(--primary); font-weight: 700; }

.pl-code { margin-top: 18px; }
.pl-code label { font-size: 13px; font-weight: 700; }
.pl-code-box { display: flex; margin-top: 6px; background: #FFFFFF; border: 1px solid var(--stroke); border-radius: 10px; overflow: hidden; }
.pl-code-box input { flex: 1; min-width: 0; border: 0; padding: 12px; font: inherit; font-size: 16px; background: transparent; color: var(--text); }
.pl-code-box input:focus { outline: none; }
.pl-code-box:focus-within { border-color: var(--primary); }
.pl-code-box button { border: 0; background: transparent; color: var(--primary); font: inherit; font-weight: 700; font-size: 14px; padding: 0 14px; cursor: pointer; }

.pl-continue { display: block; margin-top: 18px; padding: 16px; border-radius: 999px; background: var(--primary); color: #FFFFFF; text-align: center; text-decoration: none; font-weight: 700; font-size: 17px; }
.pl-continue:hover { background: var(--deep); color: #FFFFFF; }
.pl-fine { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--secondary); }
.pl-fine a { font-weight: 700; text-decoration: none; }

@media (min-width: 640px) {
  .pl-wrap { padding-top: 36px; }
  .pl-title { font-size: 38px; }
}

/* The whole plan page uses the header's light blue; the footer is the same as the landing page's. */
body.plan-page { background: var(--highlight); }
/* No Get AskMed button here, so Sign in fits on every phone. */
.plan-page .ghost-btn { display: inline-flex; }
.plan-page .pl-wrap { padding-bottom: 72px; }



/* 02 Account and 03 App (account.html, app.html). */
[hidden] { display: none !important; }
.pl-steps .done { color: var(--primary); }
.pl-bar i.w2 { width: 66%; }
.pl-bar i.w3 { width: 100%; }
.ac-paid { display: inline-block; margin: 22px 0 -12px; padding: 5px 10px; border-radius: 999px; background: #E3F6EC; color: #16794A; font-size: 13px; font-weight: 700; }
.ac-providers { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.ac-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.ac-apple { background: #000000; color: #FFFFFF; border: 0; }
.ac-google { display: flex; justify-content: center; min-height: 44px; }
.ac-google:empty { display: none; }
.ac-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; color: var(--secondary); font-size: 13px; }
.ac-or::before, .ac-or::after { content: ''; flex: 1; height: 1px; background: var(--stroke); }
.ac-form { margin-top: 10px; }
.ac-form label { display: block; font-size: 13px; font-weight: 700; }
.ac-form input { display: block; width: 100%; margin-top: 6px; padding: 13px 12px; border: 1px solid var(--stroke); border-radius: 10px; background: #FFFFFF; font: inherit; font-size: 16px; color: var(--text); }
.ac-form input:focus { outline: none; border-color: var(--primary); }
.ac-form #code { letter-spacing: 6px; font-size: 20px; text-align: center; }
.ac-form .pl-continue { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.ac-form .pl-continue:disabled { opacity: 0.6; cursor: default; }
.ac-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--primary); cursor: pointer; }
.ac-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: #A1261D; font-size: 14px; }
.ac-new { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--secondary); }
.ac-new a { font-weight: 700; color: var(--primary); text-decoration: none; }

.ap-card { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px; background: #FFFFFF; border: 1.5px solid var(--stroke); border-radius: 14px; }
.ap-card img { border-radius: 11px; }
.ap-plan { font-weight: 700; font-size: 17px; }
.ap-email { color: var(--secondary); font-size: 14px; word-break: break-all; }
.ap-wait { margin: 10px 0 0; font-size: 14px; color: var(--secondary); }
.ap-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }
.ap-steps li { counter-increment: step; position: relative; padding: 8px 0 8px 40px; font-size: 15px; }
.ap-steps li::before { content: counter(step); position: absolute; left: 0; top: 6px; width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; border: 1.5px solid var(--primary); color: var(--primary); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
