/* NovaCima — Estilos del motor de evaluaciones (compartido) */
.exam-step { display: none; }
.exam-step.active { display: block; }
.exam-progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 28px; }
.exam-progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue-mid), var(--green)); border-radius: 3px; transition: width .4s ease; }
.likert-scale { display: flex; gap: 8px; flex-wrap: wrap; }
.likert-option { flex: 1; min-width: 56px; }
.likert-option input { display: none; }
.likert-option label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 4px; cursor: pointer; transition: all .2s;
  font-size: .78rem; color: var(--text-mid); font-weight: 600;
  gap: 4px;
}
.likert-option input:checked + label { border-color: var(--blue-mid); background: #EBF5FB; color: var(--blue-dark); }
.likert-option label:hover { border-color: var(--blue-light); }
.yn-group { display: flex; gap: 12px; }
.yn-option input { display: none; }
.yn-option label { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 20px; cursor: pointer; transition: all .2s; font-weight: 600; font-size: .9rem; }
.yn-option input:checked + label { border-color: var(--green); background: var(--green-light); color: #1B4F20; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cat-tab { padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--border); background: white; font-size: .85rem; font-weight: 600; color: var(--text-mid); cursor: pointer; transition: all .2s; }
.cat-tab.active { background: var(--blue-dark); color: white; border-color: var(--blue-dark); }
.tests-section { display: none; }
.tests-section.active { display: block; }
/* Preguntas de opción múltiple (vocacional) */
.choice-group { display: flex; flex-direction: column; gap: 10px; }
.choice-option input { display: none; }
.choice-option label {
  display: block; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 14px 16px; cursor: pointer; transition: all .2s;
  font-size: .9rem; color: var(--text-mid); font-weight: 500;
}
.choice-option input:checked + label { border-color: var(--blue-mid); background: #EBF5FB; color: var(--blue-dark); font-weight: 600; }
.choice-option label:hover { border-color: var(--blue-light); }
/* Formularios de admisión (modo "form": una página con secciones) */
.form-section { margin: 28px 0 16px; }
.form-section:first-child { margin-top: 4px; }
.form-section h3 { color: var(--blue-dark); font-size: 1.05rem; margin: 0 0 4px; border-bottom: 2px solid var(--blue-light); padding-bottom: 6px; }
.form-section__desc { color: var(--text-mid); font-size: .85rem; margin: 8px 0 0; }
.form-field { margin-bottom: 18px; }
.form-field__label { display: block; font-weight: 600; color: var(--blue-dark); margin-bottom: 6px; font-size: .92rem; }
.form-field__hint { color: var(--text-light); font-size: .8rem; margin: 0 0 8px; }
.form-req { color: #C0392B; }
.form-input { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 12px; font-family: inherit; font-size: .92rem; color: var(--text-dark, #222); background: #fff; transition: border-color .2s; }
.form-input:focus { outline: none; border-color: var(--blue-mid); }
.form-textarea { resize: vertical; min-height: 72px; }
.form-field--error .form-input { border-color: #C0392B; }
.form-field--error .form-field__label { color: #C0392B; }
.form-field[hidden] { display: none; }
.form-field--cond { border-left: 3px solid var(--blue-light); padding-left: 14px; margin-left: 2px; }
.form-step-info { color: var(--blue-dark); font-size: .85rem; font-weight: 700; margin-bottom: 14px; }

/* Mensaje de validación y resultados */
.exam-required { color: #C0392B; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.exam-result { text-align: center; }
.result-gauge { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.result-badge { display: inline-block; padding: 5px 16px; border-radius: 100px; font-weight: 700; font-size: .82rem; }
