/* Styles pour la bannière de consentement */
#cookie-banner-new {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 480px;
  height: 240px;
  background-color: #222;
  color: white;
  padding: 26px;
  margin: 26px;
  text-align: center;
  z-index: 1000;
  opacity: 0; /* Invisible par défaut */
  visibility: hidden; /* Caché par défaut */
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#cookie-banner-new.show {
  opacity: 0.95; /* Visible */
  visibility: visible; /* Affiché */
}

#cookie-banner-new .container {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#cookie-banner-new a {
  color: white;
  text-decoration: none;
}
#cookie-banner-new a:hover {
  text-decoration: underline;
}

#cookie-banner-new p {
  color: white;
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 21px;
  font-size: 14px;
}

#cookie-banner-new button {
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  font-family: arial;
}

#deny-button {
  background-color: black;
  color: var(--offwhite);
  text-transform: none!important;
}

#grant-button {
  background-color: var(--yellow);
  color: white;
  text-transform: none!important;
}

#cookie-banner-new div div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media screen and (max-width: 720px) {
  #cookie-banner-new {
    width: 100%;
    margin: 0;
    
  }
}

#cookie-banner-new-close {
  position: absolute!important;
  top:0;
  right: 0;
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
}

/* Styles pour le bouton de réouverture de la bannière */
#reopen-banner {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  right: 26px;
  bottom: 26px;
  background-color: #222;
  color: white;
  cursor: pointer;
  font-size: 18px;
  z-index: 999; /* Au-dessus de la bannière */
  filter: grayscale(1);
}