/* Tipografía emocional */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #f5f7fa, #e3eaf1);
    color: #333;
    margin: 0;
    padding: 0;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Título del concepto */
.concepto {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

/* Instrucciones */
.instrucciones {
    background: #fef3e6;
    border-left: 6px solid #f39c12;
    padding: 15px;
    margin-bottom: 30px;
    font-size: 1em;
    border-radius: 8px;
}

/* Dimensión */
.dimension {
    margin-bottom: 30px;
}

.dimension h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #34495e;
}

/* Imagen guía */
.imagen-guia {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Slider emocional */
.slider {
    width: 100%;
    appearance: none;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(to right, #dfe6e9, #74b9ff);
    outline: none;
    transition: background 0.3s ease;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0984e3;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0984e3;
    cursor: pointer;
}

/* Etiquetas de escala */
.etiquetas {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    margin-top: 5px;
    color: #7f8c8d;
}

/* Botón de avanzar */
.boton-avanzar {
    display: block;
    margin: 40px auto 0 auto;
    padding: 12px 24px;
    background: #27ae60;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.boton-avanzar:hover {
    background: #219150;
}
.logo {
  text-align: center;
  margin-bottom: 30px;
}
.logo img {
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.2));
}
.formulario {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.campo input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  background-color: #f9f9f9;
  transition: border 0.3s ease;
}

.campo input:focus {
  border-color: #74b9ff;
  outline: none;
  background-color: #fff;
}
.slider-group {
  margin-bottom: 20px;
}

.slider-group label {
  display: block;
  font-weight: 500;
  color: #444;
  margin-bottom: 8px;
}

/* Contenedor de la imagen */
.slider-img {
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
}
.slider-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

/* Contenedor del control range */
.slider-control {
  width: 100%;
}
.slider-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  outline: none;
}

/* Thumb */
.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #0078D7;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}
.slider-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #0078D7;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

/* Opcional: personalizar track según escala */
.slider-P::-webkit-slider-runnable-track,
.slider-P::-moz-range-track {
  background: transparent;
}
.slider-A::-webkit-slider-runnable-track,
.slider-A::-moz-range-track {
  background: transparent;
}
.slider-D::-webkit-slider-runnable-track,
.slider-D::-moz-range-track {
  background: transparent;
}

