/*
 * app.css — Styles globaux & variables CSS dynamiques
 * Les valeurs de --header-bg, --btn-bg, etc. sont surchargées
 * par un <style> injecté en PHP avec les couleurs de la compagnie.
 */

/* ---- Variables par défaut (thème neutre) ---- */
:root {
  --header-bg:     #343a40;
  --header-text:   #ffffff;
  --main-bg:       #f0f2f5;
  --main-text:     #212529;
  --footer-bg:     #343a40;
  --footer-text:   #ffffff;
  --sidebar-bg:    #495057;
  --sidebar-text:  #ffffff;
  --btn-bg:        #0d6efd;
  --btn-text:      #ffffff;
  --border-radius: 8px;
  --shadow:        0 2px 8px rgba(0,0,0,.08);
}

/* ---- Reset minimal ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: var(--main-text);
  background: var(--main-bg);
}

a { color: var(--btn-bg); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ---- Scrollbar (Chrome) ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
