/* ─────────────────────────────────────────────────────────────
   BEOG NEERE — Ajustements légers de l'admin (thème clair Unfold)
   Les couleurs viennent de UNFOLD["COLORS"] (settings.py) : ce fichier
   ne redéfinit PAS les fonds, la barre latérale ni les tableaux, pour
   ne plus entrer en conflit avec le thème.
   ───────────────────────────────────────────────────────────── */

/* Champs d'envoi d'image : bien visibles */
input[type="file"] {
  display: inline-block;
  padding: 8px 12px;
  background: #f0f7f4;
  border: 2px dashed #40916c;
  border-radius: 8px;
  color: #1b4332;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  max-width: 100%;
}
input[type="file"]::file-selector-button {
  background: #1b4332;
  color: #fff;
  border: none;
  padding: 7px 14px;
  margin-right: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover { background: #2d6a4f; }

/* Aperçu instantané d'une nouvelle image (voir admin_preview.js) */
.instant-upload-preview {
  margin-top: 10px;
  display: inline-block;
  background: #f0f7f4;
  border: 1px solid #b7dfcb;
  padding: 10px;
  border-radius: 8px;
}
.instant-upload-preview p { margin: 0 0 6px; font-weight: 700; color: #1b4332; font-size: 12px; }
.instant-upload-preview img { max-width: 280px; max-height: 160px; border-radius: 6px; object-fit: cover; }

/* Éditeur JSON (données avancées des blocs) : hauteur confortable */
.jsoneditor { min-height: 320px; }
