/* Scoped to CookieConsent; no dependency on the Tailwind runtime. */
#cc-main {
  --cc-font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  --cc-primary-color: #0d0040;
  --cc-btn-primary-bg: #0d0040;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: #0d0040;
  --cc-btn-primary-hover-bg: #24135d;
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-primary-hover-border-color: #24135d;
  --cc-btn-secondary-bg: #0d0040;
  --cc-btn-secondary-color: #fff;
  --cc-btn-secondary-border-color: #0d0040;
  --cc-btn-secondary-hover-bg: #24135d;
  --cc-btn-secondary-hover-color: #fff;
  --cc-btn-secondary-hover-border-color: #24135d;
  --cc-toggle-on-bg: #0d0040;
  --cc-modal-border-radius: 0.75rem;
  --cc-btn-border-radius: 0.375rem;
}

#cc-main .cm__btn,
#cc-main .pm__btn {
  min-height: 44px;
}

/* Keep the three banner actions together, with equal spacing and visual weight. */
#cc-main .cm--bar .cm__btns {
  justify-content: flex-start;
  gap: 0.5rem;
}

#cc-main .cm--bar .cm__btn-group {
  gap: 0.5rem;
}

#cc-main .cm--bar:not(.cm--inline) .cm__btn + .cm__btn,
#cc-main .cm--bar:not(.cm--inline) .cm__btn-group + .cm__btn-group {
  margin: 0 !important;
}

@media (min-width: 641px) {
  #cc-main .cm--bar .cm__btn { width: 10rem; }
}

#cc-main button:focus-visible,
#cc-main a:focus-visible,
[data-cookie-preferences]:focus-visible {
  outline: 3px solid #7653c1;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  #cc-main { --cc-modal-transition-duration: 0s; }
}


/* Geocopro - Bouton Personnaliser uniquement */
#cc-main .cm__btns .cm__btn-group:last-child .cm__btn {
    background-color: #ffffff !important;
    color: #100638 !important;
    border: 1px solid #100638 !important;
}

#cc-main .cm__btns .cm__btn-group:last-child .cm__btn:hover {
    background-color: #100638 !important;
    color: #ffffff !important;
}
