/* VAT calculator page (/btw-berekenen/, /en/vat-calculator/). Builds on site.css tokens. */
.vc [hidden] { display: none !important; }

.vc-hero { padding-top: 40px; padding-bottom: 28px; }
.vc-hero h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 12px; }
.vc-hero .lead { max-width: 38em; }
.vc-private { display: inline-flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 10px 16px; background: var(--navy-soft); border-radius: 14px; color: var(--navy); font-size: 15px; max-width: 46em; }
.vc-private svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.vc-private b { font-weight: 600; }

.vc-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.vc-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 1px 2px rgba(20,33,61,.05); min-width: 0; }
.vc-card h2 { font-size: 22px; margin-bottom: 14px; }
.vc-field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.vc-label { display: block; padding: 0; font-size: 14px; font-weight: 600; color: var(--navy); margin: 0 0 6px; }
.vc-hint { font-size: 14px; color: var(--muted); margin-top: 6px; }

.vc input[type="text"] { width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 24px Outfit, sans-serif; padding: 0 14px; }
.vc input[type="text"]:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.vc [aria-invalid="true"] { border-color: var(--amber-ink) !important; background: var(--amber) !important; }
.vc-amount, .vc-percent { display: flex; align-items: center; gap: 10px; }
.vc-amount span, .vc-percent span { font: 600 24px Outfit, sans-serif; color: var(--navy); }
.vc-percent input[type="text"] { max-width: 180px; text-align: right; }
.vc-error { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--amber); color: var(--amber-ink); font-size: 15px; }

.vc-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.vc-seg label { position: relative; display: block; cursor: pointer; }
.vc-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.vc-seg span { display: grid; place-items: center; min-height: 44px; padding: 4px 8px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; }
.vc-seg input:checked + span { background: var(--brand-navy); color: #fff; }
.vc-seg input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.vc-custom { margin-top: 14px; }
.vc-note { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; background: var(--paper); border-radius: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.vc-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--navy); }
.vc-note a, .vc-about a { color: var(--navy); }
.vc-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.vc-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); flex: none; }

.vc-prompt { padding: 36px 16px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 14px; margin-bottom: 14px; }
.vc-rows { display: grid; gap: 0; margin: 0 0 18px; }
.vc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vc-row dt { font-size: 15px; color: var(--muted); }
.vc-row dd { margin: 0; font: 600 22px Outfit, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.vc-row[data-row="incl"] dd { color: var(--navy); }
.vc[data-direction="excl"] .vc-row[data-row="incl"] dd, .vc[data-direction="incl"] .vc-row[data-row="excl"] dd { background: var(--orange); padding: 2px 10px; border-radius: 8px; color: var(--brand-navy); }
.vc-result h3 { font-size: 16px; margin-bottom: 8px; }
.vc-working { list-style: none; margin: 0 0 10px; padding: 12px 14px; background: var(--paper); border-radius: 12px; display: grid; gap: 6px; font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.vc-notes { margin-top: 32px; }

.vc-about { max-width: 820px; padding-top: 56px; padding-bottom: 72px; display: grid; gap: 40px; }
.vc-about h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 14px; }
.vc-about section > p { color: var(--muted); margin-bottom: 12px; }

@media (max-width: 860px) {
  .vc-tool { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .vc-hero { padding-top: 28px; }
  .vc-card { padding: 18px; }
  .vc-seg-4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vc * { transition: none !important; }
}
.vc-checked { margin-top: 2px; }
