/* ── Thème OnJoy pour le back-office ──────────────────────────────────────
   Surcharge le thème Tabler (chargé après colors.css → prioritaire).
   1) Couleur primaire = orange de marque OnJoy (#FF9860).
   2) Gris chauds façon app Claude (fonds crème, gris légèrement ocrés,
      texte brun-noir chaud) à la place des gris froids/violacés par défaut. */
:root,
[data-bs-theme="light"],
[data-menu-theme="light"] {
    /* Orange OnJoy */
    --tblr-primary: #FF9860;
    --tblr-primary-rgb: 255, 152, 96;
    --tblr-primary-text-emphasis: #66401f;
    --tblr-primary-bg-subtle: #ffeee3;
    --tblr-primary-border-subtle: #ffd9c0;
    --tblr-link-color: #d97338;
    --tblr-link-color-rgb: 217, 115, 56;
    --tblr-link-hover-color: #b85d27;
    --tblr-focus-ring-color: rgba(255, 152, 96, .25);

    /* Échelle de gris chauds (teinte ocre, faible saturation) */
    --tblr-gray: #6e685c;
    --tblr-gray-dark: #302c26;
    --tblr-gray-100: #f5f3ed;
    --tblr-gray-200: #ece8df;
    --tblr-gray-300: #ded9cc;
    --tblr-gray-400: #c7c1b2;
    --tblr-gray-500: #908a7b;
    --tblr-gray-600: #6e685c;
    --tblr-gray-700: #4c473e;
    --tblr-gray-800: #302c26;
    --tblr-gray-900: #211e19;

    /* Fonds & texte chauds (style Claude : crème + brun-noir) */
    --tblr-body-bg: #faf8f3;
    --tblr-body-bg-rgb: 250, 248, 243;
    --tblr-body-color: #2a2824;
    --tblr-body-color-rgb: 42, 40, 36;
    --tblr-secondary-color: rgba(42, 40, 36, .72);
    --tblr-secondary-color-rgb: 42, 40, 36;
    --tblr-secondary-bg: #ece8df;
    --tblr-secondary-bg-rgb: 236, 232, 223;
    --tblr-tertiary-color: rgba(42, 40, 36, .5);
    --tblr-tertiary-bg: #f5f3ed;
    --tblr-muted: #847e72;
    --tblr-muted-rgb: 132, 126, 114;
    --tblr-secondary: #847e72;
    --tblr-secondary-rgb: 132, 126, 114;

    /* Bordures chaudes */
    --tblr-border-color: #e6e2d8;
    --tblr-border-color-translucent: rgba(110, 104, 92, .16);

    /* Barre latérale / navbar en crème chaud */
    --tblr-navbar-bg: #faf9f4;
}

/* Cartes en blanc cassé chaud (au lieu du blanc pur froid) — mode clair only */
:root .card,
[data-bs-theme="light"] .card {
    --tblr-card-bg: #fcfbf8;
    background-color: #fcfbf8;
}
[data-bs-theme="dark"] .card {
    background-color: var(--tblr-bg-surface);
}

.ck-editor__editable {
    height: 500px;
}

[data-repeatable-holder="documents"] .delete-element,
[data-repeatable-holder="p_data"] .delete-element {
    display: none;
}

.dz-filename span {
    cursor: pointer !important;
}