/* Aditya Groups Portal — Fresh White + Deep Emerald Teal (#0B3B3C) + Warm Gold (#F5B800) */
:root {
  --brand-teal: #0B3B3C;
  --brand-teal-mid: #0F4C5C;
  --brand-gold: #F5B800;
  --brand-gold-bright: #FFC700;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  overflow-x: clip;
}

section[id],
div[id] {
  scroll-margin-top: 108px;
}

body {
  font-family: "Inter", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #F8FAFC;
  color: #0F172A;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #d7ad66;
  outline-offset: 2px;
}

/* Mobile-App Tactile Range Slider */
input[type="range"].fintech-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #dce5ec;
  cursor: pointer;
}

input[type="range"].fintech-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid #102b4e;
  box-shadow: 0 3px 10px rgba(16, 43, 78, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

input[type="range"].fintech-slider::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  border-color: #2c6aa0;
}

input[type="range"].fintech-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid #102b4e;
  box-shadow: 0 3px 10px rgba(16, 43, 78, 0.25);
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.chart-box {
  position: relative;
  width: 100%;
  height: 230px;
}

@media (min-width: 768px) {
  .chart-box {
    height: 250px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 78px;
  }
}

/* Printable Plan Summary Sheet */
#printable-plan-sheet {
  display: none;
}

@media print {
  body.printing-plan {
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.printing-plan > *:not(#printable-plan-sheet) {
    display: none !important;
  }
  body.printing-plan #printable-plan-sheet {
    display: block !important;
  }
}

.faq-chevron {
  transition: transform 0.2s ease;
}

button[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* 6-Slide Hero Carousel Framing & Indicators */
.hero-carousel-stage {
  position: relative;
}

.hero-slide-panel {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-dot-btn[aria-selected="true"] {
  width: 24px;
  background-color: #d7ad66;
}

/* Personalised LIC Calculator Wizard & Multi-Page A4 PDF Styles */
.lic-wiz-header { text-align: left; margin-bottom: 1.5rem; }
.lic-wiz-header h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 800; color: #0B3B3C; margin: 0.25rem 0 0.5rem; }
.lic-wiz-header p { color: #475569; font-size: 0.95rem; max-width: 48rem; }
.lic-stepper { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.lic-step-btn { padding: 0.5rem 0.95rem; border-radius: 9999px; font-size: 0.78rem; font-weight: 700; border: 1px solid #cbd5e1; background: #ffffff; color: #334155; cursor: pointer; min-height: 36px; transition: all .15s; }
.lic-step-btn.is-active { background: #0B3B3C; color: #ffffff; border-color: #0B3B3C; box-shadow: 0 2px 6px rgba(11,59,60,.18); }
.lic-step-btn.is-done { background: #ecfdf5; color: #0B3B3C; border-color: #6ee7b7; }
.lic-step-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.lic-wiz-card { background: #F8FAFC; border: 1px solid #e2e8f0; border-radius: 1.5rem; padding: 1.25rem; }
@media (min-width: 640px) { .lic-wiz-card { padding: 1.75rem; } }
.lic-wiz-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 1rem; }
.lic-wiz-plan-card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 1.25rem; padding: 1.15rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.65rem; transition: border-color .15s, box-shadow .15s; }
.lic-wiz-plan-card.is-selected { border-color: #0F4C5C; box-shadow: 0 8px 20px rgba(15,76,92,.10); }
.lic-wiz-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.lic-badge-num { background: #0B3B3C; color: #FFC700; font-size: 0.7rem; font-weight: 800; padding: 0.22rem 0.65rem; border-radius: 9999px; }
.lic-badge-uin { background: #f1f5f9; color: #334155; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 0.375rem; }
.lic-wiz-plan-card h3 { font-size: 1.02rem; font-weight: 800; color: #0B3B3C; margin: 0.15rem 0 0; }
.lic-wiz-tag { font-size: 0.8rem; color: #0F4C5C; font-weight: 600; margin: 0; }
.lic-wiz-meta { font-size: 0.75rem; color: #64748b; }
.lic-wiz-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid #e2e8f0; }
.lic-crumb { font-size: 0.85rem; color: #0B3B3C; margin-right: auto; }
.lic-crumb-btn { font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 9999px; background: #fff; border: 1px solid #cbd5e1; color: #1e293b; cursor: pointer; }
.lic-sample-btn { font-size: 0.75rem; font-weight: 800; padding: 0.35rem 0.85rem; border-radius: 9999px; background: #FFF8DB; border: 1px solid #F5B800; color: #0B3B3C; cursor: pointer; }
.lic-q-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 1.25rem; padding: 1.25rem; }
.lic-q-label { display: block; font-size: 0.92rem; font-weight: 800; color: #0B3B3C; margin-bottom: 0.5rem; }
.lic-input { width: 100%; max-width: 28rem; padding: 0.65rem 0.9rem; border-radius: 0.75rem; border: 1.5px solid #cbd5e1; font-size: 0.95rem; font-weight: 600; background: #fff; min-height: 44px; }
.lic-input:focus { outline: none; border-color: #0F4C5C; }
.lic-pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lic-opt-pill { padding: 0.5rem 0.95rem; border-radius: 9999px; border: 1.5px solid #cbd5e1; background: #fff; font-size: 0.82rem; font-weight: 700; color: #1e293b; cursor: pointer; min-height: 40px; }
.lic-opt-pill.active { background: #0B3B3C; color: #fff; border-color: #0B3B3C; }
.lic-opt-pill:disabled { opacity: 0.4; cursor: not-allowed; }
.lic-q-note { font-size: 0.78rem; color: #64748b; margin-top: 0.45rem; line-height: 1.45; }
.lic-sub-panel { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #cbd5e1; }
.lic-locked-term { padding: 0.75rem 1rem; border-radius: 0.75rem; background: #ecfdf5; border: 1px solid #a7f3d0; color: #0B3B3C; font-size: 0.88rem; }
.lic-rider-panel { margin-top: 1rem; background: #FFFDF2; border: 1.5px solid #F5B800; border-radius: 1.25rem; padding: 1.15rem; }
.lic-rider-panel h4 { font-size: 0.92rem; font-weight: 800; color: #0B3B3C; margin: 0 0 0.25rem; }
.lic-rider-list { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.65rem; }
.lic-check-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; font-size: 0.84rem; font-weight: 600; color: #1e293b; cursor: pointer; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 0.55rem 0.75rem; }
.lic-check-row input { margin-top: 0.2rem; width: 17px; height: 17px; accent-color: #0B3B3C; shrink: 0; }
.lic-check-row.is-disabled { opacity: 0.5; cursor: not-allowed; background: #f8fafc; }
.lic-err-box { margin-top: 0.85rem; padding: 0.75rem 1rem; border-radius: 0.75rem; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 0.85rem; font-weight: 700; }
.lic-wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1.15rem; flex-wrap: wrap; }
.lic-status-banner { padding: 0.85rem 1.1rem; border-radius: 0.85rem; font-size: 0.86rem; font-weight: 800; margin-bottom: 1rem; }
.lic-status-banner.is-verified { background: #ecfdf5; color: #0B3B3C; border: 1px solid #6ee7b7; }
.lic-status-banner.is-quoted { background: #eff6ff; color: #0F4C5C; border: 1px solid #93c5fd; }
.lic-status-banner.is-indicative { background: #FFF8DB; color: #0B3B3C; border: 1px solid #F5B800; }
.lic-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.lic-kpi-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 0.95rem; display: flex; flex-direction: column; gap: 0.2rem; }
.lic-kpi-box.is-green { background: #f0fdf4; border-color: #86efac; }
.lic-kpi-box span { font-size: 0.72rem; font-weight: 700; color: #64748b; text-transform: uppercase; }
.lic-kpi-box strong { font-size: 1.25rem; font-weight: 800; color: #0B3B3C; }
.lic-kpi-box small { font-size: 0.72rem; color: #475569; }
.lic-result-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.lic-panel-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1.25rem; padding: 1.1rem; }
.lic-panel-card h4 { font-size: 0.92rem; font-weight: 800; color: #0B3B3C; margin: 0 0 0.6rem; }
.lic-panel-card.is-green-outline { border-color: #6ee7b7; background: #f0fdf4; }
.lic-panel-card.is-amber-outline { border-color: #F5B800; background: #FFFDF2; }
.lic-chart-wrap { position: relative; height: 240px; width: 100%; }
.lic-mode-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.lic-mode-list li { display: flex; justify-content: space-between; font-size: 0.85rem; padding-bottom: 0.35rem; border-bottom: 1px dashed #e2e8f0; }
.lic-plain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.75rem; }
.lic-plain-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 0.9rem; }
.lic-plain-item strong { display: block; font-size: 0.85rem; color: #0B3B3C; margin-bottom: 0.3rem; }
.lic-plain-item p { font-size: 0.8rem; color: #475569; margin: 0; line-height: 1.45; }
.lic-table-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.65rem; flex-wrap: wrap; }
.lic-table-scroll { overflow-x: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; }
.lic-sched-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; text-align: right; }
.lic-sched-table th { background: #0B3B3C; color: #fff; padding: 0.55rem 0.6rem; text-align: right; font-weight: 700; white-space: nowrap; }
.lic-sched-table td { padding: 0.45rem 0.6rem; border-bottom: 1px solid #f1f5f9; white-space: nowrap; }
.lic-sched-table th:first-child, .lic-sched-table td:first-child, .lic-sched-table th:nth-child(2), .lic-sched-table td:nth-child(2) { text-align: center; }
.lic-action-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.15rem; }
.lic-pdf-feedback { margin-top: 0.75rem; padding: 0.7rem 0.95rem; border-radius: 0.75rem; background: #ecfdf5; border: 1px solid #6ee7b7; color: #0B3B3C; font-size: 0.84rem; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; font-weight: 800; font-size: 0.85rem; padding: 0.65rem 1.25rem; cursor: pointer; border: 1.5px solid transparent; transition: all .15s; min-height: 44px; text-decoration: none; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.76rem; min-height: 36px; }
.btn-primary { background: #F5B800; color: #0B3B3C; border-color: #F5B800; }
.btn-primary:hover { background: #FFC700; }
.btn-outline { background: #fff; color: #0B3B3C; border-color: #cbd5e1; }
.btn-outline:hover { background: #f8fafc; }
.btn-wa { background: #0F4C5C; color: #fff; }
.btn-wa:hover { background: #0B3B3C; }
.modal-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(11, 59, 60, .6); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-backdrop[hidden] { display: none !important; }
.modal-card { width: 100%; max-width: 34rem; background: #fff; border-radius: 1.5rem; padding: 1.5rem; position: relative; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 48px rgba(0,0,0,.22); }
.modal-close { position: absolute; top: 0.85rem; right: 0.85rem; width: 34px; height: 34px; border-radius: 9999px; border: none; background: #f1f5f9; font-size: 1.25rem; cursor: pointer; font-weight: 700; }

/* Multi-Page A4 Report Sheet Styling (Fresh White + Deep Teal #0B3B3C + Warm Gold #F5B800) */
.a4-report-root, #aditya-pdf-stage { font-family: "Inter", "Plus Jakarta Sans", "Noto Sans Devanagari", Arial, sans-serif; color: #0f172a; background: #fff; letter-spacing: normal; word-spacing: normal; }
.a4-page { width: 794px; height: 1120px; padding: 26px 32px 22px; overflow: hidden; box-sizing: border-box; position: relative; background: #fff; display: flex; flex-direction: column; }
.pdf-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #0B3B3C; padding-bottom: 6px; margin-bottom: 10px; }
.pdf-brand { display: flex; align-items: center; gap: 10px; }
.pdf-logo { height: 40px; width: auto; }
.pdf-brand-name { font-size: 15px; font-weight: 800; color: #0B3B3C; }
.pdf-brand-tag { font-size: 10.5px; font-weight: 700; color: #0F4C5C; }
.pdf-brand-sub { font-size: 11px; color: #475569; margin-top: 2px; }
.pdf-contact-mini { text-align: right; font-size: 10px; color: #334155; line-height: 1.45; }
.pdf-hero-banner { background: linear-gradient(135deg, #0B3B3C 0%, #0F4C5C 100%); color: #fff; border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; border-bottom: 4px solid #F5B800; }
.pdf-pill-gold { display: inline-block; background: #FFC700; color: #0B3B3C; font-size: 10.5px; font-weight: 800; padding: 3px 10px; border-radius: 9999px; margin-bottom: 6px; }
.pdf-plan-title { font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif; font-size: 22px; font-weight: 800; margin: 0 0 6px; color: #fff; line-height: 1.25; }
.pdf-meta-line { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; color: #e2e8f0; }
.pdf-alert-amber { background: #FFFDF2; border: 1px solid #F5B800; border-radius: 8px; padding: 8px 12px; font-size: 10.5px; color: #0B3B3C; margin-bottom: 10px; line-height: 1.45; }
.pdf-alert-blue { background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 8px; padding: 8px 12px; font-size: 10.5px; color: #0B3B3C; margin-bottom: 10px; line-height: 1.45; }
.pdf-alert-navy { background: #0B3B3C; color: #f8fafc; border-radius: 8px; padding: 10px 14px; font-size: 11px; line-height: 1.45; }
.pdf-sec-title { font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif; font-size: 13px; font-weight: 800; color: #0B3B3C; margin: 4px 0 8px; border-left: 4px solid #F5B800; padding-left: 8px; }
.pdf-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 10px; }
.pdf-kpi-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 10px; }
.pdf-kpi-card { border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 12px; background: #F8FAFC; }
.pdf-kpi-accent { background: #FFFDF2; border-color: #F5B800; }
.pdf-kpi-green { background: #f0fdf4; border-color: #6ee7b7; }
.pdf-kpi-lbl { font-size: 9.5px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.02em; }
.pdf-kpi-val { font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", sans-serif; font-size: 15px; font-weight: 800; color: #0B3B3C; margin-top: 3px; }
.pdf-kpi-sub { font-size: 9.5px; color: #475569; margin-top: 2px; line-height: 1.35; }
.pdf-box-light { background: #F8FAFC; border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 12px; font-size: 10.5px; line-height: 1.45; }
.pdf-box-head { font-size: 11px; font-weight: 800; color: #0B3B3C; margin-bottom: 4px; }
.pdf-svg-wrap { border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px; margin-bottom: 10px; background: #fff; }
.pdf-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdf-card-border { border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 12px; font-size: 10.5px; line-height: 1.45; background: #fff; }
.pdf-green-txt { color: #0B3B3C; }
.pdf-amber-txt { color: #92400e; }
.pdf-list { margin: 4px 0 0 16px; padding: 0; }
.pdf-list li { margin-bottom: 4px; }
.pdf-var-row { display: flex; justify-content: space-between; margin-top: 6px; padding-top: 5px; border-top: 1px dashed #cbd5e1; }
.pdf-mode-row { display: grid; grid-template-columns: 115px 1fr 90px; align-items: center; gap: 8px; font-size: 10.5px; margin-bottom: 6px; }
.pdf-bar-track { height: 10px; background: #e2e8f0; border-radius: 9999px; overflow: hidden; }
.pdf-bar-fill { height: 100%; background: #0F4C5C; border-radius: 9999px; }
.pdf-small-note { font-size: 9.5px; color: #475569; margin-top: 5px; word-break: break-word; line-height: 1.4; }
.pdf-plain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdf-plain-card { border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 11px; background: #F8FAFC; }
.pdf-plain-q { font-size: 10.5px; font-weight: 800; color: #0B3B3C; margin-bottom: 3px; }
.pdf-plain-a { font-size: 10px; color: #334155; line-height: 1.4; }
.pdf-table { width: 100%; border-collapse: collapse; font-size: 8.3px; table-layout: fixed; }
.pdf-table th { background: #0B3B3C; color: #fff; padding: 5px 5px; text-align: right; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-table td { padding: 3.2px 5px; border-bottom: 1px solid #e2e8f0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pdf-table th:last-child, .pdf-table td:last-child { text-align: center; padding-left: 8px; }
.pdf-table tbody tr:nth-child(even) { background: #F8FAFC; }
.pdf-table tbody tr.pdf-row-mile { background: #f0fdf4; font-weight: 700; color: #0B3B3C; }
.pdf-table th:first-child, .pdf-table td:first-child, .pdf-table th:nth-child(2), .pdf-table td:nth-child(2) { text-align: center; }
.pdf-status-pill { display: inline-block; padding: 2px 7px; border-radius: 9999px; font-size: 8.5px; font-weight: 800; }
.pdf-status-pill.is-sel { background: #f0fdf4; color: #0B3B3C; border: 1px solid #6ee7b7; }
.pdf-status-pill.is-nosel { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.pdf-contact-box { border: 1.5px solid #0B3B3C; border-radius: 8px; padding: 11px 14px; font-size: 11px; line-height: 1.55; background: #F8FAFC; }
.pdf-foot { margin-top: 8px; padding-top: 6px; border-top: 1px solid #cbd5e1; display: flex; justify-content: space-between; font-size: 9px; color: #64748b; }

/* Native Vector Print-to-PDF Layout (#aditya-print-root) */
#aditya-print-root { display: none; }
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }
  body.printing-report {
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body.printing-report > *:not(#aditya-print-root) {
    display: none !important;
  }
  body.printing-report #aditya-print-root {
    display: block !important;
    width: 794px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
  }
  body.printing-report .a4-page {
    width: 794px !important;
    height: 1120px !important;
    page-break-after: always !important;
    break-after: page !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    overflow: hidden !important;
  }
  body.printing-report .a4-page:last-child {
    page-break-after: auto !important;
    break-after: auto !important;
  }
}
