/* Reset básico e fontes */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Cabeçalho */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 4px solid #e74c3c;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0;
    font-size: 1.2rem;
    color: #bdc3c7;
}

/* Conteúdo Principal */
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Container dos Filtros */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.filter-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.filter-item label {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #34495e;
}

.filter-select, .filter-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.checkbox-container {
    text-align: center;
    margin: 1.5rem 0;
}

/* Estilo das Edições (Acordeão) */
.edition {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.edition-title {
    background-color: #34495e;
    color: #ecf0f1;
    border: none;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.edition-title:hover {
    background-color: #4a627a;
}

.edition-title .icon {
    transition: transform 0.3s;
}

.edition.active .edition-title .icon {
    transform: rotate(90deg);
}

.edition-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 1.5rem;
}

/* Estilo dos Artigos dentro do acordeão */
.article {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}
.article:last-child {
    border-bottom: none;
}

.article p {
    margin: 0.5rem 0;
}

.article strong {
    color: #2c3e50;
}

.article em {
    color: #7f8c8d;
    font-style: italic;
}

/* Botão Voltar ao Topo */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    display: none;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#backToTop:hover {
    background-color: #c0392b;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background-color: #2c3e50;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Estilo para a mensagem de aviso (versão antiga) */
#sticky-text {
    background-color: #ffffff; /* */
    color: #34495e; /* */
    padding: 1.5rem; /* */
    margin: 1.5rem 0; /* */
    border-radius: 8px; /* */
    border-left: 5px solid #e74c3c; /* */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* */
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    line-height: 1.6;
}
