:root {
  --font-family: 'Poppins', sans-serif;
  --font-size: 16px;
  --color-purple: #7E78D3;
  --theme-blue: #005DFF;
}

/* Aplico un tamaño fijo para todos los h1 */
h1 {
  font-size: 2rem;      /* 2 × 16px = 32px, igual al tamaño en Paso 2/3 */
  margin-bottom: 0.2em;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--color-purple);
  margin: 2em;
}

label {
  display: block;
  margin: 0.8em 0 0.2em;
}

/* Inputs de texto, selects y datalists */
input:not([type="radio"]):not([type="checkbox"]),
select,
datalist {
  width: 100%;
  padding: 0.5em;
  margin-bottom: 0.5em;
  box-sizing: border-box;
  color: var(--color-purple);
}

/* Radios y checkboxes */
input[type="radio"],
input[type="checkbox"] {
  width: auto;
  margin-right: 0.5cm;
}

/* Barra de progreso */
progress {
  width: 100%;
  height: 8px;
  appearance: none;
  margin-bottom: 1.5em;
}
progress::-webkit-progress-bar { background: #e6e6e6; border-radius: 4px; }
progress::-webkit-progress-value,
progress::-moz-progress-bar { background: var(--theme-blue); border-radius: 4px; }

/* Sliders */
.slider {
  width: 100%;
  height: 4px;
  background: #e6e6e6;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
}
.slider::-webkit-slider-thumb,
.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--theme-blue);
  cursor: pointer;
}

/* Grupo de radios apilados */
.role-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.role-group label {
  display: flex;
  align-items: center;
}

/* FAQ icon */
.input-faq-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.faq-icon {
  cursor: help;
  font-size: 1.2em;
  color: var(--theme-blue);
}

/* Checkbox con texto */
.checkbox-container {
  display: flex;
  align-items: center;
  margin: 1em 0;
}
.checkbox-container a {
  color: var(--theme-blue);
  text-decoration: none;
}
.checkbox-container a:hover {
  text-decoration: underline;
}

/* Botón continuar */
button[type="submit"] {
  background-color: var(--theme-blue);
  color: #fff;
  padding: 0.75em 1.5em;
  font-family: var(--font-family);
  font-size: var(--font-size);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 1em;
}
button[type="submit"]:hover {
  opacity: 0.9;
}

/* Botón continuar */
button[id="back-button"] {
  background-color: var(--theme-blue);
  color: #fff;
  padding: 0.75em 1.5em;
  font-family: var(--font-family);
  font-size: var(--font-size);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 1em;
}
button[type="submit"]:hover {
  opacity: 0.9;
}
