/* ------------------------------------------------------------------
 * Bandeau cookies : fixé en bas de l'écran
 * ------------------------------------------------------------------ */

.gnt-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 1rem;
  background: #ffffff;
  color: #232323;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

/* Indispensable : sans cette règle, "display" ci-dessous annulerait l'attribut hidden */
.gnt-cookie-banner[hidden] {
  display: none;
}

.gnt-cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gnt-cookie-banner__text {
  flex: 1 1 400px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.gnt-cookie-banner__link {
  text-decoration: underline;
}

.gnt-cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.gnt-cookie-banner__button {
  min-width: 110px;
}

/* Sur mobile : boutons en pleine largeur */
@media (max-width: 575px) {
  .gnt-cookie-banner__actions {
    width: 100%;
  }

  .gnt-cookie-banner__button {
    flex: 1;
  }
}

/* ------------------------------------------------------------------
 * Lien "Gérer mes cookies" dans le pied de page
 * ------------------------------------------------------------------ */

.gnt-cookie-footer {
  text-align: center;
  padding: 0.5rem 0;
}

.gnt-cookie-footer__link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}
