/* ==========================================================================
   NETTO HUURINKOMSTEN CALCULATOR - TOPSCORE.NL
   100% Pure Vanilla CSS - Geen externe frameworks, libraries of preprocessors.
   ========================================================================== */

:root {
  --primary: #0c233c;
  --primary-light: #163659;
  --primary-dark: #071524;
  --primary-rgb: 12, 35, 60;
  
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-light: #fef3c7;
  --accent-soft: #fffbeb;
  
  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-light: #ecfdf5;
  --emerald-border: #a7f3d0;
  
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  
  --purple: #9333ea;
  --purple-light: #f5f3ff;
  
  --danger: #e11d48;
  --danger-light: #fff1f2;
  --danger-border: #fecdd3;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #2563eb;
  
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.07), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   PRINT HEADER (standaard verborgen op scherm)
   ========================================================================== */
.print-header {
  display: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-badge {
  background: linear-gradient(135deg, var(--accent) 0%, #b45309 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  text-transform: uppercase;
}

.brand-titles h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.brand-titles p {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-action-ghost,
.btn-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-action-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-action-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-action-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent-hover);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.btn-action-primary:hover {
  background: var(--accent-hover);
}

/* ==========================================================================
   HERO STRIP & SCENARIO PRESETS
   ========================================================================== */
.hero-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem 1.75rem;
}

.hero-content {
  max-width: 1440px;
  margin: 0 auto;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: var(--primary-light);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge-accent {
  background: var(--emerald-light);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.hero-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 950px;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.presets-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.presets-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
}

.preset-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  font-family: inherit;
}

.preset-pill:hover {
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.preset-pill.active {
  background: var(--blue-light);
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.preset-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.preset-text {
  display: flex;
  flex-direction: column;
}

.preset-text strong {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.2;
}

.preset-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   HOOFDINDELING (2 Kolommen)
   ========================================================================== */
.main-layout {
  max-width: 1440px;
  margin: 1.75rem auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 1100px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

.inputs-column,
.results-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ==========================================================================
   SECTIES & CARDS
   ========================================================================== */
.card-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.card-section:hover {
  box-shadow: var(--shadow-md);
}

.section-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.section-step-num {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.section-title-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

.section-title-wrap p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Formulier Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.highlight-group {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 0.35rem;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
}

.label-row label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.label-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.label-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--emerald-light);
  color: var(--emerald);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--emerald-border);
}

/* Invoer Veld met Affix */
.input-with-affix {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-with-affix:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.affix {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  border-left: 1px solid var(--border);
}

.affix.prefix {
  border-left: none;
  border-right: 1px solid var(--border);
}

.form-input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main);
  background: transparent;
  font-family: inherit;
  font-weight: 500;
}

.form-input.text-lg {
  font-size: 1.15rem;
}

.form-input.font-bold {
  font-weight: 700;
}

.input-equiv {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-family: var(--font-mono);
}

.sub-info-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* Slider Controls */
.slider-row {
  margin-top: 0.45rem;
}

.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #cbd5e1;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* Toggle Mode Pills (% vs €) */
.toggle-mode-pill {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 2px;
}

.mode-btn {
  background: transparent;
  border: none;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mode-btn.active {
  background: #ffffff;
  color: var(--blue);
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   RESULTATEN KOLOM: HERO KPI BANNER
   ========================================================================== */
.hero-kpi-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-kpi-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.kpi-header-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.15);
  color: #a7f3d0;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
}

.hero-cashflow-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}

@media (max-width: 650px) {
  .hero-cashflow-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .split-divider {
    display: none;
  }
}

.split-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.18);
}

.split-col {
  display: flex;
  flex-direction: column;
}

.split-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
}

.split-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: var(--font-mono);
}

.split-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.35rem;
}

.hero-secondary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .hero-secondary-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sec-stat {
  display: flex;
  flex-direction: column;
}

.sec-stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.sec-stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono);
}

/* ==========================================================================
   6 KERNINDICATOREN GRID
   ========================================================================== */
.kpi-core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

@media (max-width: 900px) {
  .kpi-core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .kpi-core-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.kpi-card.highlight-border {
  border: 1.5px solid var(--emerald-border);
  background: linear-gradient(180deg, #ffffff 0%, var(--emerald-light) 100%);
}

.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.kpi-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.kpi-icon-pill {
  font-size: 0.95rem;
}

.kpi-card-value {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-family: var(--font-mono);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.kpi-card-footer {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Utility Kleuren */
.text-emerald { color: #10b981; }
.text-navy { color: var(--primary); }
.text-blue { color: var(--blue); }
.text-danger { color: var(--danger); }
.text-accent { color: var(--accent); }

/* ==========================================================================
   WATERFALL & CHARTS (Canvas)
   ========================================================================== */
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.chart-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.chart-header p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.badge-tag {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid var(--blue-border);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.waterfall-canvas-wrap {
  width: 100%;
  height: 260px;
  position: relative;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  border: 1px solid var(--border);
}

.waterfall-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.waterfall-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Donut Chart Layout */
.donut-chart-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 600px) {
  .donut-chart-row {
    grid-template-columns: 1fr;
  }
}

.donut-canvas-container {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  position: relative;
}

.donut-canvas-container canvas {
  width: 220px !important;
  height: 220px !important;
}

.donut-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.donut-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}

.donut-row-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-weight: 500;
}

.donut-row-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ==========================================================================
   SPECIFICATIETABEL (Maand vs Jaar)
   ========================================================================== */
.table-container {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.data-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.03);
}

.data-table tbody tr.row-group-header td {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-top: 0.85rem;
}

.data-table tbody tr.row-subtotal td {
  font-weight: 700;
  background: #f8fafc;
  border-top: 1.5px solid var(--border);
  color: var(--primary);
}

.data-table tfoot td {
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.75rem;
}

.text-right {
  text-align: right;
}

/* ==========================================================================
   RENDABILITEITS- & RISICOMETRICS
   ========================================================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
}

.metric-box-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.metric-box-val {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 0.2rem;
}

.metric-box-desc {
  font-size: 0.68rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* ==========================================================================
   ACCORDION FAQ
   ========================================================================== */
.info-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.info-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  overflow: hidden;
}

.info-summary {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: background 0.15s ease;
}

.info-summary:hover {
  background: #ffffff;
}

.info-content {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.info-content p + p {
  margin-top: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclaimer-text {
  font-size: 0.74rem;
  line-height: 1.55;
  color: #64748b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   TOAST NOTIFICATIE
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   PRINT STIJLEN (A4 PDF Export)
   ========================================================================== */
@media print {
  /* Verborgen elementen */
  .site-header,
  .hero-strip,
  .site-footer,
  .range-slider,
  .range-bounds,
  .toggle-mode-pill,
  .btn-action-ghost,
  .btn-action-primary,
  .toast,
  .info-accordion details summary::-webkit-details-marker {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }

  .print-header {
    display: block !important;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0c233c;
  }

  .print-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .print-header h1 {
    font-size: 16pt;
    color: #0c233c;
    margin-bottom: 2px;
  }

  .print-header p {
    font-size: 9.5pt;
    color: #475569;
  }

  .print-meta {
    font-size: 9pt;
    font-weight: 600;
    color: #64748b;
  }

  .main-layout {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .inputs-column {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10pt !important;
    margin-bottom: 15pt !important;
    page-break-after: avoid;
  }

  .card-section {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    padding: 8pt 10pt !important;
    margin-bottom: 10pt !important;
    page-break-inside: avoid;
  }

  .hero-kpi-card {
    background: #0c233c !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    page-break-inside: avoid;
    margin-bottom: 15pt;
  }

  .kpi-core-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8pt !important;
    page-break-inside: avoid;
    margin-bottom: 12pt !important;
  }

  .kpi-card {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    padding: 6pt 8pt !important;
  }

  .waterfall-canvas-wrap {
    height: 200px !important;
    background: #ffffff !important;
  }

  .data-table th,
  .data-table td {
    padding: 4pt 6pt !important;
    font-size: 8.5pt !important;
  }
}
