/* Theme: retourzending.nl ("het retourlabel"). Taken from the parcel itself: the white shipping label with its
 * black rules and barcode, the yellow RETOUR sticker, and the button that starts it all (the withdrawal button).
 * Cool label-white surfaces and a bright "send" blue, so the kraft-brown of real boxes stays in the photos only.
 * Archivo (variable width: condensed for label fields) + Instrument Sans (same as the panel/portal).
 * Rule 12: no cream/terracotta/espresso, no purple. Not a carrier's colours (no PostNL orange, DHL yellow-red). */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-wdth-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --zs-bg: #f2f4f7;            /* label white with a cool cast */
  --zs-surface: #ffffff;
  --zs-surface-alt: #e4e9f0;
  --zs-ink: #121a26;           /* label print black */
  --zs-muted: #4a5668;
  --zs-line: #ccd4df;
  --zs-brand: #1e47c7;         /* send blue (white text 7.9:1) */
  --zs-brand-deep: #14318c;
  --zs-on-brand: #ffffff;
  --zs-brand-text: #1e47c7;
  --zs-accent: #1e47c7;
  --zs-accent-hover: #14318c;
  --zs-accent-ink: #ffffff;
  --zs-highlight: #ffd23a;     /* the RETOUR sticker */
  --zs-highlight-ink: #121a26;
  --zs-font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --zs-font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zs-display-weight: 800;
  --zs-display-tracking: -.01em;
  --zs-radius: 10px;
  --zs-radius-sm: 4px;
  --zs-radius-btn: 8px;
  --zs-picto: #1e47c7;
  /* The label is always white paper with black print, also in dark mode. */
  --rz-label: #ffffff;
  --rz-label-ink: #121a26;
  /* Return status (same steps as the portal). */
  --rz-step-done: #1e47c7;
  --rz-step-todo: #b9c3d1;
  --rz-ok: #157a4a;  --rz-ok-bg: #dff3e8;
  --rz-no: #b42c25;  --rz-no-bg: #fbe3e1;
}

/* Dark mode (rule 8): the sorting hall at night. A coloured blue-black, the label stays white. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --zs-bg: #0e1420; --zs-surface: #161e2d; --zs-surface-alt: #1c2638; --zs-ink: #e8edf4; --zs-muted: #a8b3c3; --zs-line: #2a364b;
    --zs-brand: #1e47c7; --zs-brand-deep: #132f86; --zs-on-brand: #ffffff; --zs-brand-text: #a4b8ff;
    --zs-accent: #8ea6ff; --zs-accent-hover: #b2c2ff; --zs-accent-ink: #0e1420;
    --zs-highlight: #f5cb3a; --zs-highlight-ink: #0e1420; --zs-picto: #8ea6ff;
    --rz-step-done: #8ea6ff; --rz-step-todo: #3a4760;
    --rz-ok: #7fdcaa; --rz-ok-bg: #143626; --rz-no: #ff9d95; --rz-no-bg: #3d1d1b;
  }
}
:root[data-theme="dark"] {
  --zs-bg: #0e1420; --zs-surface: #161e2d; --zs-surface-alt: #1c2638; --zs-ink: #e8edf4; --zs-muted: #a8b3c3; --zs-line: #2a364b;
  --zs-brand: #1e47c7; --zs-brand-deep: #132f86; --zs-on-brand: #ffffff; --zs-brand-text: #a4b8ff;
  --zs-accent: #8ea6ff; --zs-accent-hover: #b2c2ff; --zs-accent-ink: #0e1420;
  --zs-highlight: #f5cb3a; --zs-highlight-ink: #0e1420; --zs-picto: #8ea6ff;
  --rz-step-done: #8ea6ff; --rz-step-todo: #3a4760;
  --rz-ok: #7fdcaa; --rz-ok-bg: #143626; --rz-no: #ff9d95; --rz-no-bg: #3d1d1b;
}
