/* Bandeau cookies (public/assets/cookies.js), repris du site vitrine mj-gestion-paris.fr. Feuille à part : la politique de sécurité bloque les styles en ligne. */
.mjc {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  font-family: inherit;
  color: #1D1D1F;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.23, 1, 0.32, 1), transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 0.2s;
}
.mjc.mjc-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
@media (min-width: 640px) {
  .mjc { left: 24px; right: auto; bottom: 24px; width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .mjc { transform: none; }
}

.mjc-carte {
  max-height: calc(100svh - 24px);
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid #D9D9DD;
  border-radius: 18px;
  padding: 22px 22px 14px;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 640px) {
  .mjc-carte { padding: 26px 26px 16px; }
}

.mjc-titre { margin: 0; font-size: 1.0625rem; line-height: 1.3; font-weight: 600; }
.mjc-texte { margin: 8px 0 0; font-size: 0.875rem; line-height: 1.55; color: #636368; }
.mjc-texte a { color: #1D1D1F; text-decoration: underline; text-underline-offset: 0.2em; }

/* Personnaliser : une ligne par catégorie, interrupteur à droite */
.mjc-details { margin-top: 16px; border-top: 1px solid #D9D9DD; }
.mjc-details[hidden] { display: none; }
.mjc-ligne { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #D9D9DD; }
.mjc-nom { margin: 0; font-size: 0.9375rem; font-weight: 600; }
.mjc-nom label { cursor: pointer; }
.mjc-desc { margin: 4px 0 0; font-size: 0.8125rem; line-height: 1.5; color: #636368; }
.mjc-interrupteur {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  position: relative;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 999px;
  background: #C7C7CC;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.mjc-interrupteur::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}
.mjc-interrupteur:checked { background: #1D1D1F; }
.mjc-interrupteur:checked::after { transform: translateX(18px); }
.mjc-interrupteur:disabled { cursor: not-allowed; opacity: 0.45; }
.mjc-interrupteur:focus-visible { outline: 2px solid #1D1D1F; outline-offset: 2px; }

/* Refuser et accepter : deux boutons identiques, côte à côte */
.mjc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.mjc-btn {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #1D1D1F;
  color: #FFFFFF;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.mjc-btn:hover { background: #000000; }
.mjc-btn:active { transform: scale(0.97); }
.mjc-btn:focus-visible { outline: 2px solid #1D1D1F; outline-offset: 2px; }

.mjc-bas { display: flex; justify-content: center; margin-top: 6px; }
.mjc-lien {
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: #1D1D1F;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.mjc-lien[hidden] { display: none; }
.mjc-lien:focus-visible { outline: 2px solid #1D1D1F; outline-offset: 2px; border-radius: 8px; }
