.body-principal {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8d7da;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    background-image: url('../img/background.jpg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    background-attachment: fixed;
}

.body-teste {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8d7da;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    background-image: url('../img/background.jpg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    background-attachment: fixed;
    margin: 20px 20px 20px 20px;    
}

.container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1; 
}

.container-teste {
    width: 100%;
    max-width: 1000px;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1; 
}

.container-admin {
    max-width: 1000px;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1; 
}

h2 {
    text-align: center;
    font-size: 30px;
    color: green;
    margin-top: 0px;
}

h3 {
    text-align: justify;
    font-size: 20px;
    color: #721c24;
}

label {
    display: block;
    color: #721c24;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
    width: 95%;
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    font-size: 16px;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.input-crud {
    width: 95%;
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    font-size: 16px;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

input[type="email"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
    border-color: rgba(0, 128, 0, 0);
    background-color: #fff5f5;
    outline: none;
    --box-shadow: 0 4px 6px rgba(200, 35, 51, 0.4);
}

.input-crud:focus {
    border-color: rgba(0, 128, 0, 0);
    background-color: #fff5f5;
    outline: none;
}

button {
    width: 100%;
    height: 50px;
    background-color: green;
    color: #fff;
    padding: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

button:hover {
    background-color: rgb(0, 77, 0);
}

.button-crud {
    display: flex; 
    gap: 5px; 
    align-items: center;
    margin: 0;
    height: 20px;
    background-color: green;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.button-crud:hover {
    background-color: rgb(0, 77, 0);
}

.forgot-password {
    text-align: center;
    margin-top: 10px;
}

.forgot-password a {
    color: #721c24;
    text-decoration: none;
    font-weight: 400;
}

.forgot-password a:hover {
    text-decoration: underline;
}

#forgot-section {
    display: none;
}

.alert-custom {
    background-color: #c82333;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

p {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-align: justify;
    padding: 0px;
}

select,
select option {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    padding: 0px;
}

.footer-ideau {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
}


table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    box-shadow: 0 4px 8px rgba(0, 128, 0, 0.15);
    margin-top: 20px;
    background-color: #ffffff;
}

table thead {
    background-color: #2e7d32; /* verde mais escuro */
    color: white;
}

table th, .table-verde td {
    padding: 6px 10px; /* mais compacto */
    border: 1px solid #c8e6c9;
    text-align: center; /* ou left, se preferir */
    line-height: 1.2; /* alinhamento vertical mais justo */
    font-size: 14px;
}

table tbody tr:nth-child(even) {
    background-color: #f1f8e9; /* verde bem claro (zebra) */
}

table tbody tr:hover {
    background-color: #dcedc8; /* destaque em hover */
    transition: background-color 0.3s ease;
}

.centraliza-grafico {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
}

.menu-botoes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.p-detalhes {
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-align: left; /* ou justify se quiser manter justificado */
    padding: 0;
    margin: 0;
    height: auto;           /* permite que a altura se ajuste ao conteúdo */
    line-height: 1.0;       /* valor relativo à fonte — mais compacto que 30px */
}

.p-detalhes-center {
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    text-align: center; /* ou justify se quiser manter justificado */
    padding: 0;
    margin: 0;
    height: auto;           /* permite que a altura se ajuste ao conteúdo */
    line-height: 1.0;       /* valor relativo à fonte — mais compacto que 30px */
}

.tabela-compacta {
    width: 100%;
    border-collapse: collapse;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    margin-top: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 128, 0, 0.15);
}

.tabela-compacta thead {
    background-color: #2e7d32;
    color: white;
}

.tabela-compacta th,
.tabela-compacta td {
    padding: 4px 8px;
    border: 1px solid #c8e6c9;
    text-align: center;
    line-height: 1.0;
}

.tabela-compacta tbody tr:nth-child(even) {
    background-color: #f1f8e9; /* verde bem claro para zebra */
}

.tabela-compacta tbody tr:hover {
    background-color: #dcedc8; /* leve destaque ao passar o mouse */
    transition: background-color 0.3s ease;
}

.btn-imprimir {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
    align-items: center;
    gap: 10px;
}

.btn-imprimir:hover {
    background-color: #005a00;
}

.btn-imprimir i {
    font-size: 16px;
}

.checkbox-lgpd {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-lgpd input[type="checkbox"] {
    margin-top: 5px;
}

.checkbox-lgpd label {
    line-height: 1.2;
    margin-right: 15px;
    margin-bottom: 5px;
}

.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* fundo escuro */
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

.modal-texto {
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

