/* ============================================================
   goud999safe — pagina-CSS: Downloads / rapport aanvragen
   Afgesplitst uit de oude pagina-CSS (fase 2). Alleen deze pagina('s).
   ============================================================ */

  /* ─────────────────────────────────────────────
     Downloads / Rapport aanvragen — hergebruikt .card + .btn-on-white--solid.
     Eigen dl-namespace voor de rest.
     ───────────────────────────────────────────── */
  .dl-card { max-width: 1180px; }
  .dl-head { display: flex; align-items: center; gap: 14px; padding: 22px 32px; flex-wrap: wrap; }
  .dl-head-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .dl-head-title { font-size: var(--fs-18); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
  .dl-head-sub { font-size: var(--fs-13); color: var(--text-soft); line-height: 1.45; max-width: 720px; }

  .dl-body { padding: 14px 32px 0; }

  .dl-section { padding: 8px 0 28px; }
  .dl-section:first-child { padding-top: 0; }
  .dl-section + .dl-section { border-top: 1px solid var(--grey-line); padding-top: 28px; }
  .dl-section-title { font-size: var(--fs-11); font-weight: 700; color: var(--forest); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }

  /* Optie-kaart (rich checkbox) */
  .dl-option { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--grey-line); border-radius: var(--r-md); cursor: pointer; user-select: none; background: var(--paper); margin-bottom: 10px; transition: border-color 0.15s, background 0.15s; }
  .dl-option:last-child { margin-bottom: 0; }
  .dl-option:hover { border-color: rgba(22,46,37,0.4); background: rgba(22,46,37,0.02); }
  .dl-option:has(input[type="checkbox"]:checked) { border-color: var(--forest); background: var(--paper); }
  .dl-option input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 1.5px solid rgba(22,46,37,0.3); border-radius: 4px; background: var(--paper); cursor: pointer; flex-shrink: 0; position: relative; margin-top: 2px; transition: background 0.15s, border-color 0.15s; }
  .dl-option input[type="checkbox"]:checked { background: var(--forest); border-color: var(--forest); }
  .dl-option input[type="checkbox"]:checked::after { content: ''; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
  .dl-option-content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .dl-option-name { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
  .dl-option-desc { font-size: 12px; color: var(--text-soft); line-height: 1.5; margin-top: 2px; }

  /* Sub-control (datumkeuze bij Waardering) */
  .dl-option-sub { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }   /* geen stippellijn; label boven keuzeveld met 8px ertussen (zoals .form-label bij beheer-profiel) */
  .dl-option-sub.is-disabled { opacity: 0.45; pointer-events: none; }
  .dl-option-sub-label { font-size: var(--fs-11); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); }
  /* Compacte filter-look voor de referentiedatum-select (was .dl-select: padding 9px, fs-13) */
  .dl-option-sub .form-select { min-width: 200px; padding: 9px 32px 9px 12px; font-size: 13px; background-position: right 10px center; }

  /* Info-strip */
  .dl-infobox { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 4px; padding: 14px 16px; font-size: var(--fs-13); color: var(--ink); line-height: 1.55; margin-bottom: 22px; }
  .dl-infobox svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
  .dl-infobox b { color: var(--forest); font-weight: 700; }

  /* Send-bar (kaart-voet) */
  .dl-sendbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 -32px; padding: 22px 32px; background: var(--grey-soft); border-top: 1px solid var(--grey-line); }
  .dl-sendbar-info { font-size: var(--fs-13); color: var(--text-soft); }
  .dl-sendbar-info b { color: var(--ink); font-weight: 700; }
  .dl-sendbar .btn-on-white--solid:disabled { background: rgba(22,46,37,0.25); border-color: rgba(22,46,37,0.25); cursor: not-allowed; }

  @media (max-width: 768px) {
    .dl-body { padding: 10px 16px 0; }
    .dl-head { padding: 16px; }
    .dl-sendbar { margin: 0 -16px; padding: 18px 16px; flex-direction: column; align-items: stretch; }
    .dl-sendbar .btn-on-white--solid { width: 100%; justify-content: center; }
    .dl-option-sub .form-select { min-width: 0; width: 100%; }
  }
