body{
    background-color: rgb(70, 142, 236);
    font: normal 15pt Arial;
}
header{
    color: white;
    text-align: center;
}

section{
    width: 100%;
    max-width: 900px;
    padding:10px;
    background-color: white;
    margin:auto;
    border-radius:10px;
    box-shadow:5px 5px 10px rgba(0, 0, 363);
}

footer{
    color:white;
    text-align: center;
    font-style: italic;
}

form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input,
select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}


button:hover {
    background-color: #1565c0;
}

table {
    min-width: 100%;
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: left;
    font-size: 14pt;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

th {
    background-color: #1976d2;
    color: white;
}

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

.btnOrdenarTitulo, .btnOrdenarData{
    width: 7%;
    text-align: center;
    margin-top: 5px;
}

.escuro{
    background-color: #121212;
    color:white;
}
.escuro form{
    background-color:#121212;
}
.escuro section {
    box-shadow: none;
    background-color: #1e1e1e;
}
.escuro input,
.escuro select ,
.escuro button,
.escuro textarea{
    background-color: #333;
    color: white;
    border: 1px solid #555;
}

.escuro input:hover,
.escuro select:hover,
.escuro button:hover{
    background-color: white;
    color: #121212;
}

.escuro tr,
.escuro th{
    background-color: #333;
    color: white;
    border: 1px solid #555;
}

.escuro #modalConteudo{
    color: black;
}

.escuro .btnVerMais{
    color: white;
}

.buttons{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;

}

.btnAnterior, .btnProximo{
    width: 10%;
}

.btnVerMais{
    width: 50%;
    display: block;

}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    display: flex;                /* <- SEMPRE flex */
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#modal.visivel {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#modalConteudo{
    background:white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    max-height: 20vw;
    overflow-y: auto;    

}

.pulso{
    animation: pulse 0.5s ease;
}


@keyframes pulse{
    0% {transform: scale(1);}
    50% {transform: scale(1.2);}
    100% {transform: scale(1);}
}

