.cookie-banner {
  position: fixed;
  bottom: -200px;
  /* Position de départ pour l'animation */
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #f7f8fc, #ffffff);
  /* Fond dégradé pour une sensation plus premium */
  box-shadow: 0px -10px 30px rgba(0, 0, 0, 0.15);
  /* Ombre plus prononcée pour un effet flottant */
  color: #2c3e50;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease-out;
  z-index: 1000;
  font-family: 'Arial', sans-serif;
}

.cookie-banner p {
  flex: 1;
  margin-right: 20px;
  font-size: 16px;
  line-height: 1.5;
  /* Pour un meilleur espacement du texte */
}

.cookie-button {
  padding: 10px 20px;
  border: none;
  /* Suppression de la bordure */
  border-radius: 25px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  /* Ombre sur le texte pour le rendre plus net */
}

.cookie-button.accept {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  box-shadow: 0px 5px 15px rgba(46, 204, 113, 0.3);
  /* Ombre pour un effet surélevé */
}

.cookie-button.decline {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  box-shadow: 0px 5px 15px rgba(231, 76, 60, 0.3);
}

.cookie-button:hover {
  transform: translateY(-2px);
  /* Effet de levée subtil au survol */
}

/* État final de l'animation */
.show-banner {
  bottom: 0;
}

/* Styles existants... */

/* Ajout des styles spécifiques pour mobile */
@media only screen and (max-width: 767px) {
  .cookie-banner {
    flex-direction: column;
    padding: 10px;
    /* Utilisation d'un pourcentage pour s'adapter à la hauteur du contenu */
  }

  .cookie-banner p {
    margin: 0 0 15px;
    font-size: 14px;
    text-align: center;
  }

  .cookie-button {
    width: 100%;
    margin: 5px 0;
  }
}