/* Thème clair : redéfinit les variables de colors.css sous l'attribut data-lp-theme de <html> */

:root[data-lp-theme="light"] {
  /* Palette provisoire tirée du logo : cyan et bleu assombris pour porter du texte, bleu profond tel quel */
  --color-dop-bg: #f5f8fb;
  --color-dop-bg-rgb: 245, 248, 251;
  --color-dop-surface: #ffffff;
  --color-dop-surface-2: #eaf2f8;
  --color-dop-border: #d6e1ea;
  --color-dop-border-accent: #9fcde6;
  --color-dop-glow: #d4effa;
  --color-dop-cyan: #087199;
  --color-dop-blue: #1670ad;
  --color-dop-blue-rgb: 22, 112, 173;
  --color-dop-purple: #1f57a0;
  --color-dop-purple-rgb: 31, 87, 160;
  --color-dop-text: #0e1c2b;
  --color-dop-text-rgb: 14, 28, 43;
  --color-dop-text-muted: #45576a;
  --color-dop-text-subtle: #5f7084;
  --color-dop-overlay-1: rgba(31, 87, 160, 0.04);
  --color-dop-overlay-2: rgba(31, 87, 160, 0.08);
  /* Anneau de focus : cyan vif du logo */
  --color-dop-focus-ring: rgba(12, 204, 246, 0.4);
  --color-dop-on-accent: #ffffff;
  --color-dop-btn-close-filter: none;
  --color-dop-accordion-icon-filter: none;
  --color-dop-secondary: #e6edf4;
  --color-dop-secondary-rgb: 230, 237, 244;
  --color-dop-secondary-hover: #d6e0ea;
  --color-dop-secondary-border: #b6c5d4;
  --color-dop-table-header-bg: #cfe5f4;
  /* Flèche des listes déroulantes, sombre sur fond clair */
  --color-dop-select-arrow: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2345576a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");

  /* Statuts des listes : teintes du thème sombre, archivée éclaircie sous son texte sombre */
  --color-lp-statut-validation: #8aa7f1;
  --color-lp-statut-approuvee: #9c73f6;
  --color-lp-statut-archivee: #c2aaa1;

  /* Lignes et colonnes signalées dans les tableaux : teintes claires */
  --color-materiel-ligne-nouvelle-bg: #fffbb5;
  --color-liste-mere-reseau-courant-bg: #dbe6fd;
  --color-liste-mere-reseau-courant-header-bg: #b8cbf6;
  --color-liste-mere-materiel-absent-bg: #ffecd2;

  /* Démo : modale d'aperçu d'un mail colorée, pour détacher le mail (iframe blanche) */
  --color-demo-mail-modal-bg: var(--color-dop-surface-2);
}
