/* estilo.css */

/* Fonte institucional */
body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    background-color: #f8f9fa;
    color: #333; 
}

/* Cabeçalho TRB */
.trb-header {
    background: #AA1920; /* vermelho institucional */
    color: #fff;
    padding: 16px 0; /* faixa mais alta */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.trb-header__inner {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.trb-header__logo {
    height: 56px; /* logo maior */
    width: auto;
    display: block;
}
.trb-header__title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

/* Cabeçalho e botões principais */
h1, h2 {
    color: #003366;

}

button, .botao {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover, .botao:hover {
    background-color: #0055a5;
}

/* Tabela de listagem */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    padding: 4px;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #003366;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Filtros e inputs */
input[type="month"],input[type="number"], select, input[type="text"] {
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}


/* Container */
.container {
    max-width: 90%; 
    margin: 0 auto;
    padding: 20px;
    border: 3px solid #000;
    /* background-color: #46c440; */
}
/* Alinhamento vertical superior para todas as células */
table td, table th {
    vertical-align: top;
}

/* Estilo das colunas com scroll */
.coluna-limitada {
    max-width: 260px;
    max-height: 5.6em;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 14px;
    line-height: 1.4em;
    border: 1px solid #ddd;
    background-color: #fafafa;
}

table.lista-candidatos {
    width: 98%;
    margin: 20px auto;
}
