/* Garante que o rodapé fique no fim da página */
html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* Rodapé sempre ao fim */
footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #ddd;
    margin-top: auto;
}

/* Título */
header {
    background: linear-gradient(to right, #0078D7, #005bb5);
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

/* Estilo das linhas da tabela */
table td:first-child {
    word-break: break-word; /* quebra palavras longas */
    white-space: normal;
    max-width: 300px;
}

/* Alinha botão de download à direita */
table td:last-child {
    text-align: right;
}

/* Seta de expansão animada */
.arrow {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.toggle-header.collapsed .arrow {
    transform: rotate(0deg);
}

.toggle-header:not(.collapsed) .arrow {
    transform: rotate(180deg);
}

/* Header das categorias */
.toggle-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}
