:root{
  font-size: 13px;
  font-family: 'Roboto', "Arial", sans-serif;
  --color-oficial-cec: #223265;
  --color-variante1-cec: #3B4B8A;
  --color-variante2-cec: #2F3F78;
  --color-variante3-cec: #5566A6;
  --color-cec-secundario: #29aae1;
  --color-gris-es: #e8e9eb;
}
body {
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}
.encuesta-container {
  max-width: 900px;
  background: white;
  margin: 25px auto;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.encuesta-header {
  text-align: center;
  margin-bottom: 25px;
}
.logo-encuesta {
  max-width: 220px;
  width: 60%;
  height: auto;
}
/* Títulos */
.ec__main-title {
  text-align: center;
  color: var(--color-oficial-cec);
  font-size: 26px;
  margin-bottom: 20px;
}
.evento-info p {
  margin: 3px 0;
  font-size: 14px;
  color: #444;
}
.encuesta-container hr {
  margin: 25px 0;
}
/* Texto introductorio */
.intro {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}
/* SECCIÓN */
.seccion {
  margin-top: 50px;
  margin-bottom: 10px;
  padding-left: 12px;
  font-size: 22px;
  font-weight: bold;
  color: var(--color-oficial-cec);
  border-left: 6px solid var(--color-oficial-cec);
}
/* BLOQUE DE PREGUNTA */
.pregunta {
  margin: 30px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
.pregunta:last-child {
  border-bottom: none;
}
.pregunta-texto {
  display: block;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #333;
}
/* ESTRELLAS */
.estrellas {
  font-size: 34px;
  color: #ccc;
  cursor: pointer;
  margin-bottom: 6px;
  user-select: none;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.estrellas .estrella {
  padding: 0 3px;
}
.estrellas .estrella.seleccionada {
  color: #e4b900;
}
/* LEYENDAS DE ESCALA */
.leyendas {
  font-size: 13px;
  margin-top: 3px;
  display: flex;
  justify-content: space-between;
  color: #6a6a6a;
}
/* INPUTS */
.ec__section textarea,
.ec__section input[type="text"],
.ec__section input[type="number"] {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fbfbfb;
}
.ec__section textarea {
  min-height: 85px;
  min-height: 5rem;
}
/* BOTÓN */
#btnEnviar {
  margin-top: 35px;
  background: var(--color-oficial-cec);
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 17px;
  border-radius: 6px;
  cursor: pointer;
  display: block;
}
#btnEnviar:hover {
  background: #0f3b12;
}
.mensaje-resultado {
  text-align: center;
  padding: 40px 20px;
  margin-top: 30px;
  border-radius: 8px;
  font-size: 18px;
}
.mensaje-exito {
  background: #e9f7ee;
  color: #146c2e;
  border: 1px solid #bce5c4;
}
.mensaje-error {
  background: #fdecea;
  color: #b32d2e;
  border: 1px solid #f5b5b4;
}
.mensaje-resultado h2 {
  margin-bottom: 10px;
}
.btn-rehacer {
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--color-oficial-cec);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  display: inline-block;
}
.btn-rehacer:hover {
  background: #0f3b12;
}
/* CONTENEDOR DE OPCIONES */
.seleccion-opciones {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* OPCIÓN INDIVIDUAL */
.opcion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}

/* RADIO BUTTON */
.opcion-item input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* HOVER */
.opcion-item:hover span {
  color: var(--color-oficial-cec);
}


@media (max-width: 600px) {
  .encuesta-container {
    padding: 25px 15px;
    margin: 0;
  }
  .seccion {
    font-size: 18px;
    margin-top: 35px;
  }
  .opcion-item {
    font-size: 15px;
  }

  .opcion-item input[type="radio"] {
    width: 20px;
    height: 20px;
  }
  .pregunta-texto {
    font-size: 15px;
    line-height: 1.4;
  }
  .estrellas {
    font-size: 26px;
    display: flex;
  }
  .leyendas {
    font-size: 12px;
  }
  #btnEnviar {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
  }
  .logo-encuesta {
    max-width: 180px;
    width: 80%;
  }
}
