@media (max-width: 767.98px) {
    .hide-on-mobile {
        display: none !important;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (pointer: coarse) {
    body#imgbody {
        overflow: auto; /* ou scroll */
    }
}

@media (pointer: fine) {
    body#imgbody {
        overflow: hidden;
    }
}

.grupo-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.grupo-container .filapedido {
    flex: 1;
}

.linha-centralizada td,
.linha-centralizada th {
    vertical-align: middle !important;
    text-align: center;
}

.blink {
    animation: blink 1s infinite;
    background-color: yellow;
}

.head {
    position: relative;
    height: 100px;
    border-bottom: solid;
    margin-bottom: 25px;
    border-color: #092240;
    border-top: solid 10px;
    border-top-color: #092240;
    background-color: white;
    @media (max-width: 767.98px) {
        height: 50px;
    }
}

.head-logo {
    font-family:
        Arial,
        Helvetica,
        Liberation Sans,
        DejaVu Sans,
        sans-serif;
    font-size: 60px;
    color: #092240;
    font-weight: 700;
    text-align: center;

    @media (max-width: 767.98px) {
        font-size: 30px;
    }
}

.filapedido {
    border-left: 3px solid #092240;
    padding-left: 5px;
    height: 34px;
    display: flex;
    align-items: center;
    width: 100%;
}

.admin-container {
    display: grid;
    grid-template-columns: 1fr; /* 📱 celular */
    gap: 6px;
}

/* 💻 Desktop */
@media (min-width: 768px) {
    .admin-container {
        grid-template-columns: repeat(3, auto);
    }
}

.admin-box {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

/* Quadradinho do número */
.admin-num {
    width: 35px;
    height: 40px;
    border: 1px solid #000;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    padding-top: 5px;
}

/* Verde */
.admin-num.ok {
    background-color: #43ff43;
}

/* Vermelho */
.admin-num.erro {
    background-color: red;
    color: white;
}

/* Horário pequeno embaixo */
.admin-time {
    display: block;
    font-size: 10px;
    line-height: 10px;
}

/* Nome */
.admin-nome {
    width: 120px;
    height: 40px;
    margin-left: 5px;
    border: 1px solid #000;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.extra {
    display: block;
    font-size: 10px;
    line-height: 8px;
}

.nome {
    margin-left: 6px;
}

@media (max-width: 767.98px) {
    .filapedido {
        width: 100% !important;
        height: 28px !important;
        flex-direction: row;
    }
}

.contT {
    background-color: #092240;
    color: white;
    left: 30px;
    top: 115px;

    @media (max-width: 767.98px) {
        top: 70px;
    }
}

.contB {
    background-color: #092240;
    color: white;
    left: 80px;
    top: 115px;

    @media (max-width: 767.98px) {
        top: 70px;
    }
}

.tagPedido {
    @media (max-width: 767.98px) {
        margin-top: 5px;
    }
}

table {
    border-collapse: separate;
    border-spacing: 7px;
}

thead th {
    background-color: #d10000;
    color: white;
    border-color: rgb(255, 255, 255);
}

tbody td {
    background-color: #ffffff;
    color: #212122;
    border: 1px solid #3d3d3d;
    font-weight: 500;
    font-family: 'Roboto';
}

.footer {
    width: 98.8%;
    float: left;
    bottom: 0;
    position: absolute;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    border-top: 1px solid #3d3d3d;
}

.footer-left {
    height: 5px;
    width: 35%;
    background-color: #092240;
    margin-top: 5px;
    float: left;
}

.codesoft {
    width: 30%;
    float: left;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #092240;
}

.titlePedidos {
    width: 30%;
    float: left;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #092240;
}

.footer-right {
    width: 35%;
    height: 5px;
    background-color: #092240;
    margin-top: 5px;
    float: right;
}

.tagPedido {
    background-color: #ffeb00;
    font-weight: 400;
    margin-right: 10px;
    border: 2px solid #092240;
    display: inline-flex;
    align-items: baseline;
}

/* PC / padrão */
.tabela-responsiva {
    width: 550px;
}

/* Celular (até 767px) */
@media (max-width: 767.98px) {
    .tabela-responsiva {
        width: 100px !important;
    }
}

.linha-flex {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.col-bloco {
    flex: 1; /* divide igualmente */
    min-width: 0; /* evita quebra */
}
.titulo-bloco {
    font-size: 20px;
    font-weight: 400;
    margin-right: 12px;
    height: 20px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

/* MOBILE — diminuir a fonte para ficar adequado */
@media (max-width: 767.98px) {
    .titulo-bloco {
        font-size: 20px;
        height: 20px;
        line-height: 20px;
    }
}

/* Celular: colocar os dois LADO A LADO */
@media (max-width: 767.98px) {
    .grupo-mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .col-bloco {
        width: 50%; /* cada um ocupa metade */
    }

    /* tabelas menores no celular */
    .col-bloco table {
        width: 100% !important;
    }
}
