.life-quote-wizard {
  --primary-navy: #141b4d;
  --navy-dark: #0b1033;
  --halo-cyan: #00c0f3;
  --halo-blue: #0284c7;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(20, 27, 77, 0.08);
  --shadow-card: 0 16px 36px -4px rgba(2, 132, 199, 0.14);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 70px;
}

.life-quote-wizard a { text-decoration: none; color: inherit; }

/* Top trust strip */
.life-quote-wizard .top-security-bar {
  background: #73d5f0;
  color: #0c4a6e;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Agent hero */
.life-quote-wizard .agent-spotlight-hero {
  background: var(--bg-card);
  border: 2px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.life-quote-wizard .agent-spotlight-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--halo-cyan);
}

.life-quote-wizard .agent-large-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(20, 27, 77, 0.18);
  position: relative;
  flex-shrink: 0;
  background: #f1f5f9;
}

.life-quote-wizard .agent-large-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.life-quote-wizard .verified-check-bubble {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--accent-emerald);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.life-quote-wizard .agent-hero-info { flex: 1; min-width: 0; }

.life-quote-wizard .agent-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: var(--halo-blue);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.life-quote-wizard .agent-hero-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.life-quote-wizard .agent-hero-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.life-quote-wizard .authorized-lines-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.life-quote-wizard .authorized-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.life-quote-wizard .product-pill-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  background: #ecfdf5;
  color: var(--accent-emerald-dark);
  border-color: #a7f3d0;
}

.life-quote-wizard .nav-sms-quick-btn {
  background: #ecfdf5;
  color: var(--accent-emerald-dark);
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.life-quote-wizard .nav-sms-quick-btn:hover { background: #d1fae5; }

/* Stepper */
.life-quote-wizard .stepper-container { margin-bottom: 24px; }

.life-quote-wizard .stepper-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 10px;
}

.life-quote-wizard .stepper-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 1;
}

.life-quote-wizard .stepper-progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: var(--halo-cyan);
  transform: translateY(-50%);
  z-index: 1;
  transition: width 0.3s ease;
  width: 0%;
}

.life-quote-wizard .step-node {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-weight: 900;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.life-quote-wizard .step-node.completed {
  background: var(--halo-cyan);
  border-color: var(--halo-cyan);
  color: white;
}

.life-quote-wizard .step-node.active {
  background: var(--primary-navy);
  border-color: var(--halo-cyan);
  color: white;
  box-shadow: 0 0 0 4px rgba(0, 192, 243, 0.2);
}

.life-quote-wizard .stepper-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}

.life-quote-wizard .stepper-labels span.active-text { color: var(--primary-navy); }

/* Wizard card */
.life-quote-wizard .wizard-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.life-quote-wizard .step-pane { display: none; }

.life-quote-wizard .step-pane.active-pane {
  display: block;
  animation: lifeQuoteFadeIn 0.24s ease-in-out;
}

@keyframes lifeQuoteFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.life-quote-wizard .pane-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.life-quote-wizard .pane-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Product option grid */
.life-quote-wizard .options-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.life-quote-wizard .option-tile {
  background: #f8fafc;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.life-quote-wizard .option-tile:hover {
  border-color: #7dd3fc;
  background: white;
  transform: translateY(-2px);
}

.life-quote-wizard .option-tile.agent-offered { border-color: #38bdf8; background: #ffffff; }

/* Once something is picked, the pick turns green and everything else
   (still clickable, just not chosen) visibly recedes. */
.life-quote-wizard .option-tile.selected {
  border-color: var(--accent-emerald);
  background: #ecfdf5;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.life-quote-wizard .options-grid-2col.has-selection .option-tile.agent-offered:not(.selected) {
  opacity: 0.5;
  background: #f8fafc;
  border-color: var(--border);
}

.life-quote-wizard .options-grid-2col.has-selection .option-tile.agent-offered:not(.selected):hover {
  opacity: 0.85;
  border-color: #7dd3fc;
}

.life-quote-wizard .option-tile.selected .agent-certified-tag {
  background: var(--accent-emerald-dark);
}

.life-quote-wizard .agent-certified-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--accent-emerald);
  color: white;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.life-quote-wizard .option-tile.agent-not-offered {
  opacity: 0.55;
  background: #f1f5f9;
  border-color: var(--border);
  cursor: not-allowed;
}
.life-quote-wizard .option-tile.agent-not-offered:hover { transform: none; border-color: var(--border); background: #f1f5f9; }

.life-quote-wizard .not-offered-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #94a3b8;
  color: white;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.life-quote-wizard .option-tile-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.life-quote-wizard .option-tile-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Form fields */
.life-quote-wizard .form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.life-quote-wizard .input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.life-quote-wizard .input-field-group label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.life-quote-wizard .input-field-group input,
.life-quote-wizard .input-field-group select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  background: #f8fafc;
  transition: var(--transition);
  width: 100%;
  font-family: inherit;
}

.life-quote-wizard .input-field-group input:focus,
.life-quote-wizard .input-field-group select:focus {
  border-color: var(--halo-cyan);
  background: white;
}

/* Range slider */
.life-quote-wizard .range-box {
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.life-quote-wizard .range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}

.life-quote-wizard .range-header label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.life-quote-wizard .range-val-badge {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-emerald-dark);
}

.life-quote-wizard .slider-control {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
  accent-color: var(--halo-cyan);
}

.life-quote-wizard .range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 8px;
}

/* Membership box */
.life-quote-wizard .membership-invitation-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 100%);
  border: 2px solid #38bdf8;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  color: white;
  margin: 24px 0;
}

.life-quote-wizard .member-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 213, 255, 0.2);
  color: #7dd3fc;
  border: 1px solid rgba(0, 213, 255, 0.4);
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.life-quote-wizard .membership-invitation-box h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 6px; }
.life-quote-wizard .membership-invitation-box p { font-size: 0.86rem; color: #cbd5e1; line-height: 1.5; margin-bottom: 16px; }

.life-quote-wizard .member-benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e0f2fe;
  padding: 0;
}
.life-quote-wizard .member-benefits-list li { display: flex; align-items: center; gap: 6px; }

.life-quote-wizard .join-checkbox-wrap {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(0, 213, 255, 0.4);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.life-quote-wizard .join-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--halo-cyan);
  cursor: pointer;
  flex-shrink: 0;
}

.life-quote-wizard .join-checkbox-wrap label { font-size: 0.86rem; font-weight: 800; color: white; cursor: pointer; }

/* Carrier / rate tiers */
.life-quote-wizard .carrier-tier-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  gap: 12px;
}

.life-quote-wizard .carrier-tier-card.best-value {
  border-color: var(--accent-emerald);
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

.life-quote-wizard .tier-left h4 { font-size: 1.1rem; font-weight: 900; color: var(--primary-navy); margin-bottom: 2px; }
.life-quote-wizard .tier-left span { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }
.life-quote-wizard .tier-pricing { text-align: right; flex-shrink: 0; }
.life-quote-wizard .tier-price-est { font-size: 1.75rem; font-weight: 900; color: var(--accent-emerald-dark); line-height: 1; }
.life-quote-wizard .tier-pricing span { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }

/* Actions */
.life-quote-wizard .wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.life-quote-wizard .btn-wizard-back {
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-family: inherit;
}
.life-quote-wizard .btn-wizard-back:hover { color: var(--primary-navy); }

.life-quote-wizard .btn-wizard-next {
  background: var(--halo-cyan);
  color: white;
  border: none;
  font-size: 0.96rem;
  font-weight: 900;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 192, 243, 0.3);
  font-family: inherit;
}
.life-quote-wizard .btn-wizard-next:hover { background: var(--halo-blue); transform: translateY(-1px); }
.life-quote-wizard .btn-wizard-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.life-quote-wizard .btn-wizard-next.is-join { background: var(--accent-emerald); }
.life-quote-wizard .btn-wizard-next.is-join:hover { background: var(--accent-emerald-dark); }

@media (max-width: 680px) {
  .life-quote-wizard { padding: 0 14px 50px; }
  .life-quote-wizard .agent-spotlight-hero { flex-direction: column; text-align: center; }
  .life-quote-wizard .agent-large-avatar-wrap { margin: 0 auto; }
  .life-quote-wizard .options-grid-2col,
  .life-quote-wizard .form-grid-2col { grid-template-columns: 1fr; }
  .life-quote-wizard .member-benefits-list { grid-template-columns: 1fr; }
  .life-quote-wizard .carrier-tier-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .life-quote-wizard .tier-pricing { text-align: left; }
  .life-quote-wizard .wizard-card { padding: 22px 16px; }
  .life-quote-wizard .stepper-labels span { font-size: 0.62rem; }
}
