/* Fond bloquant avec effet de flou */
.overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Ombre noire plus forte */
  backdrop-filter: blur(5px); /* Effet de flou */
  z-index: 1001;
  display: none;
}

/* Bannière principale */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.8);
  z-index: 1002;
  display: none;
}

/* Animation */
.cookie-banner.show {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

/* Boutons d'action */
.cookie-actions {
  margin-top: 15px;
}

.accept-button, .refuse-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
}

.accept-button {
  background-color: #28a745;
  color: white;
}

.accept-button:hover {
  background-color: #218838;
}

.refuse-button {
  background-color: #dc3545;
  color: white;
}

.refuse-button:hover {
  background-color: #c82333;
}

/* Petit bouton flottant */
.manage-cookies {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #5cb85c;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  z-index: 1002;
}

/* Animation fondu */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
