body, html {
    margin: 0;
    padding: 0;
    background: white;
    font-family: sans-serif;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /*cursor: none;*/
}

.pantalla-container {
    width: 800px;
    height: 460px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-zonas {
    display: grid;
    grid-template-areas:
        "peso semaforo"
        "mensajes datos";
    grid-template-columns: 70% 30%;
    grid-template-rows: 50% 50%;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.peso {
    grid-area: peso;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: bold;
    
}
.peso-valor {
    font-size: 160px;
    text-align: center;
}
.peso-unidad {
    font-size: 28px;
    margin-left: 10px;
}
.semaforo {
    grid-area: semaforo;
    display: flex;
    align-items: center;
    justify-content: center;
}
#semaforo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: gray;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    
}
.mensajes {
    grid-area: mensajes;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding-top: 10px;
}
.linea-mensaje {
    font-size: 30px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 6px;
    min-height: 28px;
    width: 100%;
    max-width: 500px;
}
.btn-ok {
    font-size: 56px;
    font-weight: bold;
    padding: 15px 100px;
    background-color: #28a745;/* valor por defecto */
    color: orange;
    border: none;
    border-radius: 10px;
    display: none;
}
#mensajes-informativos {
    margin-top: 10px;
    display: none;
    font-size: 20px;
    color: #8B4513;
}
#mensajes-informativos p {
    margin: 5px 0;
}
.datos {
    grid-area: datos;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding-top: 10px;
}
.dato-bloque .label-mat {
    font-weight: bold;
    font-size: 28px;
    color: #003366;
    text-align: center;
    
}
.dato-bloque .label-id {
    font-weight: bold;
    font-size: 28px;
    color: #003366;
    text-align: center;
}
.dato-bloque .valor {
    font-size: 32px;
    font-weight: bold;
    color: #b30000;
    text-align: center;
    padding-top: 10px;
    min-height: 40px;
}
/*
div {
    border: 1px dashed red !important;
}
*/






