.fondo_sol{
    width: 100%;
}



#timer-bar-container {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    margin-bottom: 2em;
    margin-top: 2em;
}

#timer-bar {
    width: 100%;
    height: 100%;
    background: #2c3035;
    border-radius: 5px;
}

/* ------------------------------
   BOTONES BASE
------------------------------ */

#next-container {
    margin-top: 20px;
    text-align: center;
    display: none;
}

#pregunta-texto,
.respuesta {
    opacity: 0;
    transform: translateY(20px);
}

.respuesta {
    background: #3d6478;
    border: 2px solid #ccc;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 1.5em;
    width: fit-content;
    min-width: 30%;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

/* Hover solo si está activa */
.respuesta:not(.respuesta-disabled):hover {
    background: #f0f0f0;
    border-color: #aaa;
    color: #3d6478;
}

/* ------------------------------
   ESTADO: DESHABILITADA
------------------------------ */
.respuesta-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ------------------------------
   ESTADO: CORRECTA
------------------------------ */
.respuesta-correcta {
    background-color: #4baa4f !important;
    border-color: #d4c89a !important;
    color: #000 !important;
}

/* ------------------------------
   ESTADO: INCORRECTA
------------------------------ */
.respuesta-incorrecta {
    background-color: #e53935 !important;
    border-color: #b71c1c !important;
    color: white !important;
}

/* ------------------------------
   FEEDBACK
------------------------------ */

#feedback {
    font-weight: normal;
    line-height: normal;
    /* color: var(--white);
    background-color: var(--text-color); */
    /* padding: 1em; */
    font-size: 1.2em;
    text-align: justify;
}



.feedback-correcto {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 1em;
    background-color: #2c3035;
    padding: 0.3em;
    width: fit-content;
    border-radius: 0.2em;
    text-transform: uppercase;
    margin: 1em auto;
}


.feedback-incorrecto {
    color: #E53935;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 1em;
    background-color: #2c3035;
    padding: 0.3em;
    width: fit-content;
    border-radius: 0.2em;
    text-transform: uppercase;
    margin: 1em auto;

}

.feedback-timeout {
    color: #E53935;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1em;
    background-color: #2c3035;
    padding: 0.3em;
    width: fit-content;
    border-radius: 0.2em;
    text-transform: uppercase;
    margin: 1em auto;
}

/* ------------------------------
   FIN DE TRIVIA
------------------------------ */
.fin-trivia {
    text-align: center;
    padding: 40px;
}

.btn-reiniciar {
    padding: 10px 20px;
    font-size: 2em;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-reiniciar:hover {
    background: #43A047;
}

/* Responsive: Ajustes para móviles */
@media (max-width: 768px) {}


/* ////////trivias POIS - PARADAS */


/* Asegura que el contenedor sea visible cuando el JS le quita el display:none */
.next-container_parada {
    display: block !important;
    /* Para pruebas, asegúrate que se vea */
    min-height: 50px;
    margin-top: 20px;
}

/* Estilo para el botón de terminar */
.finish-stop-btn {
    background-color: #28a745 !important;
    /* Verde */
    color: white !important;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    /* El JS lo pondrá en 'block' */
}

/* Estilo para el botón de siguiente */
.next-question-btn {
    background-color: #007bff !important;
    /* Azul */
    color: white !important;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    /* El JS lo pondrá en 'block' */
}

.next-question-btn_parada,
.finish-stop-btn_parada {
    display: none;
}


/* album cracks cromos estadios */

.cromo-detail {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.cromo-description {
    text-align: justify;
    margin-top: 1em;
    margin-bottom: 1em;
}

.cromo-figure {
    padding: 0.5em;
    padding: 0.5em;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

.cromo-navigation {
    margin: 2em;
    text-align: center;
}

.cromo-navigation a {
    color: var(--text-color);

}
/* ---------------------------------------------------------------------------
   Cadena de validación de parada: GPS -> permanencia -> contenido -> prueba
--------------------------------------------------------------------------- */

.paso {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background: #fdfdfd;
}

.paso h2 {
    margin-top: 0;
    font-size: 18px;
}

.paso.is-done {
    border-color: #4CAF50;
    opacity: .65;
}

.paso.is-done h2::after {
    content: " ✓";
    color: #4CAF50;
}

.paso__estado {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

.paso__estado.is-error {
    color: #e53935;
}

.dwell {
    margin-top: 12px;
}

.dwell .progress-bar {
    background: #f0f0f0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.dwell .progress-fill {
    background: #64b6e6;
    height: 100%;
    width: 0;
    transition: width 1s linear;
}

.dwell small {
    font-size: 11px;
    color: #888;
}

.parada-gate {
    text-align: center;
    padding: 40px 20px;
}

#prueba-opciones .respuesta img {
    display: block;
    max-width: 120px;
    margin: 0 auto 8px;
}

.streak-box {
    margin-left: 10px;
    font-size: 13px;
}
