/* ─────────────────────────────────────────────────────────────────────────────
   Intake Form — all steps including the final approval panel (step-11).
   Replaces: medvi-intake.css + last-step.css
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Base typography ──────────────────────────────────────────────────────── */
* { font-family: 'Poppins', sans-serif; }

/* ── Inline validation error ─────────────────────────────────────────────── */
.intake-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: #fff1f2;
  border: 1.5px solid #fca5a5;
  color: #b91c1c;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 2px;
}
.intake-error::before {
  content: '⚠';
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* ── Progress bar ─────────────────────────────────────────────────────────── */
.progress-step         { width: 56px; height: 6px; border-radius: 3px; background: #e5e7eb; }
.progress-step.active  { background: var(--green); }
.progress-step.partial { background: var(--green); }
.progress-wrap         { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.progress-wrap .flex   { flex: 1; }

/* ── Back button ──────────────────────────────────────────────────────────── */
.btn-back {
  width: 36px; height: 36px; border: 0; background: transparent; color: #6b7280;
  font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.btn-back:hover { background: #f3f4f6; color: #111827; }

/* ── Step panels ──────────────────────────────────────────────────────────── */
.step-panel          { display: block; }
.step-panel[hidden]  { display: none; }

/* ── Loading overlay ─────────────────────────────────────────────────────── */
#intake-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; padding: 40px 16px;
}
#intake-loading[hidden] { display: none; }
.intake-loading__inner  { text-align: center; max-width: 320px; width: 100%; }
.intake-loading__spinner { width: 52px; height: 52px; margin: 0 auto 20px; }
.intake-loading__spinner svg { width: 100%; height: 100%; }
.intake-loading__title  {
  font-size: 17px; font-weight: 700; color: #1f2937; margin-bottom: 24px;
}
.intake-loading__steps  { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.intake-loading__step   {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #9ca3af; font-weight: 500;
  transition: color 0.3s;
}
.intake-loading__step.active { color: var(--green); }
.intake-loading__step.done   { color: #1f2937; }
.intake-loading__dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #e5e7eb; transition: background 0.3s;
}
.intake-loading__step.active .intake-loading__dot { background: var(--green); }
.intake-loading__step.done   .intake-loading__dot { background: var(--green); }

/* ── Typography helpers ───────────────────────────────────────────────────── */
.section-title  { font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.section-sub    { font-size: 12.5px; color: #6b7280; margin-bottom: 12px; }
.step-lead      { font-size: 1.5rem; font-weight: 700; color: #111827; line-height: 1.3; text-align: center; margin-bottom: 1.25rem; }
.step6-lead     { font-size: 1.125rem; font-weight: 700; color: #111827; margin-bottom: 1.25rem; line-height: 1.35; }
.unique-headline { font-size: 1.35rem; font-weight: 700; color: #111827; line-height: 1.35; margin-bottom: 0.5rem; }
.unique-sub      { font-size: 0.875rem; color: #6b7280; margin-bottom: 1rem; line-height: 1.45; }
.eligibility-title { font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: 1rem; }

.perfect-title {
  font-size: 1.75rem; font-weight: 700; color: #111827; text-align: center;
  margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid #e5e7eb;
}
.perfect-body {
  font-size: 1rem; color: #374151; text-align: center; line-height: 1.5;
  margin: 0 0 2rem; padding-top: 0.25rem;
}
.perfect-body strong { font-weight: 700; color: #111827; }

/* ── Star rating ──────────────────────────────────────────────────────────── */
.stars { color: var(--green); letter-spacing: 1px; }

/* ── Form controls ────────────────────────────────────────────────────────── */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"] {
  border: 1.5px solid #e5e7eb; border-radius: 8px;
  padding: 10px 14px; font-size: 14px; color: #374151;
  outline: none; width: 100%; transition: border-color 0.15s;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus { border-color: var(--green); }

select {
  border: 1.5px solid #e5e7eb; border-radius: 8px;
  padding: 10px 14px; font-size: 14px; color: #374151;
  outline: none; width: 100%; background: white; transition: border-color 0.15s;
}
select:focus { border-color: var(--green); }

/* Custom select — chevron + full explicit padding (prevents collapsed height) */
.select-custom {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding: 10px 36px 10px 14px; /* explicit all-sides so appearance:none doesn't strip UA padding */
}
.select-custom:focus { border-color: var(--green); }

textarea {
  border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 10px 14px !important;
  font-size: 14px; color: #374151; outline: none; width: 100%; min-height: 100px;
  resize: vertical; transition: border-color 0.15s; box-sizing: border-box;
}
textarea:focus       { border-color: var(--green); }
textarea::placeholder { color: #9ca3af; }

/* ── Hero image ───────────────────────────────────────────────────────────── */
.hero-img {
  width: 100%; height: 200px; object-fit: cover; border-radius: 12px;
  background: linear-gradient(135deg, var(--green) 0%, var(--nulife-teal-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}

/* ── Next button ──────────────────────────────────────────────────────────── */
.btn-next {
  background: var(--green); color: white; border-radius: 8px; padding: 14px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.15s;
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-next:hover { background: var(--nulife-teal-deep); }

/* ── Pace cards ───────────────────────────────────────────────────────────── */
.pace-block    { border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; padding: 1.25rem 0; margin-bottom: 1.5rem; }
.pace-headline { font-size: 1.35rem; font-weight: 700; color: #111827; line-height: 1.35; text-align: center; margin: 0 0 0.75rem; }
.pace-sub      { font-size: 0.875rem; color: #374151; text-align: center; margin: 0; line-height: 1.45; }

.pace-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  background: #fff; cursor: pointer; text-align: left; font-size: 15px;
  font-weight: 500; color: #111827; transition: border-color 0.15s, box-shadow 0.15s;
}
.pace-card:hover:not(.selected) { border-color: #9ca3af; }
.pace-card.selected { border-color: #14455b; box-shadow: 0 0 0 3px rgba(20,69,91,0.25); }

.pace-card__icon           { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pace-card__icon--green    { background: var(--telemed-color-surface, #d1fae5); color: var(--green); }
.pace-card__icon--blue     { background: var(--telemed-color-surface, #dbeafe); color: var(--green); }
.pace-card__icon--red      { background: #fee2e2; color: #ef4444; }

/* ── Gender cards ─────────────────────────────────────────────────────────── */
.gender-card { border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 20px 24px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color 0.15s; width: 100%; }
.gender-card.selected       { border-color: var(--green); background: var(--telemed-color-surface,#f0faf6); }
.gender-card:hover:not(.selected) { border-color: #9ca3af; }

/* ── Checkbox items ───────────────────────────────────────────────────────── */
.checkbox-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px; cursor: pointer; font-size: 13.5px; color: #374151; transition: background 0.1s; }
.checkbox-item:hover               { background: #f9fafb; }
.checkbox-item.checked             { background: var(--telemed-color-surface,#f0faf6); border-color: var(--green); }
.checkbox-box                      { width: 16px; height: 16px; min-width: 16px; border: 1.5px solid #d1d5db; border-radius: 4px; margin-top: 1px; display: flex; align-items: center; justify-content: center; background: white; transition: all 0.1s; }
.checkbox-item.checked .checkbox-box { background: var(--green); border-color: var(--green); }
.needs-checkbox.checked            { background: #eff6ff; border-color: #14455b; }
.needs-checkbox.checked .checkbox-box { background: var(--green,#3b82f6); border-color: var(--green,#3b82f6); }

/* ── Yes/No cards ─────────────────────────────────────────────────────────── */
.yesno-card { border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 20px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: border-color 0.15s; flex: 1; }
.yesno-card.selected-yes { border-color: #ef4444; background: #fff5f5; }
.yesno-card.selected-no  { border-color: var(--green); background: var(--telemed-color-surface,#f0faf6); }
.yesno-card:hover        { border-color: #9ca3af; }

/* ── Blood pressure cards ─────────────────────────────────────────────────── */
.bp-card { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid #e5e7eb; border-radius: 8px; cursor: pointer; transition: all 0.15s; }
.bp-card.selected              { border-color: var(--green); background: var(--telemed-color-surface,#f0faf6); }
.bp-card:hover:not(.selected)  { border-color: #9ca3af; }

/* ── Med / history cards ──────────────────────────────────────────────────── */
.med-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 16px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  background: #fff; cursor: pointer; text-align: left; font-size: 14px;
  font-weight: 500; color: #111827; transition: border-color 0.15s, box-shadow 0.15s;
}
.med-card:hover:not(.selected) { border-color: #9ca3af; }
.med-card.selected             { border-color: #14455b; box-shadow: 0 0 0 3px rgba(20,69,91,0.25); }

.med-radio { width: 20px; height: 20px; min-width: 20px; border-radius: 50%; border: 2px solid #d1d5db; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.med-card.selected .med-radio { border-color: var(--green,#3b82f6); background: var(--green,#3b82f6); box-shadow: inset 0 0 0 3px #fff; }

/* ── Dose cards ───────────────────────────────────────────────────────────── */
.dose-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 16px; border: 1.5px solid #e5e7eb; border-radius: 8px;
  background: #fff; cursor: pointer; text-align: left; font-size: 14px;
  color: #374151; transition: all 0.15s;
}
.dose-card.selected              { border-color: var(--green); background: var(--telemed-color-surface,#f0faf6); }
.dose-card:hover:not(.selected)  { border-color: #9ca3af; }

.dose-radio { width: 18px; height: 18px; min-width: 18px; border-radius: 50%; border: 2px solid #d1d5db; background: #fff; flex-shrink: 0; }
.dose-card.selected .dose-radio { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }

/* ── Upload zone ──────────────────────────────────────────────────────────── */
.upload-zone { border: 1.5px dashed #d1d5db; border-radius: 10px; padding: 28px 16px; text-align: center; color: #6b7280; font-size: 13px; cursor: pointer; background: #f9fafb; transition: border-color 0.15s, background 0.15s; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.upload-zone:hover       { border-color: var(--green); background: var(--telemed-color-surface,#f0faf6); }
.upload-zone__icon       { color: #9ca3af; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.upload-zone--has-image  { padding: 0; border-style: solid; border-color: var(--green); background: #000; }
.upload-zone--has-image .upload-zone__icon,
.upload-zone--has-image .upload-zone__label { display: none; }
.upload-zone__preview    { display: none; width: 100%; max-height: 240px; object-fit: contain; border-radius: 8px; }
.upload-zone--has-image .upload-zone__preview { display: block; }
.upload-zone__change     { display: none; position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.55); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: none; cursor: pointer; }
.upload-zone--has-image .upload-zone__change  { display: block; }
.upload-zone--dragover   { border-color: var(--green); background: var(--telemed-color-surface,#f0faf6); }

/* ── Misc ─────────────────────────────────────────────────────────────────── */
.form-divider  { border-top: 1px solid #e5e7eb; margin: 1.25rem 0; padding-top: 1.25rem; }
.hipaa-note    { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.75rem; color: #9ca3af; margin: 1rem 0; }
.trust-badges  { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; font-size: 0.65rem; color: #6b7280; text-align: center; }
.trust-badge   { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 90px; }

/* Goals list in step 11 */
.ls-goal-item  { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }

.consent-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.75rem; color: #6b7280; line-height: 1.45; margin-bottom: 1.25rem; cursor: pointer; }
.consent-item.checked .checkbox-box { background: var(--green); border-color: var(--green); }

/* ── Assessment (pre-results) panel ──────────────────────────────────────── */
.assessment-wrap   { margin: 0 -1rem; }
.assessment-header {
  background: linear-gradient(135deg, var(--nulife-teal-deep) 0%, var(--green) 100%);
  padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center;
}
.assessment-header__brand  { color: #fff; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.assessment-header__sub    { color: var(--green); font-size: 0.7rem; font-weight: 500; }
.assessment-header__status { text-align: right; color: var(--green); font-size: 0.7rem; line-height: 1.4; }
.assessment-banner {
  background: var(--telemed-color-surface,#ecfdf5); border-bottom: 1px solid var(--green);
  padding: 0.875rem 1.25rem; display: flex; gap: 10px; align-items: flex-start;
}
.assessment-banner__title { font-weight: 700; color: var(--green); font-size: 0.9rem; margin-bottom: 2px; }
.assessment-banner__text  { font-size: 0.8rem; color: var(--green); line-height: 1.4; }

.review-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 8px rgba(0,0,0,0.08); border: 1px solid #e5e7eb; padding: 1.25rem; margin: 1rem 0; }
.review-card h3 { font-size: 1rem; font-weight: 700; color: #111827; margin: 0 0 1rem; }

.success-bar-wrap        { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.success-bar-wrap span   { font-size: 0.8rem; color: #6b7280; }
.success-bar-wrap strong { color: var(--green); font-size: 0.95rem; }
.success-bar             { height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.success-bar__fill       { height: 100%; background: var(--green); border-radius: 4px; width: 94%; }

.review-stat        { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: #374151; margin-bottom: 0.6rem; }
.review-stat__icon  { width: 28px; height: 28px; border-radius: 50%; background: var(--telemed-color-surface,#ecfdf5); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-footer      { text-align: center; font-weight: 700; color: var(--green); font-size: 0.9rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #e5e7eb; }

.testimonial-video { width: 100%; aspect-ratio: 9 / 16; max-height: 420px; object-fit: cover; border-radius: 12px; background: #111827; }

/* ─────────────────────────────────────────────────────────────────────────────
   Step 11 — Approval / last step
   ───────────────────────────────────────────────────────────────────────────── */
body.last-step-active { background: #f9f9f7 !important; }

#step-11.last-step-panel {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f7;
  margin: 0 -0.5rem;
  padding-bottom: 1rem;
}
#step-11.last-step-panel .green            { color: var(--green); }
#step-11.last-step-panel .bg-green-brand   { background: var(--green); }
#step-11.last-step-panel .border-green-brand { border-color: var(--green); }
#step-11.last-step-panel .approval-bar     { background: var(--green); }
#step-11.last-step-panel .pill-stat        { background: #f4f4f2; border: 1px solid #e0e0db; border-radius: 6px; padding: 8px 16px; text-align: center; }
#step-11.last-step-panel .pill-stat .label { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.08em; }
#step-11.last-step-panel .pill-stat .value { font-size: 15px; font-weight: 600; color: #222; }
#step-11.last-step-panel .section-card     { background: #fff; border-radius: 12px; border: 1px solid #ebebeb; padding: 24px; }
#step-11.last-step-panel .step-dot         { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#step-11.last-step-panel .step-line        { width: 2px; background: var(--green); flex-grow: 1; margin: 4px auto; }
#step-11.last-step-panel .check-icon       { color: var(--green); font-size: 18px; }
#step-11.last-step-panel .ls-product-card           { border: 1.5px solid #ebebeb; border-radius: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
#step-11.last-step-panel .ls-product-card.ls-card-selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--color-main-default, 48,112,85),0.15); }
#step-11.last-step-panel .ls-product-inner          { padding: 20px; }
#step-11.last-step-panel .ls-format-group           { display: flex; flex-direction: column; gap: 8px; }
#step-11.last-step-panel .ls-btn-dark               { background: #1a1a1a; color: #fff; border: none; border-radius: 8px; text-align: center; padding: 14px; font-weight: 600; font-size: 14px; letter-spacing: 0.05em; cursor: pointer; width: 100%; transition: background 0.15s; }
#step-11.last-step-panel .ls-btn-dark:hover         { background: #333; }
#step-11.last-step-panel .ls-btn-dark.ls-format-selected { background: var(--green); }
#step-11.last-step-panel .ls-btn-dark.ls-format-selected:hover { background: var(--green); }
#step-11.last-step-panel .stat-box         { background: #f5f5f2; border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; }
#step-11.last-step-panel .stat-num         { font-size: 28px; font-weight: 700; color: #1a1a1a; }
#step-11.last-step-panel .stat-label       { font-size: 14px; color: #555; }
#step-11.last-step-panel .ls-testimonial-card { border: 1px solid #ebebeb; border-radius: 12px; padding: 20px; background: #fff; }
#step-11.last-step-panel .stars            { color: #f5a623; font-size: 16px; }
#step-11.last-step-panel .faq-item         { border-bottom: 1px solid #ebebeb; padding: 14px 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #333; cursor: pointer; }
#step-11.last-step-panel .faq-icon         { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--green); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 12px; flex-shrink: 0; }
#step-11.last-step-panel .include-row      { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0ee; }
#step-11.last-step-panel .include-icon     { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
#step-11.last-step-panel .timer-badge      { background: var(--green); color: #fff; border-radius: 999px; padding: 6px 20px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
#step-11.last-step-panel .price-old        { text-decoration: line-through; color: #aaa; font-size: 15px; }
#step-11.last-step-panel .price-new        { color: var(--green); font-weight: 700; font-size: 17px; }
#step-11.last-step-panel .badge-popular,
#step-11.last-step-panel .badge-potent     { background: var(--telemed-color-surface, #e6f4ea); color: var(--green); font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 8px; display: inline-block; }
#step-11.last-step-panel .success-pct      { font-size: 32px; font-weight: 800; color: var(--green); }
#step-11.last-step-panel .chance-box       { background: var(--telemed-color-surface, #f0f8f2); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#step-11.last-step-panel .chart-wrap       { width: 100%; height: 140px; position: relative; }
#step-11.last-step-panel .logo-bar         { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; opacity: 0.6; }
#step-11.last-step-panel .logo-bar img     { height: 22px; object-fit: contain; filter: grayscale(1); }
#step-11.last-step-panel .weight-guarantee { display: flex; align-items: flex-start; gap: 12px; background: var(--telemed-color-surface, #f0f8f2); border-radius: 10px; padding: 16px; }
#step-11.last-step-panel .hsa-badge        { background: var(--telemed-color-surface, #eef7ef); border-radius: 10px; padding: 12px 20px; display: flex; align-items: center; gap: 10px; justify-content: center; font-weight: 600; font-size: 14px; color: var(--green); }
#step-11.last-step-panel .approval-banner  { background: var(--green); color: white; padding: 10px 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; border-radius: 8px; }

/* ── Currently Chosen card ───────────────────────────────────────────────── */
.ls-chosen-card {
  border: 2px solid var(--green); border-radius: 16px; padding: 22px 20px; background: #fff;
  text-align: center; margin-bottom: 20px;
}
.ls-chosen-card[hidden]        { display: none; }
.ls-chosen-card__label         { font-size: 11px; font-weight: 700; color: #9ca3af; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.ls-chosen-card__title         { font-size: 18px; font-weight: 800; color: #1f2937; margin-bottom: 16px; }
.ls-chosen-card__title span    { color: var(--green); }
.ls-chosen-card__bottle        { margin: 0 auto 16px; width: 140px; height: 180px; }
.ls-chosen-card__bottle-inner  { width: 100%; height: 100%; border-radius: 10px 10px 16px 16px; position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px; }
.ls-chosen-card__bottle-cap    { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 22px; background: #999; border-radius: 5px 5px 0 0; }
.ls-chosen-card__bottle-label  { background: rgba(255,255,255,0.18); border-radius: 5px; padding: 5px 8px; color: #fff; font-size: 8px; font-weight: 700; text-align: center; line-height: 1.4; }
.ls-chosen-card__tagline       { font-size: 14px; font-weight: 700; color: #1f2937; margin-bottom: 14px; }
.ls-chosen-card__list          { list-style: none; padding: 0; margin: 0; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.ls-chosen-card__list li       { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #374151; }
.ls-chosen-card__list li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23dcfce7'/%3E%3Cpolyline points='7 12 10 15 17 9' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain; margin-top: 1px; }

/* ── Checkout form ───────────────────────────────────────────────────────── */
.ls-checkout         { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px 20px; margin-bottom: 24px; }
.ls-checkout[hidden] { display: none; }
.ls-checkout__security { display: flex; align-items: center; gap: 10px; background: var(--telemed-color-surface,#f0faf5); border-radius: 10px; padding: 12px 16px; font-size: 12px; color: #374151; line-height: 1.5; margin-bottom: 20px; }
.ls-checkout__security svg { flex-shrink: 0; }
.ls-checkout__heading  { font-size: 16px; font-weight: 700; color: #1f2937; text-align: center; margin-bottom: 18px; }
.ls-field              { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.ls-field-row          { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ls-label              { font-size: 13px; font-weight: 500; color: #374151; }
.ls-input              { width: 100%; padding: 11px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-size: 14px; color: #1f2937; outline: none; transition: border-color 0.15s; box-sizing: border-box; background: #fff; appearance: none; -webkit-appearance: none; }
.ls-input:focus        { border-color: var(--green); }
.ls-checkbox-row       { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #374151; cursor: pointer; margin-bottom: 8px; }
.ls-checkbox-row input { accent-color: var(--green); width: 16px; height: 16px; cursor: pointer; }

/* Payment method header row */
.ls-pay-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1.5px solid var(--green);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}
.ls-card-brand-icons { display: flex; gap: 5px; margin-left: auto; }

/* Stripe Card Element container */
.ls-stripe-element {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s;
  min-height: 46px;
}
.ls-stripe-element:focus-within { border-color: var(--green); }
.ls-stripe-element--disabled    { background: #f9fafb; cursor: not-allowed; }

/* Notice when stripe not configured */
.ls-stripe-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b45309;
  padding: 4px 0;
}

/* Error / success messages */
.ls-stripe-error {
  min-height: 20px;
  font-size: 12.5px;
  color: #dc2626;
  margin-top: 8px;
  line-height: 1.4;
}
.ls-stripe-success {
  font-size: 12.5px;
  color: var(--green);
  margin-top: 8px;
  font-weight: 600;
}

.ls-checkout__legal    { font-size: 12px; color: #9ca3af; text-align: center; margin: 16px 0; line-height: 1.5; }
.ls-checkout__btn      { width: 100%; padding: 16px; background: #2563eb; color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ls-checkout__btn:hover:not(:disabled) { background: #1d4ed8; }
.ls-checkout__btn:disabled { background: #9ca3af; cursor: not-allowed; opacity: 0.7; }

@keyframes spin { to { transform: rotate(360deg); } }
.mt-6 { margin-top: 1.5rem; }

/* ── Choose-medication button & loading spinner ───────────────────────── */
#ls-choose-btn { background: var(--green) !important; color: #fff !important; }
#ls-choose-btn:hover { filter: brightness(0.9); }

/* Loading state spinner — inherits brand colour */
.telemed-loading-spinner,
.loading-spinner,
.loading-ring { border-top-color: var(--green) !important; }

/* SVG loading icon stroke */
.loading-icon, .loader-icon { color: var(--green); }

/* Any inline SVG used as a checkmark icon */
svg.check-svg circle { fill: var(--telemed-color-surface) !important; }
svg.check-svg polyline { stroke: var(--green) !important; }

