/* ===================================================
   Fase 1 — CSS mínimo funcional.
   Objetivo: que el mecanismo multi-step se vea y funcione.
   El diseño bonito (estilo Preply) llega en la Fase 2.
   =================================================== */

* { box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background: #fff;
}

/* Barra de progreso */
#progress-container {
  width: 100%;
  height: 8px;
  background: #eee;
}
#progress-bar {
  height: 100%;
  width: 0%;
  background: #e8803a; /* naranja tipo SSC, provisional */
  transition: width 0.3s ease;
}

/* Contenedor del formulario */
#form-wrapper {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Cada pantalla: oculta por defecto, visible solo si .active */
.step {
  display: none;
}
.step.active {
  display: block;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Opciones (tarjetas que avanzan al hacer clic) */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.option-card {
  text-align: left;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fafafa;
  cursor: pointer;
}
.option-card:hover {
  border-color: #e8803a;
}
.option-card.selected {
  border-color: #e8803a;
  background: #fff3ea;
}

/* Inputs */
input, textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 6px;
}
label {
  display: block;
  margin: 12px 0 4px;
  font-weight: bold;
}
.hint {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Navegación */
.nav {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.next-btn, .back-btn, .cta-btn {
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}
.next-btn {
  background: #e8803a;
  color: #fff;
}
.back-btn {
  background: #eee;
  color: #333;
}
.cta-btn {
  display: inline-block;
  background: #e8803a;
  color: #fff;
  text-decoration: none;
  margin-top: 20px;
}

/* Errores y estado */
.error {
  color: #c0392b;
  font-size: 0.9rem;
  min-height: 1.2em;
  margin: 0 0 8px;
}
#status {
  max-width: 600px;
  margin: 10px auto;
  padding: 0 20px;
  text-align: center;
}
