
:root {
  --naranja-rally: #ff6f00;
}

.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background-color: var(--naranja-rally);
  color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
  animation: slideUp 0.5s ease-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  margin-bottom: 10px;
}

.modal-content p {
  margin: 5px 0;
}

/* Animación */
@keyframes slideUp {
  from {
    transform: translateY(80px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background: white;
  color: var(--naranja-rally);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.modal-content button:hover {
  background: #ffe0b2;
}
