/* Moodntone - consent modal custom (top-tier). Golden rule: Accept and Deny buttons strictly equivalent.
   Button selectors use 3 IDs to outrank the lib's "#tarteaucitronAlertBig #tarteaucitronPersonalize2 {font-size:16px!important}". */

/* Backdrop: lib never shows #tarteaucitronBack for the middle alert; it toggles the
   .tarteaucitronBeforeVisible class on the root while the alert is open -> pure CSS hook. */
#tarteaucitronRoot.tarteaucitronBeforeVisible #tarteaucitronBack{
  display:block !important;
  background:#141414 !important;opacity:.55 !important;
  z-index:2147483645 !important;
}
#tarteaucitronRoot #tarteaucitronBack{
  background:#141414 !important;opacity:.55 !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig{
  box-sizing:border-box !important;
  width:min(540px,92vw) !important;
  left:50% !important;top:50% !important;right:auto !important;bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  max-height:86vh !important;overflow:auto !important;
  background:#fff !important;color:#1f2a33 !important;
  border-radius:16px !important;padding:34px 34px 26px !important;
  box-shadow:0 24px 70px rgba(0,0,0,.28) !important;
  text-align:center !important;font-family:inherit !important;
  z-index:2147483646 !important;
}
/* No emoji header (lib injects content:"\261d\fe0f \1F36A" via ::before) - keep it sober */
#tarteaucitronRoot #tarteaucitronAlertBig::before{
  content:none !important;display:none !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert{
  display:block !important;font-size:15px !important;line-height:1.6 !important;
  color:#4a5661 !important;margin:0 0 22px !important;
}
/* The 2 buttons: IDENTICAL (compliance requirement, not taste). border-box so they
   are exactly 180px wide each -> side by side on desktop, no bleed on mobile. */
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize2,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronAllDenied2{
  box-sizing:border-box !important;
  display:inline-block !important;min-width:180px !important;
  margin:6px 8px !important;padding:14px 26px !important;
  background:#1f2a33 !important;color:#fff !important;
  border:none !important;border-radius:999px !important;
  font-size:15px !important;font-weight:600 !important;cursor:pointer !important;
  font-family:inherit !important;line-height:1.2 !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize2:hover,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronAllDenied2:hover{
  background:#33414d !important;
}
/* Secondary links: each centered on its own row below the buttons */
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl{
  display:block !important;margin:14px auto 0 !important;
  background:none !important;border:none !important;
  color:#6b7885 !important;text-decoration:underline !important;
  font-size:13px !important;cursor:pointer !important;font-family:inherit !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl{
  margin-top:6px !important;
}
@media (max-width:560px){
  #tarteaucitronRoot #tarteaucitronAlertBig{padding:26px 20px 20px !important;}
  #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize2,
  #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronAllDenied2{
    display:block !important;width:100% !important;margin:8px 0 !important;
  }
}

/* ===== Personalize PANEL fixes =====
   (a) Category descriptions: the lib opens them as tiny absolute tooltips -> render
       them inline under the title instead (real fold/unfold; display toggled by lib JS).
   (b) "Cookies obligatoires" has a decorative "+" on a handler-less button -> hide
       that plus only (real .catToggleBtn toggles keep theirs). */
#tarteaucitron #tarteaucitronServices .tarteaucitronDetails:not(.tarteaucitronDetailsInline){
  position:static !important;max-width:none !important;width:auto !important;
  box-sizing:border-box !important;margin:0 !important;padding:12px 20px !important;
  background:#fff !important;color:#333 !important;font-weight:500 !important;
}
#tarteaucitron #tarteaucitronServices .tarteaucitronTitle button:not(.catToggleBtn) .tarteaucitronPlus{
  display:none !important;
}

/* ===== Persistent re-access icon: small charcoal pill, site-consistent ===== */
#tarteaucitronRoot #tarteaucitronIcon{
  background:transparent !important;bottom:14px !important;right:14px !important;
}
#tarteaucitronRoot #tarteaucitronIcon #tarteaucitronManager{
  background:#1f2a33 !important;border-radius:999px !important;padding:7px !important;
  box-shadow:0 6px 18px rgba(0,0,0,.25) !important;line-height:0 !important;
}
#tarteaucitronRoot #tarteaucitronIcon #tarteaucitronManager img{
  width:34px !important;height:34px !important;
}
