/* ═══════════════════════════════════════════════════════
   DRAGON BANE — EINK.CSS
   Thème e-ink : pur noir/blanc, 0 ombre, 0 transition
   Optimisé Boox Air 4 (stylet, écran e-ink)
═══════════════════════════════════════════════════════ */

body.theme-eink {
  --bg:         #ffffff;
  --fg:         #000000;
  --border:     #000000;
  --bg-label:   #e8e8e8;
  --bg-section: #f0f0f0;
  --bg-input:   #ffffff;
  --shadow:     none;
  --radius:     0px;
  --font-base:  14px;
  --touch-min:  28px;
  --transition: 0s;
  --accent:     #000000;
  --accent-fg:  #ffffff;
  --danger:     #000000;
}

/* Zéro animation, zéro ombre */
body.theme-eink *,
body.theme-eink *::before,
body.theme-eink *::after {
  transition: none !important;
  animation: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Nav */
body.theme-eink .tab-nav {
  background: #000;
  border-bottom: 3px solid #000;
  position: static;
}
body.theme-eink .tab-btn {
  color: #fff;
  border-right: 1px solid #fff;
  font-size: 12px;
  padding: 8px 12px;
}
body.theme-eink .tab-btn.active {
  background: #fff;
  color: #000;
  border-bottom: none;
}
body.theme-eink .tab-btn:hover {
  background: #333;
  color: #fff;
}

/* Inputs : bordure forte */
body.theme-eink input[type=text],
body.theme-eink input[type=password],
body.theme-eink input[type=number],
body.theme-eink textarea,
body.theme-eink select {
  border: 1.5px solid #000;
  background: #fff;
  color: #000;
}
body.theme-eink input:focus,
body.theme-eink textarea:focus {
  background: #f8f8f8;
}

/* Boutons e-ink */
body.theme-eink .btn {
  border: 2px solid #000;
  background: #fff;
  color: #000;
}
body.theme-eink .btn:hover,
body.theme-eink .btn:active {
  background: #000;
  color: #fff;
}
body.theme-eink .btn.primary {
  background: #000;
  color: #fff;
}
body.theme-eink .btn.danger {
  border-style: dashed;
  border-color: #000;
  color: #000;
}

/* Section title e-ink */
body.theme-eink .section-title {
  background: #000;
  color: #fff;
}
body.theme-eink .card-header {
  background: #e8e8e8;
  border-bottom: 1px solid #000;
}

/* Table */
body.theme-eink .data-table th { background: #000; color: #fff; border-color: #000; }
body.theme-eink .data-table td { border-color: #000; background: #fff; }
body.theme-eink .data-table tr:nth-child(even) td { background: #f0f0f0; }

/* Composants fiche personnage e-ink */
body.theme-eink .flabel { background: #e8e8e8; border-right-color: #000; }
body.theme-eink .field-row { border-bottom-color: #000; }
body.theme-eink .section-box { border-color: #000; }
body.theme-eink .card { border-color: #000; }

/* Checkbox e-ink : taille adaptée stylet */
body.theme-eink .cb-box { width: 24px; height: 24px; border-width: 2px; }
body.theme-eink .cb-diamond { border-width: 2px; }
body.theme-eink .cb-circle { border-width: 2px; }
body.theme-eink .comp-check { border-width: 2px; }

/* Stat circles */
body.theme-eink .stat-circle { border-width: 2px; border-color: #000; }
body.theme-eink .indice-circle { border-width: 2px; border-color: #000; }

/* Armes table */
body.theme-eink .armes-table th { background: #000; color: #fff; }
body.theme-eink .armes-table td { border-color: #000; }

/* Spinner désactivé */
body.theme-eink .ai-spinner { display: none; }
