/**
 * Estilos del banner de consentimiento de cookies
 * Diseño minimalista y conforme RGPD
 */

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
}

.cookie-banner {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  border-top: 3px solid #ff6b00;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #ecf0f1;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  white-space: nowrap;
}

.cookie-buttons .btn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #e05500 100%);
  color: #fff;
}

.cookie-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #ff8c38 0%, #ff6b00 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.cookie-buttons .btn-secondary {
  background: transparent;
  color: #ecf0f1;
  border: 2px solid #ecf0f1;
}

.cookie-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.cookie-link {
  color: #3498db;
  text-decoration: underline;
  font-size: 13px;
  white-space: nowrap;
}

.cookie-link:hover {
  color: #5dade2;
}

/* Animaciones */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .cookie-link {
    text-align: center;
    display: block;
    margin-top: 8px;
  }

  .cookie-text {
    font-size: 13px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 16px;
  }

  .cookie-text {
    font-size: 12px;
  }

  .cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
