/* Banner principal */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: #001f3f;
  color: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 450px;
  width: 90%;
  transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  font-family: sans-serif;
  z-index: 9999;
}

.cookie-banner.show {
  bottom: 30px;
}

.cookie-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-buttons button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#accept-cookies {
  background: #f0a500;
  color: #001f3f;
}
#reject-cookies {
  background: #fff;
  color: #001f3f;
}
#config-cookies {
  background: #555;
  color: #fff;
}

.cookie-buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Modal configuración */
.cookie-config {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.cookie-config-box {
  background: #fff;
  color: #001f3f;
  padding: 25px;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  font-family: sans-serif;
  animation: popup 0.4s ease forwards;
}

.cookie-config-box h3 {
  margin-top: 0;
}

.cookie-config-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-config-actions button {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cookie-config-actions #save-cookies {
  background: #f0a500;
  color: #001f3f;
}

.cookie-config-actions #close-config {
  background: #555;
  color: #fff;
}

.cookie-config-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Animación popup */
@keyframes popup {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
