/* LIC New Endowment Plan Calculator – styled after EMI calculator */

.page-title {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: #555;
  margin-bottom: 25px;
  font-size: 16px;
}

/* CARD */
.calc-card {
  background: #fff;
  border: 1px solid #E8E4EC;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.calc-card:hover {
  border-color: #40E0D0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* GRID */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* INPUTS */
.input-group { margin-bottom: 25px; }

.input-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Text input for numbers (avoids type=number browser quirks) */
.input-row input[type="text"],
.input-row input[type="number"] {
  width: 120px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #E8E4EC;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  background: #fff;
  text-align: right;
  outline: none;
  color: #333;
}
.input-row input[type="text"]:focus,
.input-row input[type="text"]:hover,
.input-row input[type="number"]:focus,
.input-row input[type="number"]:hover {
  border-color: #40E0D0;
  box-shadow: 0 0 0 3px rgba(64,224,208,0.15);
}

/* SA input wider to fit formatted value */
.input-row input.sa-input {
  width: 140px;
  font-size: 13px;
}

select.input-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #E8E4EC;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  color: #333;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
select.input-select:focus,
select.input-select:hover { border-color: #40E0D0; box-shadow: 0 0 0 3px rgba(64,224,208,0.15); }

small.hint { color: #888; font-size: 12px; margin-top: 4px; display: block; }

/* PREMIUM SLIDER */
.input-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #E8E4EC;
  outline: none;
  cursor: pointer;
}
.input-row input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(to right,
    #40E0D0 0%,
    #40E0D0 calc((var(--val) - var(--min)) / (var(--max) - var(--min)) * 100%),
    #E8E4EC calc((var(--val) - var(--min)) / (var(--max) - var(--min)) * 100%),
    #E8E4EC 100%
  );
}
.input-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #40E0D0 0%, #48D4C4 100%);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -7px;
  box-shadow: 0 2px 6px rgba(64,224,208,0.3);
  transition: all 0.2s ease;
}
.input-row input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(64,224,208,0.5);
}
.input-row input[type="range"]::-moz-range-track { height: 6px; border-radius: 4px; background: #E8E4EC; }
.input-row input[type="range"]::-moz-range-progress { height: 6px; border-radius: 4px; background: #40E0D0; }
.input-row input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #40E0D0 0%, #48D4C4 100%);
  border-radius: 50%; border: none; cursor: pointer;
  box-shadow: 0 2px 6px rgba(64,224,208,0.3); transition: all 0.2s ease;
}

/* RESULT CARDS */
.result-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.result-box {
  background: #f9f9f9;
  padding: 16px 12px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #E8E4EC;
  transition: all 0.2s ease;
}
.result-box:hover { border-color: #40E0D0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.result-box span { font-size: 12px; color: #666; font-weight: 500; display: block; }
.result-box strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-box.highlight {
  background: linear-gradient(135deg, rgba(64,224,208,0.1) 0%, rgba(72,212,196,0.15) 100%);
  border-color: #40E0D0;
  grid-column: span 2;
}
.result-box.highlight strong {
  background: linear-gradient(135deg, #40E0D0 0%, #48D4C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 26px;
}

/* DONUT */
.donut-wrap { margin-top: 20px; text-align: center; }
.donut-wrap canvas { max-width: 260px; max-height: 160px; margin: auto; }

.legend {
  margin-top: 12px;
  font-size: 13px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.legend span { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.legend i { width: 12px; height: 12px; display: inline-block; border-radius: 2px; }
.legend i.invested { background: #9200C5; }
.legend i.interest { background: #40E0D0; }
.legend i.bonus    { background: #f7941d; }

/* STACK HEADER */
.stack-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 8px;
}
.stack-header h2 { margin: 0; font-size: 20px; font-weight: 600; color: #333; }

/* BADGE */
.badge-info {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* SUMMARY BOX */
.summary-box {
  background: linear-gradient(135deg, rgba(64,224,208,0.05) 0%, rgba(72,212,196,0.08) 100%);
  border: 1.5px solid rgba(64,224,208,0.3);
  border-radius: 10px;
  padding: 18px 20px;
}
.summary-box h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #333; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed #E8E4EC;
  font-size: 13px;
  color: #555;
}
.summary-row:last-child { border-bottom: none; }
.summary-row strong {
  font-weight: 700;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* DISCLAIMER */
.disclaimer {
  background: #f0fff8;
  border-left: 4px solid #40E0D0;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #005a47;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* TABLE */
.table-wrap { overflow-x: auto; max-height: 420px; overflow-y: auto; border-radius: 8px; border: 1px solid #E8E4EC; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comparison-table th {
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}
.comparison-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f0eef5;
  color: #444;
  white-space: nowrap;
}
.comparison-table tr:hover td { background: rgba(64,224,208,0.05); }
.comparison-table tr:last-child td {
  font-weight: 700;
  background: rgba(64,224,208,0.08);
  color: #9200C5;
}

/* SEO CONTENT */
section { margin-top: 40px; line-height: 1.7; }
section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
section h3 { font-size: 17px; font-weight: 600; color: #333; margin-top: 20px; margin-bottom: 8px; }
section p { color: #444; margin-bottom: 14px; }
section ul, section ol { margin-left: 20px; color: #444; }
section ul li, section ol li { margin-bottom: 10px; }

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.feature-box {
  background: #f9f9f9;
  border: 1px solid #E8E4EC;
  border-radius: 10px;
  padding: 16px 18px;
  transition: all 0.2s ease;
}
.feature-box:hover { border-color: #40E0D0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.feature-box h3 {
  font-size: 14px;
  margin: 0 0 6px;
  font-weight: 700;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-box p { font-size: 13px; margin: 0; color: #555; line-height: 1.5; }

/* FAQ */
.faq-section {
  margin-top: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #E8E4EC;
}
.faq-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════
   RELATED CALCULATORS
   Icon bg/hover handled by global.css (.related-icon, .related-card:hover .related-icon)
   We only set size and layout here
   ══════════════════════════════════════════════════════ */
.related-section { margin-top: 50px; margin-bottom: 20px; }
.related-section .section-header { text-align: center; margin-bottom: 28px; }
.related-section .section-title {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  display: block;
}
.related-section .section-desc { font-size: 15px; color: #666; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: #fff;
  border: 2px solid #E8E4EC;
  border-radius: 12px;
  padding: 28px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  justify-content: center;
}
.related-card:hover {
  transform: translateY(-6px);
  border-color: #40E0D0;
  box-shadow: 0 12px 32px rgba(64,224,208,0.2);
}

/* Override global size to fit our layout — keep bg/hover from global.css */
.related-section .related-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.related-section .related-icon svg {
  width: 28px;
  height: 28px;
}

.related-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0 0 4px;
  line-height: 1.3;
}
.related-text p {
  font-size: 12px;
  color: #777;
  margin: 0;
  line-height: 1.4;
}

/* MOBILE */
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .page-title   { font-size: 26px; }
  .calc-grid    { grid-template-columns: 1fr; }
  .result-cards { grid-template-columns: 1fr; }
  .result-box.highlight { grid-column: span 1; }
  .donut-wrap canvas { max-width: 220px; max-height: 140px; }
  .calc-card   { padding: 18px; }
  .faq-section { padding: 20px; }
  section      { margin-top: 30px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── MOBILE TABLE FIX ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .table-wrap {
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 7px 10px;
    font-size: 12px;
  }
  .comparison-table th { font-size: 11px; }
}
@media (max-width: 480px) {
  .comparison-table th,
  .comparison-table td {
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════════════════════
   TERM INSURANCE CALCULATOR — SPECIFIC STYLES
   ═══════════════════════════════════════════════════════ */

/* GENDER TOGGLE */
.gender-toggle {
  display: flex;
  background: #f2eef7;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid #E8E4EC;
  gap: 4px;
  width: fit-content;
}
.gender-btn {
  padding: 8px 22px;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gender-btn.active {
  background: linear-gradient(135deg, #9200C5, #A020D0);
  color: #fff;
  box-shadow: 0 2px 8px rgba(146,0,197,0.28);
}

/* COVER TYPE TOGGLE */
.cover-toggle {
  display: flex;
  background: #f2eef7;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid #E8E4EC;
  gap: 4px;
}
.cover-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
  line-height: 1.3;
}
.cover-btn span { display: block; font-size: 10px; font-weight: 400; opacity: 0.85; }
.cover-btn.active {
  background: linear-gradient(135deg, #9200C5, #A020D0);
  color: #fff;
  box-shadow: 0 2px 8px rgba(146,0,197,0.28);
}

/* SMOKER CHECKBOX */
.smoker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fef9ff;
  border: 1px solid #E8E4EC;
  border-radius: 8px;
  cursor: pointer;
}
.smoker-row input[type="checkbox"] {
  accent-color: #9200C5;
  width: 17px;
  height: 17px;
  cursor: pointer;
}
.smoker-row label {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  margin: 0;
}
.smoker-warning {
  font-size: 11px;
  color: #c0392b;
  margin-top: 4px;
  display: none;
}
.smoker-warning.show { display: block; }

/* INSURER COMPARISON TABLE */
.insurer-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #E8E4EC;
}
.insurer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.insurer-table thead tr {
  background: linear-gradient(135deg, #9200C5 0%, #A020D0 100%);
}
.insurer-table th {
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.insurer-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f0eef5;
  color: #333;
  vertical-align: middle;
}
.insurer-table tr:last-child td { border-bottom: none; }
.insurer-table tr:hover td { background: rgba(64,224,208,0.05); }

/* LIC row highlight */
.insurer-table tr.row-lic td {
  background: rgba(146,0,197,0.04);
  font-weight: 600;
}
.insurer-table tr.row-cheapest td {
  background: rgba(64,224,208,0.08);
}
.insurer-table tr.row-cheapest td:first-child::before {
  content: '⭐ ';
}

/* Insurer logo placeholder */
.ins-name {
  display: flex;
  flex-direction: column;
}
.ins-name strong { font-size: 13px; color: #222; }
.ins-name span   { font-size: 11px; color: #888; margin-top: 1px; }

/* Premium pill */
.prem-pill {
  font-size: 14px;
  font-weight: 700;
  color: #9200C5;
}
.prem-monthly { font-size: 11px; color: #888; font-weight: 400; display: block; }

/* Claim settlement badge */
.csr-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.csr-high   { background: rgba(76,175,80,0.12);  color: #2e7d32; }
.csr-medium { background: rgba(255,152,0,0.12); color: #e65100; }

/* KEY METRICS ROW */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.metric-box {
  background: #faf8ff;
  border: 1px solid #E8E4EC;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}
.metric-box span {
  font-size: 11px;
  color: #888;
  display: block;
  margin-bottom: 4px;
}
.metric-box strong {
  font-size: 17px;
  font-weight: 700;
  color: #9200C5;
  display: block;
}

/* RECOMMENDATION CARD */
.recommendation-box {
  background: linear-gradient(135deg, rgba(64,224,208,0.07), rgba(146,0,197,0.07));
  border: 1.5px solid rgba(64,224,208,0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.rec-title { font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.rec-text  { font-size: 14px; color: #333; line-height: 1.6; }
.rec-text strong { color: #9200C5; }

/* FEATURES COMPARISON MINI */
.feat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0eef5;
  font-size: 13px;
}
.feat-row:last-child { border-bottom: none; }
.feat-label { color: #666; }
.feat-val   { font-weight: 600; color: #333; }

/* TABS for premium breakdown */
.breakdown-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f0eef5;
}
.bk-tab {
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  transition: all 0.2s;
}
.bk-tab.active {
  color: #9200C5;
  border-bottom-color: #9200C5;
}

/* MOBILE */
@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .gender-btn   { padding: 8px 16px; font-size: 13px; }
  .cover-btn    { font-size: 12px; }
}
@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .insurer-table th,
  .insurer-table td { padding: 10px 12px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════
   ENHANCED FEATURES — ROP, RIDERS, COVER TILL AGE, HLV
   ═══════════════════════════════════════════════════════ */

/* SECTION DIVIDERS within calc-card */
.section-divider {
  border: none;
  border-top: 1px dashed #E8E4EC;
  margin: 20px 0;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #9200C5;
  margin-bottom: 12px;
}

/* COVER-TILL-AGE PILL ROW */
.age-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.age-pill {
  padding: 6px 14px;
  border: 1.5px solid #E8E4EC;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  background: #faf8ff;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.age-pill.active {
  background: linear-gradient(135deg, #9200C5, #A020D0);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(146,0,197,0.25);
}

/* ROP TOGGLE */
.rop-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #faf8ff;
  border: 1px solid #E8E4EC;
  border-radius: 8px;
  cursor: pointer;
  gap: 12px;
}
.rop-toggle-row label {
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  flex: 1;
  margin: 0;
}
.rop-toggle-row .rop-sub {
  font-size: 11px;
  color: #888;
  display: block;
  margin-top: 1px;
}
/* iOS-style toggle switch — compact */
.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 14px; width: 14px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: #9200C5; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(16px); }

/* RIDERS SECTION */
.riders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.rider-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #E8E4EC;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.15s;
}
.rider-row:hover { border-color: #9200C5; }
.rider-row.active { border-color: #9200C5; background: rgba(146,0,197,0.04); }
.rider-row input[type="checkbox"] { accent-color: #9200C5; width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
.rider-info { flex: 1; }
.rider-info strong { font-size: 12px; color: #333; display: block; }
.rider-info span   { font-size: 11px; color: #888; }
.rider-cost { font-size: 12px; font-weight: 700; color: #9200C5; white-space: nowrap; }

/* RIDERS TOTAL CHIP */
.riders-total {
  margin-top: 10px;
  padding: 8px 14px;
  background: rgba(64,224,208,0.1);
  border: 1px solid rgba(64,224,208,0.3);
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.riders-total strong { color: #9200C5; font-size: 15px; }

/* HLV PANEL */
.hlv-panel {
  background: linear-gradient(135deg, rgba(146,0,197,0.04), rgba(64,224,208,0.06));
  border: 1.5px solid rgba(146,0,197,0.15);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 16px;
}
.hlv-panel h3 {
  font-size: 14px;
  font-weight: 700;
  color: #9200C5;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hlv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.hlv-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 4px;
}
.hlv-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #E8E4EC;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  box-sizing: border-box;
  font-family: inherit;
  background: #fff;
}
.hlv-input:focus { outline: none; border-color: #40E0D0; box-shadow: 0 0 0 3px rgba(64,224,208,0.15); }
.hlv-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E8E4EC;
  margin-top: 4px;
}
.hlv-result .hlv-label { font-size: 12px; color: #666; }
.hlv-result .hlv-value { font-size: 18px; font-weight: 700; color: #9200C5; }
.hlv-breakdown { font-size: 11px; color: #888; margin-top: 6px; line-height: 1.6; }

/* ROP RESULT BOX */
.result-box.rop-box {
  background: rgba(247,148,29,0.07);
  border-color: rgba(247,148,29,0.35);
}
.result-box.rop-box strong { color: #c85a00; font-size: 20px; }

/* INSURER TABLE — ROP column */
.prem-rop { font-size: 11px; color: #c85a00; margin-top: 2px; }

/* MOBILE */
@media (max-width: 768px) {
  .riders-grid { grid-template-columns: 1fr; }
  .hlv-grid    { grid-template-columns: 1fr; }
  .age-pill    { font-size: 12px; padding: 5px 12px; }
}