/* ============================================================================
 * gestionIngredient.css — TripCooking · Page admin « Gestion des Ingrédients »
 * ----------------------------------------------------------------------------
 * Thème SOMBRE (console) du site. 100 % CSS : aucun changement de PHP, de JS
 * ni de formulaire. On cible uniquement les classes déjà présentes dans
 * gestionIngredient.php (gestion-*, sidebar-gestion__*, modales).
 * Responsive inclus. À charger après la feuille globale du site.
 * ========================================================================== */

.gestion-page{
  --chrome:#16171B; --chrome-2:#1C1E23; --chrome-3:#23262C; --chrome-4:#2A2D34;
  --line:#2A2D34; --line-2:#363A43;
  --text:#ECEDE9; --text-2:#C2C6CC; --muted:#8A8F98; --muted-2:#6A6F79;
  --accent:#CA4A82; --accent-deep:#B6306B; --accent-2:#E14B7A; --accent-soft:rgba(225,75,122,.12);
  --gold:#E8A93C; --gold-soft:rgba(232,169,60,.14);
  --live:#34D27B; --live-soft:rgba(52,210,123,.14);
  --danger:#F2647B; --danger-soft:rgba(242,100,123,.12);
  --ui:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --r:18px; --r2:22px; --rsm:12px;
  --sh:0 24px 60px -24px rgba(0,0,0,.7);
  --sh-sm:0 12px 30px -18px rgba(0,0,0,.7);

  min-height:100vh;
  color:var(--text);
  font-family:var(--ui);
  background:
    radial-gradient(1100px 560px at 12% -4%, rgba(225,75,122,.10), transparent 60%),
    radial-gradient(900px 520px at 92% 0%, rgba(124,92,255,.08), transparent 55%),
    var(--chrome);
  /* décalage haut pour passer SOUS la topbar fixe du site (ajuste 84px si ta barre est plus haute/basse) */
  padding:84px 0 64px;
  -webkit-font-smoothing:antialiased;
}
.gestion-page *{box-sizing:border-box}
.gestion-page a{color:inherit;text-decoration:none}
.gestion-page button,.gestion-page input,.gestion-page select,.gestion-page textarea{font:inherit}

.gestion-container{max-width:1380px;margin:0 auto;padding:0 22px}
.gestion-row{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;margin:0}

/* Bootstrap cols présents dans le HTML : on neutralise le padding et on fixe les largeurs */
.gestion-row > [class*="col-"]{padding:0}
.gestion-row > .col-lg-3{flex:0 0 270px;max-width:270px}
.gestion-row > .col-lg-9{flex:1 1 0;min-width:0;max-width:none}

/* =========================================================
   SIDEBAR
========================================================= */
.sidebar-gestion__wrap{
  position:sticky; top:22px;
  background:var(--chrome-2); border:1px solid var(--line); border-radius:var(--r2);
  padding:16px; box-shadow:var(--sh-sm);
}
.sidebar-gestion__adminCard{
  display:flex; align-items:center; gap:12px; padding:13px; border-radius:16px; margin-bottom:14px;
  background:linear-gradient(135deg, rgba(225,75,122,.14), rgba(124,92,255,.08));
  border:1px solid var(--line);
}
.sidebar-gestion__adminAvatar{
  width:46px; height:46px; border-radius:13px; flex:0 0 auto;
  background:linear-gradient(135deg,var(--accent-2),var(--accent-deep));
  box-shadow:0 10px 22px -8px rgba(225,75,122,.7);
  display:grid; place-items:center;
}
.sidebar-gestion__adminAvatar::after{content:"A";color:#fff;font-weight:800;font-size:17px}
.sidebar-gestion__adminTitle{font-weight:800;font-size:14px;letter-spacing:.05em}
.sidebar-gestion__adminSubtitle{font-size:12px;color:var(--muted);margin-top:1px}

.sidebar-gestion__nav{display:flex;flex-direction:column;gap:3px}
.sidebar-gestion__item{
  display:flex; align-items:center; gap:12px; padding:11px 13px; border-radius:12px;
  color:var(--text-2); font-weight:600; font-size:14.5px;
  transition:background .14s ease, color .14s ease;
}
.sidebar-gestion__item:hover{background:var(--chrome-3);color:var(--text)}
.sidebar-gestion__icon{width:24px;text-align:center;font-size:17px;flex:0 0 auto}
.sidebar-gestion__label{flex:1;min-width:0}
.sidebar-gestion__badge{
  font-family:var(--mono); font-size:11px; font-weight:700; color:var(--accent-2);
  background:var(--accent-soft); border-radius:999px; padding:2px 9px;
}
.sidebar-gestion__item.is-active{
  background:linear-gradient(135deg,var(--accent),var(--accent-deep)); color:#fff; font-weight:800;
  box-shadow:0 12px 26px -10px rgba(182,48,107,.8);
}
.sidebar-gestion__item.is-active .sidebar-gestion__badge{color:#fff;background:rgba(255,255,255,.22)}

.sidebar-gestion__divider{height:1px;background:var(--line);margin:14px 4px}
.sidebar-gestion__bottom{display:flex;flex-direction:column;gap:4px}
.sidebar-gestion__logout{
  display:flex; align-items:center; gap:11px; padding:11px 13px; border-radius:12px;
  color:var(--danger); font-weight:700; font-size:14px;
}
.sidebar-gestion__logout:hover{background:var(--danger-soft)}
.sidebar-gestion__logoutIcon{width:24px;text-align:center;font-size:16px}
.sidebar-gestion__hint{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);padding:9px 13px}
.sidebar-gestion__hintDot{width:8px;height:8px;border-radius:50%;background:var(--live);box-shadow:0 0 0 4px var(--live-soft);animation:gsPulse 2.4s ease-in-out infinite}
@keyframes gsPulse{0%,100%{box-shadow:0 0 0 0 var(--live-soft)}50%{box-shadow:0 0 0 5px rgba(52,210,123,.05)}}

/* =========================================================
   CONTENU DROITE
========================================================= */
.gestion-col--right{display:flex;flex-direction:column;gap:18px;min-width:0}

/* ----- Header ----- */
.gestion-header{
  background:var(--chrome-2); border:1px solid var(--line); border-radius:var(--r2);
  padding:22px 24px; display:flex; align-items:flex-start; gap:18px; flex-wrap:wrap; box-shadow:var(--sh-sm);
}
.gestion-header__left{display:flex;align-items:flex-start;gap:18px;flex-wrap:wrap;flex:1;min-width:0}
.gestion-header__emoji{
  width:62px; height:62px; border-radius:18px; display:grid; place-items:center; font-size:30px; flex:0 0 auto;
  background:linear-gradient(135deg,rgba(225,75,122,.18),rgba(124,92,255,.12)); border:1px solid var(--line);
}
.gestion-header__title{font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.gestion-header__subtitle{color:var(--muted);font-size:14px;margin-top:5px;max-width:60ch}
.openModaleIngredient{
  display:inline-flex; align-items:center; gap:7px; margin-top:11px;
  color:var(--accent-2); font-weight:700; font-size:13.5px; cursor:pointer;
}
.openModaleIngredient:hover{color:var(--accent)}

/* boutons génériques */
.gestion-page .tc-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 18px;
  border-radius:13px; font-weight:800; font-size:14px; cursor:pointer; text-decoration:none; white-space:nowrap;
  background:var(--chrome-3); color:var(--text); border:1px solid var(--line-2);
  transition:transform .12s ease, background .12s ease, border-color .12s ease, filter .12s ease;
}
.gestion-page .tc-btn:hover{transform:translateY(-1px);border-color:var(--accent);color:#fff}
.gestion-page .tc-btn-primary{
  border:none !important; color:#fff !important;
  background:linear-gradient(135deg,var(--accent-2),var(--accent-deep)) !important;
  box-shadow:0 16px 30px -12px rgba(182,48,107,.9);
}
.gestion-page .tc-btn-primary:hover{filter:brightness(1.07);color:#fff !important;transform:translateY(-1px)}
.gestion-page .tc-btn-wide{width:100%}
/* Bouton « Ajouter du matériel » dans l'en-tête : collé à droite, centré verticalement */
.gestion-header .tc-btn,
.gestion-header .tc-btn-primary{margin-left:auto;align-self:center}

/* ----- Tabs / filtres ----- */
.gestion-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gestion-tab{
  height:40px; padding:0 17px; border-radius:12px; cursor:pointer;
  border:1px solid var(--line); background:var(--chrome-2); color:var(--muted);
  font-weight:700; font-size:13.5px; display:inline-flex; align-items:center; gap:9px;
  transition:.14s;
}
.gestion-tab:hover{color:var(--text);border-color:var(--line-2)}
.gestion-tab.is-active{
  color:#fff; background:linear-gradient(135deg,var(--accent),var(--accent-deep)); border-color:transparent;
  box-shadow:0 12px 24px -12px rgba(182,48,107,.9);
}
.gestion-tabselect{position:relative}
.gestion-tab--select{border-color:rgba(232,169,60,.45);color:var(--text);background:var(--chrome-2)}
.gestion-tab__count{
  font-family:var(--mono); font-size:11px; font-weight:700; color:#1a1205;
  background:var(--gold); border-radius:999px; padding:2px 8px;
}
.gestion-tab__chev{font-size:11px;opacity:.7}

.gestion-dropdown{
  position:absolute; top:calc(100% + 8px); left:0; min-width:210px; z-index:30;
  background:var(--chrome-2); border:1px solid var(--line); border-radius:14px; padding:7px;
  box-shadow:var(--sh); display:none;
}
.gestion-tabselect:hover .gestion-dropdown,
.gestion-dropdown:hover{display:block}
.gestion-dropdown a{display:block;padding:10px 12px;border-radius:10px;font-size:13.5px;font-weight:600;color:var(--text-2)}
.gestion-dropdown a:hover{background:var(--chrome-3);color:#fff}

.gestion-select{
  height:40px; border-radius:12px; padding:0 36px 0 14px; cursor:pointer;
  background:var(--chrome-2); color:var(--text); border:1px solid var(--line); font-weight:700; font-size:13px;
  -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E14B7A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat; background-position:right 13px center;
}
.gestion-select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
/* on pousse la recherche + le select à droite */
.gestion-tabs .gestion-tabselect{margin-right:auto}

/* champ de recherche (id="gestionSearchInput" s'il existe, sinon .gestion-search) */
#gestionSearchInput,.gestion-search,.gestion-searchInput{
  height:40px; border-radius:12px; padding:0 14px; min-width:240px;
  background:var(--chrome-2); border:1px solid var(--line); color:var(--text); font-size:13.5px; outline:none;
}
#gestionSearchInput::placeholder,.gestion-search::placeholder{color:var(--muted-2)}
#gestionSearchInput:focus,.gestion-search:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}

/* =========================================================
   PANNEAU + TABLEAU
========================================================= */
.gestion-panel{
  background:var(--chrome-2); border:1px solid var(--line); border-radius:var(--r2);
  overflow:hidden; box-shadow:var(--sh-sm);
}
.gestion-tablewrap{overflow-x:auto}
.gestion-table{width:100%;border-collapse:collapse;min-width:880px}
.gestion-table thead th{
  text-align:left; font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase;
  color:var(--muted-2); padding:15px 14px; background:rgba(255,255,255,.02);
  border-bottom:1px solid var(--line); white-space:nowrap;
}
.gestion-table thead th.gestion-col-check,.gestion-table tbody td.gestion-col-check{width:48px;padding-left:20px}
.gestion-table thead th.gestion-col-img{width:96px}
.gestion-table thead th.gestion-col-date{white-space:nowrap}
.gestion-table thead th.gestion-col-action{text-align:left}

.gestion-table tbody td{padding:14px;border-bottom:1px solid var(--line);vertical-align:middle}
.gestion-rowitem{transition:background .14s ease}
.gestion-rowitem:hover td{background:rgba(225,75,122,.05)}
.gestion-table tbody tr:last-child td{border-bottom:none}

.gestion-table input[type="checkbox"]{
  width:17px; height:17px; cursor:pointer; accent-color:var(--accent-2);
}

/* image */
.gestion-imageblock{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.gestion-imagewrap{display:block;width:54px;height:54px;border-radius:14px;overflow:hidden;
  border:1px solid var(--line-2); background:var(--chrome-3)}
.gestion-avatar{width:100%;height:100%;object-fit:cover;display:block}
.gestion-imageLink{font-size:11px;font-weight:700;color:var(--accent-2)}
.gestion-imageLink:hover{color:var(--accent)}

/* cellule ingrédient */
.gestion-ingredientCell{min-width:200px}
.gestion-ingredientTitle{font-weight:800;font-size:15px;letter-spacing:-.01em;color:var(--text)}
.gestion-ingredientMeta{display:flex;align-items:center;gap:7px;margin-top:4px;font-size:12.5px;color:var(--muted)}
.gestion-ingredientMeta .dot{color:var(--muted-2)}

/* badge d'état (généré via [data-status] sur la ligne, en ::after dans une cellule dédiée si tu veux) */
.gestion-rowitem[data-status] .gestion-ingredientCell::after{
  content:""; display:inline-flex; align-items:center; gap:6px; margin-top:7px;
  font-size:11px; font-weight:800; border-radius:999px; padding:3px 10px;
}
.gestion-rowitem[data-status="2"] .gestion-ingredientCell::after{content:"● En attente";background:var(--gold-soft);color:var(--gold)}
.gestion-rowitem[data-status="1"] .gestion-ingredientCell::after{content:"● Validé";background:var(--live-soft);color:var(--live)}
.gestion-rowitem[data-status="3"] .gestion-ingredientCell::after{content:"● Retiré";background:var(--danger-soft);color:var(--danger)}

/* lien modifier */
.gestion-editLink{font-weight:700;font-size:13px;color:var(--accent-2);white-space:nowrap}
.gestion-editLink:hover{color:var(--accent)}

/* membre */
.gestion-member{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--text-2)}
.gestion-member__avatar{
  width:32px; height:32px; border-radius:9px; flex:0 0 auto;
  background:linear-gradient(135deg,#3b3f49,#2a2d34); border:1px solid var(--line-2);
}
.gestion-muted{color:var(--muted);font-family:var(--mono);font-size:12px;white-space:nowrap}

/* actions */
.gestion-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gestion-form{margin:0}
.gestion-btn{
  height:34px; padding:0 13px; border-radius:10px; border:none; cursor:pointer;
  font-weight:800; font-size:12.5px; display:inline-flex; align-items:center; gap:6px;
  transition:transform .12s ease, filter .12s ease, background .12s ease;
}
.gestion-btn--sm{height:34px}
.gestion-btn--success{
  color:#06231a; background:linear-gradient(135deg,#46e29a,var(--live));
  box-shadow:0 10px 20px -10px rgba(52,210,123,.7);
}
.gestion-btn--success:hover{transform:translateY(-1px);filter:brightness(1.05)}
.gestion-btn--danger{
  color:var(--danger); background:var(--danger-soft); border:1px solid rgba(242,100,123,.3);
}
.gestion-btn--danger:hover{background:rgba(242,100,123,.18)}

.gestion-empty{text-align:center;color:var(--muted);padding:34px 14px;font-weight:600}
.gestion-dynamic{padding:0 14px}

/* =========================================================
   FORMULAIRES (communs aux modales)
========================================================= */
.gestion-page .form-control{
  width:100%; height:46px; border-radius:12px; padding:0 14px;
  background:var(--chrome-3); border:1px solid var(--line-2); color:var(--text); outline:none;
  transition:border-color .14s ease, box-shadow .14s ease;
}
.gestion-page select.form-control{height:46px;-webkit-appearance:none;appearance:none;padding-right:36px;cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E14B7A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;background-position:right 13px center}
.gestion-page .form-control::placeholder{color:var(--muted-2)}
.gestion-page .form-control:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);background:#26181f}
.gestion-page label{display:block;font-weight:700;font-size:.92rem;color:var(--text-2);margin-bottom:6px}

/* bouton submit générique des modales */
.post-button,.submitModaleIngredient input[type="submit"],.submitModaleIngredient .post-button,
.upload-button input[type="submit"]{
  display:inline-flex; align-items:center; justify-content:center; width:100%; height:46px;
  border:none; border-radius:12px; cursor:pointer; color:#fff; font-weight:800; font-size:14px;
  background:linear-gradient(135deg,var(--accent-2),var(--accent-deep));
  box-shadow:0 14px 28px -12px rgba(182,48,107,.8);
  transition:transform .12s ease, filter .12s ease;
}
.post-button:hover,.submitModaleIngredient input[type="submit"]:hover,.upload-button input[type="submit"]:hover{
  transform:translateY(-1px); filter:brightness(1.06);
}
.upload-button input[type="submit"]{background:linear-gradient(135deg,#7C5CFC,#6A38E0);box-shadow:0 14px 28px -12px rgba(106,69,232,.8)}

/* zone d'upload image */
.custom-upload-label{
  position:relative; display:flex; align-items:center; justify-content:center; gap:10px;
  min-height:104px; border:2px dashed var(--line-2); border-radius:16px; cursor:pointer;
  background:rgba(255,255,255,.02); color:var(--text-2); font-weight:700; text-align:center; padding:18px;
  transition:border-color .14s ease, background .14s ease;
}
.custom-upload-label:hover{border-color:var(--accent);background:rgba(225,75,122,.06)}
.custom-upload-label input[type="file"]{position:absolute;inset:0;opacity:0;cursor:pointer}
#previewing{border-radius:14px;border:1px solid var(--line-2);margin-top:10px}

/* erreurs + loaders (toutes modales) */
.erreurModaleIngredient,.erreurEditIngredient,.erreurMateriel,.erreurType{
  color:var(--danger); font-weight:700; font-size:.86rem; margin-top:8px;
}
.erreurModaleIngredient:not(:empty),.erreurEditIngredient:not(:empty),.erreurMateriel:not(:empty){
  display:flex; align-items:center; gap:8px; padding:10px 12px; border-radius:11px;
  background:var(--danger-soft); border:1px solid rgba(242,100,123,.3);
}
.erreurModaleIngredient:not(:empty)::before,.erreurEditIngredient:not(:empty)::before,
.erreurMateriel:not(:empty)::before{content:"⚠"}
.loaderModaleIngredient,.loaderEditIngredient,.loaderMateriel,#uploadIngredientLoader{
  display:flex; justify-content:center; padding:6px 0;
}
.loaderModaleIngredient img,.loaderEditIngredient img,.loaderMateriel img,#uploadIngredientLoader img{
  width:30px; height:30px; animation:gsSpin .9s linear infinite;
}
@keyframes gsSpin{to{transform:rotate(360deg)}}

/* =========================================================
   MODALES — système « tc-modal » (Ajout matériel) piloté par [hidden]
========================================================= */
#addMaterielOverlay,.tc-qty__overlay{
  position:fixed; inset:0; z-index:9998; background:rgba(8,8,12,.66);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.tc-qty__overlay[hidden]{display:none !important}

.tc-modal{
  position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:18px;
}
.tc-modal[hidden]{display:none !important}
.tc-modal__card{
  position:relative; width:min(620px,100%); max-height:90vh; overflow:auto; margin:auto;
  background:var(--chrome-2); border:1px solid var(--line); border-radius:var(--r2);
  box-shadow:var(--sh); padding:22px;
  animation:gsPop .22s cubic-bezier(.2,.8,.2,1);
  scrollbar-width:thin; scrollbar-color:var(--accent) transparent;
}
.tc-modal__card h2{font-size:20px;font-weight:800;color:var(--text)}
.tc-modal__close{
  position:absolute; top:14px; right:14px; width:40px; height:40px; border:none; border-radius:12px;
  background:var(--chrome-3); color:var(--text-2); font-size:22px; line-height:1; cursor:pointer;
  display:grid; place-items:center; transition:transform .14s ease, background .14s ease;
}
.tc-modal__close:hover{background:var(--chrome-4);color:#fff;transform:rotate(90deg)}
.tc-stack{display:flex;flex-direction:column;gap:12px}
.param-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;font-size:18px;
  background:var(--accent-soft);color:var(--accent-2);flex:0 0 auto}
.param-icon-btn{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:var(--muted);
  background:none;border:1px solid transparent;cursor:pointer;font-size:18px}
.param-icon-btn:hover{background:var(--chrome-3)}
.param-muted{color:var(--muted)}

@keyframes gsPop{from{opacity:0;transform:translateY(8px) scale(.975)}to{opacity:1;transform:none}}

/* =========================================================
   MODALES — système « modaleIngredient » (Proposer / Modifier / Image)
   Affichage : caché par défaut, visible quand aria-hidden="false"
   (et si ton JS pose un display inline, il prend le dessus de toute façon)
========================================================= */
.modaleIngredient{
  position:fixed; inset:0; z-index:9999; display:none;
  align-items:center; justify-content:center; padding:18px;
}
.modaleIngredient[aria-hidden="false"]{display:flex}
.modaleIngredientOverlay{
  position:absolute; inset:0; background:rgba(8,8,12,.66);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.modaleIngredientContent{
  position:relative; z-index:1; width:min(560px,100%); max-height:90vh; overflow:auto; margin:auto;
  background:var(--chrome-2); border:1px solid var(--line); border-radius:var(--r2);
  box-shadow:var(--sh); padding:24px;
  animation:gsPop .22s cubic-bezier(.2,.8,.2,1);
  scrollbar-width:thin; scrollbar-color:var(--accent) transparent;
}
.modaleIngredientHeader{margin-bottom:16px;padding-right:44px}
.modaleIngredientHeader h2{font-size:20px;font-weight:800;color:var(--text)}
.modaleIngredientHeader p{margin-top:6px;font-size:13.5px;color:var(--muted)}
.modaleIngredientBody{display:flex;flex-direction:column;gap:12px}
.modaleIngredientBody form{display:flex;flex-direction:column;gap:12px}
.closeModaleIngredient,.closeModaleEditIngredient,.closeImage{
  position:absolute; top:14px; right:14px; width:40px; height:40px; border:none; border-radius:12px;
  background:var(--chrome-3); color:var(--text-2); font-size:22px; line-height:1; cursor:pointer;
  display:grid; place-items:center; z-index:2; transition:transform .14s ease, background .14s ease;
}
.closeModaleIngredient:hover,.closeModaleEditIngredient:hover,.closeImage:hover{
  background:var(--chrome-4); color:#fff; transform:rotate(90deg);
}
.submitModaleIngredient{margin-top:4px}

/* =========================================================
   « Pas de clé » (non-admin)
========================================================= */
#demander_statut{
  max-width:680px; margin:60px auto; background:var(--chrome-2); border:1px solid var(--line);
  border-radius:var(--r2); padding:28px 30px; color:var(--text-2); line-height:1.6; box-shadow:var(--sh-sm);
}
#demander_statut strong{color:var(--text);font-size:1.1rem}
#demander_statut a{color:var(--accent-2);font-weight:700}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:1080px){
  .gestion-row{gap:18px}
  .gestion-row > .col-lg-3{flex-basis:240px;max-width:240px}
}
@media (max-width:900px){
  .gestion-row{flex-direction:column}
  .gestion-row > .col-lg-3,
  .gestion-row > .col-lg-9{flex:1 1 100%;max-width:100%;width:100%}
  .sidebar-gestion__wrap{position:static}
  .sidebar-gestion__nav{flex-direction:row;flex-wrap:wrap;gap:6px}
  .sidebar-gestion__item{flex:0 0 auto}
  .sidebar-gestion__item .sidebar-gestion__label{display:inline}
  .sidebar-gestion__divider,.sidebar-gestion__bottom{display:none}
}
@media (max-width:680px){
  .gestion-page{padding:16px 0 48px}
  .gestion-container{padding:0 14px}
  .gestion-header{padding:18px}
  .gestion-header__title{font-size:22px}
  .gestion-header .tc-btn-primary{margin-left:0;width:100%}
  .gestion-tabs{gap:8px}
  #gestionSearchInput,.gestion-search,.gestion-searchInput{min-width:0;width:100%;flex:1 1 100%;order:5}
  .gestion-tabs .gestion-tabselect{margin-right:0}
  .tc-modal__card,.modaleIngredientContent{padding:18px;border-radius:18px;max-height:92vh}
}
@media (prefers-reduced-motion:reduce){
  .gestion-page *{animation:none !important;transition:none !important}
}