/* =========================================================================
   PASO 5: PANTALLA DE ERROR / RECHAZO
   ========================================================================= */

#paso-5 {
  text-align: center;
  padding: 2rem 0;
}

/* --- Ícono de Error con animación --- */
.error-icon-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #e74c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e74c3c;
  margin: 0 auto 2rem auto;
  animation: pulseError 2s infinite; /* Llama la atención suavemente */
}

@keyframes pulseError {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(231, 76, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

/* --- Textos --- */
.text-center {
  text-align: center;
}

.error-text {
  color: #e74c3c !important;
}

.error-description {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* --- Contenedor de Botones --- */
.error-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Botón Principal (Intentar de nuevo) --- */
.btn-error {
  background-color: #e74c3c;
  color: #ffffff;
  border: 2px solid #e74c3c;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-error:hover {
  background-color: #c0392b; /* Rojo más oscuro */
  border-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

/* --- Botón Secundario (Volver al inicio) --- */
.btn-outline-error {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-error:hover {
  background-color: var(--text-color);
  color: var(--bg-color); /* Invierte los colores en hover */
  transform: translateY(-2px);
}
