﻿/* body {
    background-color: #144717;
} */

#principal {
    padding: 20px;
}

#cabecalho {
    background-color: #144717;
    padding-right: 2%;
    padding-left: 2%;
}

.item-menu {
    display: flex;
    align-items: center;
}

.item-menu a{
    font-size: 26px;
}

.pagination {
    margin-top: 0px;
    margin-bottom: 20px;
}

#content-login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-search {
    display: inline-block
}

.form-options {
    margin-top: 2%;
    margin-bottom: 2%;
    display: flex;
    align-items: center; /* Adicionado para centralizar verticalmente */
    position: relative; /* Adicionado para o posicionamento do botão */
}

.form-buttons {
    margin-left: 0.75%;
}

center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-filter {
    margin-left: auto;
    align-items: center;
    justify-content: center;
    background-color: none;
    border: none;
}

.filter {
    position: absolute;
    right: 0;
}

.advanced-search {
    display: none;
    margin-top: 10px;
}

#advancedSearch {
    display: flex;
}

.form-group {
    display: flex;
    justify-content: left;
    width: 100%;
    padding: 5px;
    margin-bottom: 20px;
}

.form-group .group {
    margin-left: 22px;
}

#login-page {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.logo {
    display: block;
}

.login-form {
    width: 300px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    margin-top: 40px;
}

.login-form input {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 20px;
    border-radius: 5px;
    border: 1px solid black;
    padding: 4px;
    width: 96.5%;
}

.login-form .form-field {
    width: 100%;
}

.login-form input.submit {
    display: block;
    width: 100%;
    height: 30px;
}

button a {
    text-decoration: none;
    color: black;
}

button a:hover {
    text-decoration: none;
    color: black;
}

#calculadora {
    width: 100%;
    margin-bottom: 20px;
    font-size: 20px;
    border-collapse: collapse;
    gap: 3em;
}

.table {
    width: 100%;
}

.table td {
    padding: 10px;
    vertical-align: middle;
    font-size: 18px;
}

.table td input {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 18px;
}

.table .bg-warning {
    background-color: #ffc107 !important;
    font-weight: bold;
}

.table .bg-danger {
    background-color: #ff0000 !important;
    font-weight: bold;
    color: white;
}

.text-center {
    text-align: center;
}

.align-middle {
    vertical-align: middle;
}

.table input.form-control {
    background-color: white;
    color: black;
    font-weight: bold;
}

.calc {
    display: inline-block;
    height: 38px; /* Altura correspondente ao input */
    line-height: 38px; /* Alinha o texto verticalmente */
    vertical-align: middle;
}

.inputcalc.form-control {
    height: 38px; /* Mantém todos os inputs com a mesma altura */
}

button#update{
    display: inline-block;
    width: 120px;
    height: 41.5px;
    background-color: rgb(69, 223, 171);
    border: 1px solid black;
    border-radius: 2px;
}

button#exportarBtn{
    display: inline-block;
    width: 180px;
    height: 41.5px;
    background-color: rgb(85, 85, 85);
    border: 1px solid black;
    border-radius: 2px;
}

button#exportarBtn:hover{
    display: inline-block;
    width: 178px;
    height: 41.5px;
    background-color: rgb(56, 55, 55);
    border: 1px solid black;
    border-radius: 2px;
}

button#exportarBtnPDF{
    display: inline-block;
    width: 180px;
    height: 41.5px;
    background-color: rgb(85, 85, 85);
    border: 1px solid black;
    border-radius: 2px;
}

button#exportarBtnPDF:hover{
    display: inline-block;
    width: 178px;
    height: 41.5px;
    background-color: rgb(56, 55, 55);
    border: 1px solid black;
    border-radius: 2px;
}

select#select-responsavel {
    width: 100%;
    height: 100%;
}

.primarias {
    display: flex;
    text-align: center;
    gap: 18px;
}

button#update:hover{
    display: inline-block;
    width: 120px;
    height: 41.5px;
    background-color: rgba(69, 223, 172, 0.685);
    border: 1px solid black;
    border-radius: 2px;
}

#voltar{
    color: black;
    width: 120px;
    line-height: 2.39;
    padding: 1px 6px;
    border: 1px outset buttonborder;
    border-radius: 3px;
    color: buttontext;
    background-color: buttonface;
    text-decoration: none;
}

button#add-client{
    width: 150px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
    margin-left: 10px;
}

button#add-client:hover{
    width: 150px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
    background-color: rgb(230, 230, 230);
}

button#advanced-search {
    width: 200px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
}

button#advanced-search:hover{
    width: 200px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
    background-color: rgb(230, 230, 230);
}

button#export-data {
    width: 120px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
    margin-left: 10px;
    background-color: #144717;
    color: white;
}

button#export-data:hover {
    width: 120px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
    background-color: #00a555;
}

/* Modal de Exportação */
.export-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.export-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.export-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.export-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #144717;
}

.close-export-modal {
    font-size: 32px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.close-export-modal:hover {
    color: #000;
}

.export-modal-body {
    padding: 20px;
}

.export-section {
    margin-bottom: 30px;
}

.export-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #144717;
}

.export-section hr {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #e0e0e0;
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.column-checkbox {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.column-checkbox:hover {
    background-color: #f5f5f5;
}

.column-checkbox input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.format-radio {
    display: block;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.format-radio:hover {
    background-color: #f5f5f5;
}

.format-radio input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.export-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.button-cancel {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.button-cancel:hover {
    background-color: #f5f5f5;
}

.button-export {
    padding: 10px 20px;
    border: 1px solid #144717;
    border-radius: 4px;
    background-color: #144717;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.button-export:hover {
    background-color: #00a555;
    border-color: #00a555;
}

#pesquisar {
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
}

#pesquisar:hover {
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
    background-color: rgb(230, 230, 230);
}

input#delete{
    display: inline-block;
    width: 120px;
    height: 40px;
    background-color: rgb(184, 65, 65);
    border: 1px solid black;
    border-radius: 2px;
}

input#delete:hover{
    display: inline-block;
    width: 120px;
    height: 40px;
    background-color: rgb(138, 68, 68);
    border: 1px solid black;
    border-radius: 2px;
}

#deleteForm {
    float: right;
    margin-right: 5px;
}

#create-user{
    margin-left: 10px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
}

#create-user:hover{
    margin-left: 10px;
    border: 1px solid rgb(146, 146, 146);
    border-radius: 4px;
    background-color: rgb(230, 230, 230);
}

.icon-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.5vh;
    color: black;
}

.icon-edit a:hover {
    cursor: pointer;
}

.selected {
    color: rgb(156, 44, 44);
}

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.icon-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7.5vh;
    color: black;
}

.icon-actions a:hover {
    cursor: pointer;
}

.data {
    width: 97%;
}

.select {
    width: 100%;
}

table {
    font-size: 17px;
    border: 1px solid black;
}

td {
    padding: 4px;
}

th {
    padding: 4px;
}

td input{
    font-size: 17px;
    width: 100%;
    height: 100%;
}

td select{
    font-size: 17px;
    height: 100%;
}

#valor_liquido {
    font-size: 1.4em;
    font-weight: 500;
}

#max {
    color: red;
}

#maxValor {
    color: red;
}

#proposta {
    color: green;
}

#propostaValor {
    color: green;
}

.data-head {
    width: 200px;
}

.idade-head {
    width: 40px;
}

.cpf-head {
    width: 300px;
}

.falecido-head {
    width: 200px;
}

.ordem-head {
    width: 200px;
}

.ep-head {
    width: 200px;
}

.oab-head {
    width: 200px;
}

.bases {
    margin-top: 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.base {
    width: 15%;
    height: 100px;
    font-size: 1.5em;
    border: 1px solid rgb(121, 121, 121);
    border-radius: 18px;
    background-color: #144717;
    text-decoration: none;
    text-align: center;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.base:hover {
    width: 15%;
    height: 100px;
    font-size: 1.5em;
    background-color: #00a555;
    border: 1px solid rgb(121, 121, 121);
    border-radius: 18px;
    text-decoration: none;
    text-align: center;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.base button {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
}