﻿/**
 * Publieke BPM-calculator â€” LD AutoTaxatie & Expertise donker thema (homepage, geen login).
 */
:root {
  --bg: #08111d;
  --bg-2: #0d1725;
  --panel: rgba(16, 28, 42, 0.55);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --gold: #c8a05a;
  --gold-2: #e0c38f;
  --white: #ffffff;
  --text: #d8e1eb;
  --muted: #9baabc;
  --container: min(92%, 880px);
  --bpm-ld-blue: #2a3f63;
  --bpm-ld-blue-mid: #334d75;
  --bpm-ld-accent: #2563eb;
  --bpm-ld-accent-soft: rgba(37, 99, 235, 0.18);
  --bpm-ld-border: rgba(255, 255, 255, 0.14);
  --bpm-ld-muted: #9baabc;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.bpm-public {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  background: linear-gradient(180deg, #08111d 0%, #0d1725 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.bpm-public a {
  color: var(--gold-2);
  text-decoration: none;
}
body.bpm-public a:hover {
  color: var(--white);
}
.bpm-page .container {
  width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.bpm-page .top-bar {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 17, 0.92);
}
.bpm-page .top-bar a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bpm-page .hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(200, 160, 90, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(7, 11, 17, 0.96), rgba(7, 11, 17, 0.88));
}
.bpm-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.bpm-page .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(224, 195, 143, 0.7);
}
.bpm-page .hero h1 {
  color: var(--white);
  font-size: clamp(24px, 4vw, 34px);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.bpm-page .hero-intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin: 0;
  max-width: 720px;
}

.bpm-page .main-wrap {
  padding: 32px 0 72px;
}

/* Form shell (compatibel met portal-classnamen in markup) */
.flow-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 20px;
}
.flow-head h3 {
  color: var(--white);
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.flow-head p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.field .field-label,
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.select,
.input {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.select:focus,
.input:focus {
  outline: none;
  border-color: rgba(200, 160, 90, 0.45);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(180deg, #d4bc7a, var(--gold));
  color: #1a1208;
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--gold-2);
  color: var(--white);
}

.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.card.section-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 20px;
}
.card.section-card > h3 {
  color: var(--white);
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

/* BPM componenten (afgeleid van bpm-calculator-ld.css, donker) */
.bpm-ld-hero {
  border-left: 4px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 22px;
}
.bpm-ld-hero h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.bpm-ld-hero p {
  margin: 0;
  font-size: 14px;
  color: var(--bpm-ld-muted);
  line-height: 1.55;
  max-width: 720px;
}

.bpm-fuel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bpm-fuel-btn {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bpm-fuel-btn:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.1);
}
.bpm-fuel-btn.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, #d4bc7a, #c8a96a);
  color: #1f2937;
}

.bpm-date-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bpm-date-row .select {
  flex: 1;
  min-width: 0;
}
.bpm-date-row .select:first-child {
  flex: 0 0 auto;
  min-width: 72px;
  max-width: 96px;
}
.bpm-date-row .select:last-child {
  flex: 0 0 auto;
  min-width: 80px;
  max-width: 104px;
}

.bpm-spin {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}
.bpm-spin:hover {
  background: rgba(255, 255, 255, 0.12);
}

.bpm-co2-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bpm-co2-wrap .input {
  flex: 1;
  text-align: center;
}

.bpm-transition {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--bpm-ld-border);
  background: var(--bpm-ld-accent-soft);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.bpm-transition.visible {
  display: block;
}
.bpm-transition strong {
  color: var(--gold-2);
}

.bpm-error {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  font-size: 13px;
  font-weight: 600;
}
.bpm-error.visible {
  display: block;
}

.bpm-electric {
  display: none;
  margin-top: 12px;
  padding: 14px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(6, 78, 59, 0.45);
  color: #bbf7d0;
  font-weight: 700;
  font-size: 14px;
}
.bpm-electric.visible {
  display: block;
}

.bpm-result-highlight {
  text-align: center;
  padding: 22px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 28, 42, 0.95), rgba(8, 17, 29, 0.98));
  margin-bottom: 16px;
}
.bpm-result-highlight .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}
.bpm-result-highlight .amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-2);
  margin-top: 6px;
}
.bpm-forfait-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 8px;
}

.bpm-detail-rows .field {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.bpm-detail-rows .field:last-child {
  border-bottom: none;
}

.bpm-comp-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 12px;
}
@media (max-width: 640px) {
  .bpm-comp-grid {
    grid-template-columns: 1fr;
  }
  .bpm-comp-vs {
    display: none;
  }
}
.bpm-comp-col {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  background: var(--panel-2);
}
.bpm-comp-col.winner {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 169, 106, 0.22);
}
.bpm-comp-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--muted);
}
.bpm-badge-laagste {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(200, 169, 106, 0.25);
  color: #e0c38f;
}

.bpm-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.bpm-disclaimer strong {
  color: rgba(255, 255, 255, 0.88);
}

.bpm-taxatie-panel {
  margin-top: 18px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(200,160,90,0.18);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.055),
    rgba(255,255,255,0.025)
  );
  box-shadow: inset 3px 0 0 rgba(200,160,90,0.65);
}

.bpm-taxatie-panel h4 {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0c38f;
}

.bpm-taxatie-range {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #f1f5f9;
}

.bpm-taxatie-saving {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #e0c38f;
}

.bpm-taxatie-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(216,225,235,0.72);
}

.bpm-page .footer-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(224, 195, 143, 0.2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.bpm-page .footer-note strong {
  color: rgba(255, 255, 255, 0.88);
}
.bpm-page .footer-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.bpm-page .footer-links a {
  font-size: 13px;
  font-weight: 600;
}

@media print {
  body.bpm-public * {
    visibility: hidden;
  }

  body.bpm-public .bpm-print-root,
  body.bpm-public .bpm-print-root * {
    visibility: visible;
  }

  body.bpm-public .bpm-print-root {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 16px;
    background: #fff !important;
    color: #111 !important;
    border: none !important;
  }

  body.bpm-public .bpm-print-root h3,
  body.bpm-public .bpm-print-root h4,
  body.bpm-public .bpm-print-root .field-label,
  body.bpm-public .bpm-print-root .label,
  body.bpm-public .bpm-print-root .amount,
  body.bpm-public .bpm-print-root strong {
    color: #111 !important;
  }

}

