/*
  Fyxdo — Bedrijfsgegevens (Instellingen): factuurgegevens, prijzen incl./excl. btw, btw-standaard, KOR.
  Laadvolgorde: brand/fonts/fonts.css → brand/tokens.css → brand/icons/icons.css
               → screens/auth/auth.css → screens/app/app.css → screens/klanten/klanten.css
               → screens/afspraken/afspraak.css → screens/diensten/diensten.css → screens/bedrijf/bedrijf.css
  Bouwt voort op het formulier (klanten.css), het vinkje (afspraak.css) en de keuzekaarten (diensten.css).
  Alleen variabelen uit tokens.css. Geen gradiënten, geen schaduwen, geen inline stijl.
*/

/* ---------- Formulier in secties (Bedrijf, Betalen, Btw) ---------- */
.fx-form--sections { gap: var(--space-10); }
.fx-form-section { display: flex; flex-direction: column; gap: var(--space-6); margin: 0; }
.fx-form-section > .fx-section-title { margin: 0 0 calc(var(--space-2) - var(--space-6)); }   /* titel 8 px boven het eerste veld */
.fx-form-section > .fx-section-lead { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* ---------- Velden die bij een keuze horen (KOR aan of uit) ---------- */
.fx-subfields {
  padding: var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ---------- Tekst die letterlijk op de factuur komt ---------- */
.fx-invoice-text {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--border-strong);
  background: var(--bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px; line-height: 20px;
  color: var(--text);
}

/* Btw-nummer en IBAN: hoofdletters en cijfers, makkelijker te controleren */
.fx-input--code { font-variant-numeric: tabular-nums; letter-spacing: .3px; }

/* ---------- Factuurnummer: vast jaar ervoor, het getal in het veld (#59) ---------- */
.fx-prefixed { display: flex; align-items: center; gap: var(--space-2); }
.fx-prefixed > span { font-size: 16px; line-height: 24px; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.fx-prefixed .fx-input { width: 120px; }
.fx-field-value { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); }

/* ---------- Logo (bij Bedrijf) ---------- */
.fx-logo-preview {
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  padding: var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.fx-logo-preview img { display: block; max-height: 48px; max-width: 240px; }   /* zoals op de publieke pagina; in de PDF max. 18 × 70 mm */
.fx-logo-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.fx-logo-actions .fx-btn { width: auto; }
.fx-logo-field input[type="file"]:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- KOR-wijziging die verstuurde facturen raakt (BG27, #120) ---------- */
.fx-impact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.fx-impact-list li { display: flex; flex-direction: column; padding: var(--space-2) 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 20px; color: var(--text); }
.fx-impact-meta { color: var(--text-muted); }
