/* Estilos para Cookie Consent Banner */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent-banner h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.cookie-consent-banner p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-types {
  margin: 15px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.cookie-option {
  display: block;
  margin: 10px 0;
  cursor: pointer;
  font-size: 14px;
  padding: 8px;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.cookie-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-option input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Botones */
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-link {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #27ae60;
  color: white;
}

.btn-primary:hover {
  background-color: #229954;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: #3498db;
  color: white;
}

.btn-secondary:hover {
  background-color: #2980b9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-tertiary {
  background-color: #95a5a6;
  color: white;
}

.btn-tertiary:hover {
  background-color: #7f8c8d;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-link {
  background-color: transparent;
  color: #3498db;
  text-decoration: underline;
  padding: 10px 15px;
}

.btn-link:hover {
  color: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 15px;
  }

  .cookie-consent-banner h4 {
    font-size: 16px;
  }

  .cookie-consent-banner p {
    font-size: 13px;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    width: 100%;
  }

  .cookie-consent-content {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 10px;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .cookie-consent-banner h4 {
    font-size: 14px;
  }

  .cookie-consent-banner p {
    font-size: 12px;
  }

  .cookie-option {
    font-size: 12px;
    margin: 8px 0;
  }
}
