/* Header fixo no topo */
.header {
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 8px 0; /* Ajuste do espaçamento interno */
    font-size: 20px; /* Ajuste do tamanho da fonte */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container {
    margin-top: 20px; /* Espaço ajustado para o cabeçalho fixo */
    width: 90%;
    margin: 0 auto; /* Centraliza o conteúdo */
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.table-container {
    overflow-y: auto; /* Permite rolagem vertical */
    height: calc(100vh - 120px); /* Ajusta a altura para incluir o rodapé */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0; /* Remove qualquer margem padrão */
}

thead th {
    position: sticky;
    top: 20px; /* Alinha o cabeçalho da tabela com o fim do cabeçalho fixo */
    background-color: #f0f0f0;
    z-index: 999;
    border-bottom: 2px solid #ddd;
    text-align: center;
    padding: 8px; /* Reduz o espaçamento interno */
}

table th, table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}


/* Rodapé fixo */
.footer {
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilos para status */
.status-ok {
    color: #25d366;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.status-error {
    color: red;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
