/* Sector palette and decorations – CDE MADRP (الفلاحة والتنمية الريفية والصيد البحري).
   Shared by the homepage (site.css) and the registration pages (registration/css/sector-theme.css). */
:root {
  --primary: #3E8E41;
  --primary-dark: #2C6B2F;
  --primary-soft: rgba(62, 142, 65, .10);
  --primary-shadow: rgba(62, 142, 65, .28);
  --accent: #D9A441;
  --accent-glow: rgba(217, 164, 65, .18);
  --secondary: #1C6E8C;
  --secondary-light: #2E86A6;
  --sand: #EEF3E2;
  --cream: #F8FAF3;
  --deep: #173A2C;
  --ink: #1F2A22;
  --muted: #5D6B5F;
  --pat-light: url("../img/bg-light.svg");
  --pat-dark: url("../img/bg-dark.svg");
  --pat-scatter: url("../img/bg-scatter.svg");
  --motif: url("../img/motif.svg");
  --band: url("../img/band.svg");
}

/* Agriculture dark theme: calmer, less green surfaces (the sector green stays on bands, buttons and accents). */
html[data-theme="dark"] {
  --cream: color-mix(in srgb, var(--deep) 26%, #060b10);
  --sand: color-mix(in srgb, var(--deep) 34%, #0b141d);
  --surface: color-mix(in srgb, var(--deep) 24%, #1b2632);
}
