/* =========================================================
   GPS ESCOLAR — CUERPOS — ENSAYO 16
   Base visual limpia del cuerpo conductor.
   ========================================================= */

/* ==================== TEXTOS INICIO ==================== */

.texto-titulo-principal {
    margin: 0;
    color: #124e7d;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.texto-subtitulo-principal {
    margin: 6px 0 10px;
    color: #68859d;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

.texto-titulo-select-input {
    color: #082b50;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.texto-select-input {
    color: #082b50;
    font-size: 13px !important;
    font-weight: 600;
}

.texto-check {
    color: #24445f;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
}

/* ==================== TEXTOS FIN ==================== */




/* ==================== PASOS ==================== */
.step {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f6;
}

.step:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.step > .label {
    margin: 0 0 6px;
}

/* Destino y Furgón: legend montado sobre el select */
.step-fieldset-compacto {
    position: relative;
    min-width: 0;
    margin: 8px 0 9px;
    padding: 0;
    border: 0;
}

.step-fieldset-compacto > legend {
    position: absolute;
    z-index: 3;
    top: -7px;
    left: 9px;
    margin: 0;
    padding: 0 4px;
    background: #fff;
    color: #082b50;
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
}

.separador-pasos-select {
    height: 0;
    margin: 8px 0 9px;
    border: 0;
    border-top: 1px solid #e3ebf1;
}

/* ==================== SELECT MEDIANO ==================== */
.selector-con-icono {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 7px;
    width: 100%;
    align-items: stretch;
}

.select-mediano {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid #c5dced;
    border-radius: 9px;
    background: #f8fcff;
    box-sizing: border-box;
    outline: none;
}

.select-mediano:focus {
    border-color: #2196e5;
    box-shadow: 0 0 0 1px #2196e5;
}

.icono-select-mediano {
    width: 42px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c5dced;
    border-radius: 9px;
    background: #f8fcff;
    box-sizing: border-box;
    color: #0c83d5;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    overflow: hidden;
}

.selector-icono-espera {
    color: #8c9aaa;
}

.selector-icono-inactivo {
    opacity: .30;
    filter: grayscale(1);
}

.selector-icono-activo {
    opacity: 1;
    filter: none;
}

.destino-emoji {
    font-size: 20px;
    line-height: 1;
}

/* ==================== TARJETAS MINI ==================== */
.chek {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.chek2 {
    width: auto;
    min-width: 0;
    min-height: 27px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid #d6e4ee;
    border-radius: 8px;
    background: #f8fbfe;
    box-sizing: border-box;
}

.chek2 input[type="checkbox"] {
    margin: 0;
    flex: 0 0 auto;
}

.chek2.check-deshabilitado {
    opacity: .48;
}

/* ==================== BOTÓN GPS ==================== */
.boton-gps {
    width: calc(100% - 20px);
    min-height: 42px;
    margin: 0 10px;
    padding: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: stretch;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: #08a878;
    color: #fff;
    box-sizing: border-box;
    cursor: pointer;
}

.boton-gps-icono,
.boton-gps-accion {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.boton-gps-contenido {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-align: center;
}

.boton-gps-contenido b {
    font-size: 12px;
    font-weight: 800;
}

.boton-gps-contenido small {
    margin-top: 2px;
    font-size: 9px;
    font-weight: 500;
}

.boton-gps-accion {
    width: 24px;
    height: 24px;
    align-self: center;
    justify-self: center;
    border-radius: 50%;
    background: #fff;
    color: #08a878;
    font-size: 11px;
    font-weight: 800;
}

.boton-gps.gps-active {
    background: #078f73;
}

/* ==================== TARJETAS INFERIORES ==================== */
/* El segundo contenedor-1 se reconoce por sus tarjetas .titulo. */
.contenedor-1:has(> .titulo.tarjeta-media) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.titulo {
    box-sizing: border-box;
}

.tarjeta-media,
.tarjeta-grande {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 6px;
    padding: 9px;
    border: 1px solid #dbe6ef;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.tarjeta-media {
    width: 100%;
    min-height: 62px;
}

.tarjeta-grande {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 56px;
    margin-bottom: 6px;
}

.tarjeta-grande:last-child {
    margin-bottom: 0;
}

.tarjeta-media .ico,
.tarjeta-grande .ico {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* TAMAÑO ICONOS DE LAS 3 TARJETAS GRANDES: cambiar aquí si se quieren agrandar o achicar */
.tarjeta-grande .ico {
    font-size: 22px;
}

.tarjeta-media > div:not(.ico),
.tarjeta-grande > div:not(.ico) {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tarjeta-media b,
.tarjeta-grande b {
    color: #082b50;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.05;
}

.tarjeta-media small,
.tarjeta-grande small {
    display: block;
    margin-top: 2px;
    color: #34546e;
    font-size: 10px;
    line-height: 1.15;
}

.tarjeta-media .chev,
.tarjeta-grande .chev {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #7d93a5;
    font-size: 18px;
}



/* =========================================================
   TÍTULO - ICONO 1
   Icono circular reutilizable para encabezados
   ========================================================= */

.titulo-icono-1 {
    /* Tamaño del círculo */
    width: 48px;
    height: 48px;

    /* Tamaño del emoji/icono */
    font-size: 26px;
    line-height: 1;

    /* Centra solamente el emoji DENTRO del círculo */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Apariencia suave */
    background: #eef6fb;
    border: 1px solid #dceaf2;
    border-radius: 50%;

    /* Sombra muy suave */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

    flex-shrink: 0;
}



/* =========================================================
   INICIO · PRESENTACIÓN PRINCIPAL
   Imagen completa ocupando todo su contenedor.
   Espacio reservado desde la carga.
   ========================================================= */

.inicio-presentacion {
    position: relative;

    width: 100%;
    aspect-ratio: 600 / 340;

    overflow: hidden;
    border-radius: 10px;

    box-sizing: border-box;
}

.inicio-presentacion-imagen {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Difuminado progresivo únicamente alrededor del perímetro */
.inicio-presentacion::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, .95),
        inset 0 0 22px rgba(255, 255, 255, .48);

    pointer-events: none;
}


/* =========================================================
   TARJETAS INFORMATIVAS
   Bloque visual de información dentro del cuerpo.
   Sin acción ni comportamiento.
   ========================================================= */

.tarjetas-informativas {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border: 1px solid #e4edf3;
    border-radius: 14px;

    background: #fff;

    overflow: hidden;
    box-sizing: border-box;
}

.tarjeta-informativa-pequena {
    min-width: 0;
    padding: 10px 4px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
    box-sizing: border-box;
}

.tarjeta-informativa-pequena + .tarjeta-informativa-pequena {
    border-left: 1px solid #d8e6ef;
}

.tarjeta-informativa-icono {
    min-height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    line-height: 1;
}

.tarjeta-informativa-texto {
    margin-top: 5px;

    color: #124e7d;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
}