/* CHECKOUT CSS */
.nav-secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.progress-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 40px; }
.steps-row { display: flex; align-items: center; max-width: 680px; margin: 0 auto; padding: 16px 0; }
.prog-step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.prog-step.active { color: var(--black); }
.prog-step.done { color: var(--accent); }
.prog-num { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; flex-shrink: 0; background: var(--white); }
.prog-step.active .prog-num { border-color: var(--black); background: var(--black); color: #fff; }
.prog-step.done .prog-num { border-color: var(--accent); background: var(--accent); color: #fff; }
.prog-line { flex: 1; height: 1px; background: var(--border); margin: 0 8px; }
.prog-line.done { background: var(--accent); }
.checkout-body { display: grid; grid-template-columns: 1fr 320px; align-items: start; }
.main-col { padding: 36px 40px; border-right: 1px solid var(--border); }
.sidebar-col { padding: 28px; background: var(--surface); }
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.3px; margin-bottom: 6px; }
.step-sub { font-size: 14px; color: var(--muted); font-weight: 300; margin-bottom: 24px; line-height: 1.6; }
.btn-back { background: transparent; border: 1px solid var(--border); padding: 8px 18px; border-radius: 100px; font-size: 13px; cursor: pointer; font-family: 'DM Sans', sans-serif; color: var(--muted); margin-bottom: 16px; display: inline-block; }
.rx-tabs { display: flex; gap: 0; background: var(--warm); border-radius: 12px; padding: 4px; margin-bottom: 20px; width: fit-content; }
.rx-tab { padding: 8px 18px; border-radius: 9px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; background: transparent; font-family: 'DM Sans', sans-serif; color: var(--muted); transition: all 0.15s; }
.rx-tab.active { background: #fff; color: var(--black); }
.rx-upload-zone { border: 1.5px dashed rgba(14,14,14,0.2); border-radius: 14px; padding: 36px; text-align: center; cursor: pointer; transition: border-color 0.2s; background: var(--surface); }
.rx-upload-zone:hover, .rx-upload-zone.uploaded { border-color: var(--accent-mid); background: var(--accent-light); }
.upload-icon { font-size: 32px; margin-bottom: 10px; }
.upload-title { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.upload-sub { font-size: 12px; color: var(--muted); }
.rx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rx-eye-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.rx-eye-lbl { font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.rx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rx-fld { display: flex; flex-direction: column; gap: 3px; }
.rx-fld label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.rx-fld input { border: 1px solid var(--border); border-radius: 7px; padding: 7px 10px; font-size: 13px; font-family: 'DM Sans', sans-serif; background: #fff; outline: none; }
.request-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; font-size: 14px; color: var(--muted); }
.doctor-results { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.dri { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; }
.dri:last-child { border-bottom: none; }
.dri:hover { background: #f5f2ee; }
.dri-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 11px; flex-shrink: 0; }
.dri-name { font-size: 13px; font-weight: 500; }
.dri-practice { font-size: 11px; color: var(--muted); }
.dri-dist { font-size: 12px; color: var(--muted); margin-left: auto; flex-shrink: 0; }
.token-box { background: var(--warm); border-radius: 12px; padding: 16px 18px; }
.token-lbl { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.token-row { display: flex; gap: 8px; }
.token-input { flex: 1; border: 1px solid var(--border); border-radius: 9px; padding: 9px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif; background: #fff; outline: none; letter-spacing: 2px; }
.token-btn { background: var(--black); color: #fff; border: none; padding: 9px 18px; border-radius: 9px; font-size: 13px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; }
.token-verified { display: none; font-size: 13px; color: var(--accent); font-weight: 500; margin-top: 8px; padding: 8px 12px; background: var(--accent-light); border-radius: 8px; }
.skip-link { font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer; display: block; margin-top: 8px; text-align: center; }
.addr-saved { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--accent); border-radius: 12px; background: var(--accent-light); margin-bottom: 10px; cursor: pointer; }
.addr-radio-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.addr-name { font-size: 14px; font-weight: 500; }
.addr-line { font-size: 13px; color: var(--muted); }
.lens-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.lens-opt { border: 1.5px solid var(--border); border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.15s; }
.lens-opt:hover { border-color: var(--accent-mid); }
.lens-opt.selected { border-color: var(--accent); background: var(--accent-light); }
.lens-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.lens-desc { font-size: 12px; color: var(--muted); }
.lens-price { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.hsa-note { background: #EAF3DE; border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #27500A; line-height: 1.5; margin-bottom: 16px; }
.pm-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.pm-tab { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px; text-align: center; cursor: pointer; font-size: 13px; font-family: 'DM Sans', sans-serif; background: #fff; transition: all 0.15s; }
.pm-tab.active { border-color: var(--black); background: var(--black); color: #fff; }
.place-order-btn { background: var(--accent) !important; font-size: 16px !important; margin-top: 20px; width: 100%; }
.place-order-btn:hover { background: var(--accent-mid) !important; }
.os-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.os-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.os-thumb { width: 68px; height: 48px; border-radius: 8px; background: var(--warm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.os-item-info { flex: 1; }
.os-item-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.os-item-detail { font-size: 12px; color: var(--muted); }
.os-item-price { font-size: 14px; font-weight: 600; }
.os-divider { height: 1px; background: var(--border); margin: 12px 0; }
.os-line { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.os-line.muted { color: var(--muted); }
.os-line.discount { color: var(--accent); font-weight: 500; }
.os-line.total { font-weight: 700; font-size: 16px; padding-top: 4px; }
.os-doctor-box { background: var(--accent-light); border-radius: 10px; padding: 12px 14px; margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.os-doc-av { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0; font-family: 'Syne', sans-serif; }
.os-doc-name { font-size: 12px; font-weight: 500; color: var(--accent); }
.os-doc-sub { font-size: 11px; color: var(--accent); opacity: 0.7; }
.os-trust { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.os-trust-item { font-size: 12px; color: var(--muted); }
.confirm-wrap { max-width: 560px; margin: 0 auto; padding: 48px 40px; text-align: center; }
.confirm-icon { font-size: 48px; color: var(--accent); margin-bottom: 16px; }
.confirm-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -1px; margin-bottom: 8px; }
.confirm-sub { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.7; margin-bottom: 28px; }
.confirm-box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; text-align: left; margin-bottom: 24px; }
.confirm-timeline { display: flex; flex-direction: column; text-align: left; }
.ct-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ct-item:last-child { border-bottom: none; }
.ct-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.ct-dot.done { background: var(--accent); }
.ct-dot.pending { background: var(--warm); border: 2px solid var(--warm-dark); }
.ct-title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.ct-sub { font-size: 12px; color: var(--muted); }

@media (max-width: 768px) {
  .checkout-body { grid-template-columns: 1fr; }
  .sidebar-col { border-top: 1px solid var(--border); }
  .main-col { padding: 24px 20px; }
  .rx-grid { grid-template-columns: 1fr; }
}
