/* Estilos para el banner de consentimiento de cookies */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background-color: var(--boxColor);
  color: var(--primaryColor);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
  border-top: 1px solid rgba(31, 168, 79, 0.3);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primaryColor);
}

.cookie-consent-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--secendaryColor);
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-accept {
  background-color: var(--brand-color);
  color: white;
}

.cookie-btn-accept:hover {
  opacity: 0.9;
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--primaryColor);
  border: 1px solid var(--secendaryColor);
}

.cookie-btn-reject:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Estilos para modo oscuro */
body.dark-mode .cookie-consent {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
}
