﻿/*body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

.questionnaire-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
  background-color: #d9edf7;*/ /* Azul claro */
  /*padding: 10px;
  border-radius: 5px;
}

.question-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
  background-color: #f2f2f2;*/ /* Gris claro */
/*}

.question-text {
  flex: 1 1 100%;
  padding-right: 10px;
  margin-bottom: 10px;
  color: #333;
}

.options {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.option-label {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

  .option-label input {
    margin-right: 5px;
  }

  .option-label.selected {
    font-weight: bold;
  }

.submit-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1em;
  color: #fff;
  background-color: #007bff;*/ /* Azul */
  /*border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

  .submit-button:hover {
    background-color: #0056b3;*/ /* Azul oscuro */
  /*}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .options {
    flex-direction: column;
  }

  .option-label {
    margin-bottom: 10px;
  }

  .submit-button {
    width: 100%;
    margin-bottom: 10px;
  }

  .navigation-buttons {
    flex-direction: column;
  }
}*/

/* Estilo para el contenedor del cuestionario */
.questionnaire-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilo para cada sección del cuestionario */
.section {
  margin-bottom: 20px;
}

/* Estilo para el título de cada sección */
.section-title {
  background-color: #dceffb;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Estilo para cada fila de pregunta */
.question-row {
  padding: 10px;
  background-color: #f1f1f1;
  margin-bottom: 10px;
  border-radius: 5px;
}

/* Estilo para el texto de la pregunta */
.question-text {
  font-weight: bold;
}

/* Estilo para las opciones */
.options {
  display: flex;
  flex-wrap: wrap;
}

/* Estilo para cada etiqueta de opción */
.option-label {
  margin-right: 15px;
  font-weight: normal;
}

  /* Estilo para la opción seleccionada */
  .option-label.selected {
    font-weight: bold;
  }

/* Botones de navegación */
.navigation-buttons {
  text-align: center;
  margin-top: 20px;
}

.submit-button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Estilos de carga */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #007bff;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .options {
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
    margin-top: 10px;
  }

  .navigation-buttons {
    display: flex;
    flex-direction: column;
  }
}
