@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    list-style: none;
    /* overflow-x: hidden; */
}

body {
    width: 100vw;
    height: 100vh;
}


.grid-wrapper {
    width: 95%;
    margin: auto;
    height: 98%;
    display: flex;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.table-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ajuste conforme necessário */
}

/* Isso irá aplicar o estilo para todas as suas tabelas, ajuste as classes conforme necessário */
.table-container .scrollable-table {
    max-height: 350px;
    /* Isto assume que você quer uma altura máxima de 350px */
    overflow-y: auto;
}

/* Certifique-se de que o contêiner da tabela ocupa todo o espaço disponível */
.grid-container>div {
    display: flex;
    flex-direction: column;
}

/* Para tabelas específicas, você pode aplicar estilos de altura diretamente ou usar classes auxiliares */
.table-1,
.table-2,
.table-3,
.table-4 {
    flex: 1;
    /* Isso fará com que todas as tabelas expandam igualmente para preencher o espaço disponível */
}




.open-orders {
    background-color: #dc3545;
    font-size: 1.9em;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    padding: 7px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.exp-orders {
    background-color: #a3d846;
    font-size: 1.9em;
    border-radius: 12px;
    color: black;
    font-weight: 800;
    padding: 7px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.bg-successo {
    background-color: #2bbd18 !important;
}

.sended-orders {
    background-color: #24aeee;
    font-size: 1.9em;
    border-radius: 12px;
    padding: 7px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}

.fatured-orders {
    background-color: #ffc107;
    font-size: 1.9em;
    border-radius: 12px;
    padding: 7px;
    padding-top: 15px;
    padding-bottom: 15px;
    color: black;
    font-weight: 800;
    text-transform: uppercase;
}

th {
    text-transform: uppercase;
    position: sticky;
    background-color: white !important;
}

.table-1 {
    border: 1px solid #dc3545;
}

thead {
    position: sticky;
    top: 0;
    z-index: 10;
    /* z-index alto para garantir que o cabeçalho fique acima de outras partes da página */
}

.table-2 {
    border: 1px solid #ffc107;
}

.table-3 {
    border: 1px solid #24aeee !important;
}

.container-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dinamic_display {
    display: flex;
    justify-content: center;
    gap: 13%;
    width: 100%;
    margin-bottom: 3%;
    margin-top: 1%;
    padding: 10px;
    background-color: #f7f7f7;
}

.display1 {
    border-width: 10px 0px 0px 5px;
    border-style: solid;
    border-color: #24aeee;
    border-radius: 100%;
    word-wrap: break-word;
    width: 300px;
    height: 300px;
    text-align: center;
    font-size: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.display2 {
    border-width: 10px 0px 0px 5px;
    border-style: solid;
    border-color: #ffc107;
    border-radius: 100%;
    word-wrap: break-word;
    width: 300px;
    height: 50px;
    text-align: center;
    display: flex;
    font-size: 28px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.display3 {
    border-width: 10px 0px 0px 5px;
    border-style: solid;
    border-color: #dc3545;
    border-radius: 100%;
    word-wrap: break-word;
    width: 300px;
    height: 300px;
    font-size: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cont-custom {
    font-size: 2.3em;
    font-weight: 600;
}

.small-font {
    font-size: 0.8rem !important;
}

.container-1 {
    padding: 5px 10px 10px 10px;
}

.container-2 {
    padding: 5px 10px 10px 10px;
}

.container-3 {
    padding: 5px 10px 10px 10px;
}

.container-4 {
    padding: 5px 10px 10px 10px;
}

.scrollable-table {
    height: 330px;
    overflow-y: auto;
    display: block;

}

.clock {
    background-color: #1d1d1d;
    padding: 5px;
    margin: auto;
    margin-top: 18px;
    margin-bottom: 25px;
    color: white;
    display: flex;
    justify-content: space-around;
    /* Espaçamento entre os itens */
    align-items: center;
    /* Centraliza verticalmente */
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 15px;
    width: 94%;
    align-self: center;
}

.clock .last-update {
    margin-top: 10px;
    /* Adiciona um espaço entre as linhas */
    line-height: 1.5;
}

.refresh-timer span,
.last-update span {
    font-size: 0.8em; /* Tamanho ajustado para o tempo */
    font-weight: bold;
    margin-top: 5px; /* Espaço entre o texto e o tempo */
    display: block;
    text-align: center;
}

#update-timer,
#update-time {
    font-size: 1.2em;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}



.grid-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container-1,
.container-2,
.container-3,
.container-4 {
    flex: 1 1 48%;
    /* Ajuste para que cada container ocupe 48% da largura da tela */
    min-width: 300px;
    /* Define uma largura mínima para telas menores */
}

.scrollable-table {
    height: 330px;
    overflow-y: auto;
    display: block;
}

@media screen and (max-width: 992px) {

    .container-1,
    .container-2 {
        flex: 1 1 100%;
        /* Em telas menores, as tabelas ficarão uma embaixo da outra */
    }
}

.meli {
    width: 80%;
    height: 200px;
    margin-bottom: 0 !important;
    align-self: center;
    margin: auto;
}