/* assets/css/style.css */

/* Contenedor del formulario */
#patient-survey-form {
  max-width: 700px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  font-family: Arial, sans-serif;
}

/* Ocultar todas las secciones */
#patient-survey-form fieldset {
  display: none;
}

/* Mostrar solo la sección activa (data-section="1" al inicio) */
#patient-survey-form fieldset[data-section="1"] {
  display: block;
}

/* Cada sección */
#patient-survey-form fieldset {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}

/* Título de sección */
#patient-survey-form legend {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Cada pregunta */
#patient-survey-form p {
  margin: 10px 0;
}

/* Radios */
#patient-survey-form input[type="radio"] {
  margin-right: 6px;
}

/* Botones de navegación */
.nav-buttons {
  margin-top: 20px;
}

.nav-buttons button {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-right: 8px;
}

.nav-buttons button:hover {
  background: #005177;
}

/* Mensaje tras envío */
#survey-message {
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}
