/* ==================================================
   USUARIOS Y CONTROL PARENTAL
================================================== */

.lista-usuarios {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.boton-usuario {
    width: 100%;
    padding: 14px 18px;

    border: 2px solid #3970c9;
    border-radius: 14px;

    background: white;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
}

.contenido-adulto {
    max-width: 650px;
}

.objetivos-adulto {
    display: grid;
    gap: 12px;

    margin-top: 25px;
}

.objetivos-adulto label {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    font-weight: bold;
}

.objetivos-adulto input {
    width: 90px;

    padding: 10px;

    font-size: 18px;

    text-align: center;
}

.resumen-hoy,
.historial-adulto {
    margin-top: 25px;
}

.fila-objetivo,
.fila-historial {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #ddd;
}

@media (max-width: 700px) {

    .fila-historial {
        flex-direction: column;
        gap: 4px;
    }
}

/* ==================================================
   CABECERA PRINCIPAL
================================================== */

.cabecera-principal {
    display: block;
}


.cabecera-superior {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.cabecera-superior h2 {
    margin: 0;
}


.cabecera-acciones {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 18px;
}


.usuario-cabecera {
    padding: 10px 15px;

    border-radius: 12px;

    background: #f2f5fa;

    font-size: 17px;
}


.boton-cabecera {
    padding: 10px 15px;

    border: 0;
    border-radius: 12px;

    background: #3970c9;
    color: white;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}


.boton-cabecera:hover {
    transform: translateY(-1px);
}


@media (max-width: 700px) {

    .cabecera-superior {
        align-items: flex-start;
    }


    .cabecera-acciones {
        display: grid;
        grid-template-columns: 1fr 1fr;

        width: 100%;
    }


    .usuario-cabecera {
        grid-column: 1 / -1;
    }


    .boton-cabecera {
        width: 100%;
    }
}

/* ==================================================
   MODALES
================================================== */

.modal-opciones.oculta {
    display: none !important;
}

.modal-opciones {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 1000;

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

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);
}


.contenido-opciones {
    position: relative;

    width: 100%;
    max-width: 480px;

    padding: 35px;

    border-radius: 22px;

    background: white;

    box-shadow:
        0 15px 45px
        rgba(0, 0, 0, 0.25);
}


.cerrar-opciones {
    position: absolute;

    top: 12px;
    right: 15px;

    border: 0;

    background: transparent;

    font-size: 30px;

    cursor: pointer;
}


.boton-modal {
    display: block;

    width: 100%;

    margin: 12px 0;

    padding: 14px 18px;

    border: 0;
    border-radius: 14px;

    background: #3970c9;
    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;
}


.zona-cambiar-nombre.oculta {
    display: none !important;
}

/* =====================================================
   DATOS DEL JUGADOR EN CABECERAS
===================================================== */

.datos-jugador {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;

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

.datos-jugador span {
    display: flex;
    align-items: center;
    min-height: 32px;
}

.datos-jugador span:first-child {
    font-weight: 700;
}

.datos-jugador span:last-child {
    font-weight: 700;
    white-space: nowrap;
}


/* =====================================================
   IDIOMA DE TRABAJO
===================================================== */

.idioma-trabajo {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 22px 0;
    padding: 8px 14px;

    background: #ffffff;
    border-radius: 999px;

    font-size: 16px;
}

.idioma-trabajo strong {
    font-weight: 700;
}
/* =====================================================
   MARCA GLOBAL APRENDUKI
===================================================== */

.marca-global {
    position: fixed;

    left: 22px;
    bottom: 16px;

    z-index: 100;

    display: flex;
    flex-direction: column;

    gap: 2px;

    pointer-events: none;
}

.marca-global-nombre {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.marca-global-autora {
    font-size: 11px;
    color: #6b7280;
}


/* En pantallas pequeñas */

@media (max-width: 700px) {

    .marca-global {
        left: 10px;
        bottom: 8px;
    }

    .marca-global-nombre {
        font-size: 12px;
    }

    .marca-global-autora {
        font-size: 9px;
    }
}

.portada-marca {
    text-align: center;
    margin-bottom: 28px;
}

.portada-logo {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
}

.portada-lema {
    margin-top: 4px;
    font-size: 16px;
    color: #6b7280;
}