/* Habillage Jerycan de Huly — feuille injectee par nginx (equipe.jerycan.com.conf, sub_filter).
   Ne touche qu'aux couleurs et au logo : vert #2e6b4f / #163a2c, vert clair #69a67c, or #a9780c.
   A verifier apres une mise a jour de Huly (noms de classes/variables). Retirer = enlever le sub_filter. */
:root, .theme-dark, .theme-light {
  --primary-button-default: #2e6b4f;
  --primary-button-hovered: #2a7a55;
  --primary-button-pressed: #245741;
  --primary-button-focused: #2e6b4f;
  --primary-button-disabled: rgba(105, 166, 124, .28);
  --primary-button-disabled-color: rgba(255, 255, 255, .6);
  --primary-button-color: #fff;
  --primary-button-content-color: #fff;
  --primary-button-border: transparent;
  --primary-button-outline: rgba(105, 166, 124, .6);
  --button-primary-BackgroundColor: #2e6b4f;
  --button-primary-hover-BackgroundColor: #2a7a55;
  --button-primary-active-BackgroundColor: #245741;
  --button-primary-LabelColor: #fff;
  --theme-link-color: #69a67c;
  --theme-editbox-focus-border: #69a67c;
  --theme-tablist-plain-color: #69a67c;
  --theme-navpanel-selected: rgba(105, 166, 124, .16);
}
/* --- page de connexion --- */
.backd { background-color: #10261d !important; }
img.back-image { content: url("/habillage/fond.jpg"); object-position: center center !important; }
.backd.paneld, .panel { background: rgba(22, 58, 44, .55) !important; box-shadow: -30px 1.52px 120px rgba(6, 18, 12, .85) !important; }
.backd.paneld::after, .panel::after { background: radial-gradient(161.92% 96.11% at 11.33% 3.89%, #1f5440 0%, #10261d 100%) !important; }
.panel::before { background: conic-gradient(rgba(255,255,255,.18) 10%, rgba(105,166,124,.55), rgba(227,200,137,.45), rgba(246,247,249,.3), rgba(105,166,124,.35) 60%, rgba(169,120,12,.35) 90%) border-box !important; }
.title.selected { border-bottom-color: #69a67c !important; }
.title.selected::after, .title.selected::before { background-color: #69a67c !important; border-color: #69a67c !important; }
/* en-tete : logo Jerycan a la place du logo Huly et du mot « Platform » */
.content-color.gap-3.px-4 > svg { display: none; }
.content-color.gap-3.px-4 > .fs-title { font-size: 0; width: 150px; height: 38px; margin-left: 0; background: url("/habillage/logo-blanc.png") no-repeat left center / contain; }
/* --- marque Jerycan sur la moitie gauche de la page de connexion (bloc injecte par nginx, #jerycan-marque) --- */
#jerycan-marque { display: none; }
body:has(.backd) #jerycan-marque { display: flex; position: fixed; left: 0; top: 2rem; width: 50%; height: calc(100% - 2rem); flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; pointer-events: none; z-index: 2; }
#jerycan-marque img { width: min(300px, 60%); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
#jerycan-marque p { margin: 0; color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; text-align: center; }
#jerycan-marque small { display: block; margin-top: .5rem; letter-spacing: .1em; text-transform: none; color: rgba(255,255,255,.55); font-size: 12px; }
@media (max-width: 1000px) { body:has(.backd) #jerycan-marque { display: none; } }
/* le fond : assombri et tire vers le vert profond, comme l'accueil du site */
.backd::before { content: ""; position: fixed; inset: 2rem 0 0 0; background: linear-gradient(90deg, rgba(16,38,29,.55) 0%, rgba(16,38,29,.25) 50%, rgba(16,38,29,.6) 100%); pointer-events: none; z-index: 1; }
/* en-tete « Platform » + logo Huly : remplace par le logo Jerycan (petit) sur mobile, masque sur grand ecran (le bloc marque suffit) */
div:has(> .fs-title.ml-2) > svg { display: none !important; }
.fs-title.ml-2 { font-size: 0 !important; width: 140px; height: 36px; margin-left: 0 !important; background: url("/habillage/logo-blanc.png") no-repeat left center / contain; }
@media (min-width: 1001px) { body:has(.backd) div:has(> .fs-title.ml-2) { visibility: hidden; } }
