body,
.panelBack {
    /* background:
        radial-gradient(ellipse at 100% 60%, rgba(66, 33, 140, 0.2) 50%, rgba(255, 255, 255, 0) 80%) bottom right,
        radial-gradient(ellipse at 0% 60%, rgba(90, 178, 173, 0.2) 50%, rgba(255, 255, 255, 0) 80%) bottom left; */
    /* background-size: 100% 100%;
    background-repeat: no-repeat; */
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
}

* {
    color: #313131 !important;
}

#gees-datatable thead th {
    vertical-align: middle !important;
    border-bottom: 2px solid #dee2e6 !important;
}

/* body{
    background-color: rgba(255, 255, 255, 0);
} */

.card {
    /* background: linear-gradient(0deg, #E6ECF1, #E6ECF1),linear-gradient(0deg, #F2F7FA, #F2F7FA) !important; */
    /* background: rgba(110,52,191,0.13) !important; */
    background: #fff !important;
    border-radius: 18px !important;
}

.expanding-div {
    border-radius: 15px !important;
}


.card-border {
    border-radius: 10px 10px 0px 0px !important;
}

.card-header,
.list-group-item {
    background-color: transparent !important;
}

.card-header {
    border-bottom: 0px solid rgba(0, 0, 0, .125) !important;
}



.border {
    border-radius: 15px !important;
}

.fs-7 {
    font-size: 15px;
}

.fs-8 {
    font-size: 10px;
}

.elemento-escondido {
    display: none !important;
}



.scrollable-content::-webkit-scrollbar-thumb {
    background-color: #5D7A8C !important;
    border-radius: 1em;
}

.btns-header {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 24px 10px 24px 10px;

}

.tamanho-input {
    height: 25px;
}

.ms-6 {
    margin-left: 4.2em;
}



.colorFundoWhite {
    background-color: #ffffff !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: left !important;
    margin-bottom: 0.1rem !important;
}


/* .containerPai{
    height: calc(100vh - 4em); 
    max-height: calc(100vh - 4em); 
    overflow-x: auto !important;
} */

.panelBack {
    padding: 0 1vdw;
}



/* .table-responsive thead th { 
    top: 0;
    z-index: 1; 
} */

/* .table-responsive tfoot th { 
    bottom: -3px;
    z-index: 1; 
} */

.form-control {
    min-height: calc(1.5em + (0.5rem + 2px));
    padding: 0.25rem 0.5rem !important;
    font-size: .875rem !important;
    border-radius: 0.2rem !important;
}

.select2-container {
    border-radius: 5px !important;
    font-size: .875rem !important;
}

.select2 {
    width: 100% !important;
}

/* .select2-selection--single{
    background: transparent !important;
} */

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    /* background-color: rgba(90, 178, 173, 1) !important; */
    background-color: rgba(110, 52, 191, 0.13) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(110, 52, 191, 0.13) !important;
}

.select2-container--default .select2-selection--multiple {
    color: #000 !important;
    font-weight: 700;
}

.form-control::placeholder {
    color: #5D7A8C;
    font-family: 'Epilogue';
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.btn-amarelo {
    color: #FFF;
    font-weight: bold;
    background-color: #d8db25;
    border-color: #d8db25;
    border-radius: 5px !important;
    padding: 8px 10px;
    gap: 5px;
    min-width: 10dvw;
    justify-content: space-between !important;
}

.btn-azul {
    color: #FFF !important;
    font-weight: bold;
    background-color: #4c05c5;
    border-radius: 5px !important;
    padding: 8px 10px;
    gap: 5px;
    min-width: 10dvw;
    justify-content: space-between !important;
}


.btn-vende {
    color: #FFF;
    font-weight: bold;
    /* background-color: #5AB2AD;
    border-color: #5AB2AD; */
    background-color: rgba(110, 52, 191, 0.13);
    border-color: rgba(110, 52, 191, 0.13);
    border-radius: 5px !important;
    padding: 8px 10px;
    gap: 5px;
    min-width: 10dvw;
    justify-content: space-between !important;
}

.btn-verde {
    color: #FFF;
    font-weight: bold;
    /* background-color: #5AB2AD;
    border-color: #5AB2AD; */
    background-color: rgba(110, 52, 191, 0.13);
    border-color: rgba(110, 52, 191, 0.13);
    border-radius: 5px !important;
    padding: 8px 10px;
    gap: 5px;
    min-width: 10dvw;
    justify-content: space-between !important;
}

.btn-vermelho {
    color: #FFF;
    font-weight: bold;
    background-color: #f55d53;
    border-color: #f55d53;
    border-radius: 5px !important;
    padding: 8px 10px;
    gap: 5px;
    min-width: 10dvw;
    justify-content: space-between !important;
}

.btn-table {
    color: #FFF;
    font-weight: bold;
    border-color: #FFF;
    border-radius: 5px !important;
    padding: 6px 10px;
    gap: 5px;
}

.btn-table:hover {
    color: #5D7A8C;
    background-color: #FFF;
}

.btn-acoes {
    color: #5D7A8C;
    border-radius: 5px;
    border: 2px solid;
}


/* tbody, td, tfoot, th, thead, tr {
    border-style: none !important;
} */

/* td:first-child {
border-left: 1px solid #5D7A8C;
}

td:last-child {
border-right: 1px solid #5D7A8C;
}

tr:first-child td {
border-top: 1px solid #5D7A8C;
}

tr:last-child td {
border-bottom: 1px solid #5D7A8C;
} */

.dropdown-menu {
    min-width: 15rem !important;
}

.fontLogin {
    font-family: 'Epilogue';
    font-size: 36px;
    font-weight: 700;
    line-height: 37px;
    letter-spacing: 0em;
    text-align: left;
}

.fontMenu {
    font-family: 'Epilogue';
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(93, 122, 140, 1);
    cursor: pointer;
}

.fontBtnMenu {
    font-family: 'Epilogue';
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0em;
}

.fontForm {
    font-family: 'Epilogue';
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(93, 122, 140, 1);
}

.btnLilais:hover,
.btnLilais:focus {
    color: rgba(110, 52, 191, 0.13) !important;
    cursor: pointer;
    font-weight: bolder !important;
    box-shadow: 0 0 0 0 !important;
}

.btnLilais.active {
    background-color: rgba(110, 52, 191, 0.13) !important;
    color: #FFF;
    cursor: pointer;
    font-weight: bolder !important;
    box-shadow: 0 0 0 0 !important;
    border-radius: 5px;
}

.btnLilais.active:hover,
.btnLilais.active:focus {
    color: #FFF;
}

.centerImgBottom {
    bottom: -10px;
    left: 35%;
    position: absolute;
}

.fontHome {
    font-family: 'Epilogue';
    font-size: 4dvw;
    font-weight: 700;
    letter-spacing: 0em;
    text-align: left;
    bottom: 45%;
    position: absolute;
    left: 38.5%;
    color: rgba(93, 122, 140, 1);
    z-index: 1;
}

.img-fluid2 {
    max-width: 100%;
    height: 65% !important;
}

.list-group-item>a {
    text-decoration: none;
    color: rgba(93, 122, 140, 1);
    font-family: 'Epilogue';
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0em;
    text-align: left;
}

ul.menuLateral li a {
    display: inline-block;
    cursor: pointer;
    width: 100%;
    height: 100%;
    gap: 5px !important;
}

ul.menuLateral li a:hover,
div.list-group a:hover {
    color: rgba(90, 178, 173, 1) !important;
}

ul.menuLateral li.active {
    /* background-color: rgba(90, 178, 173, 1) !important; */
    background-color: rgba(110, 52, 191, 0.13) !important;
    border-radius: 5px;
}

ul.menuLateral li.active a,
ul.menuLateral li.active a:hover {
    color: rgba(242, 247, 250, 1) !important;
}

ul.menuLateral li .accordion-button:not(.collapsed),
ul.menuLateral li .accordion-button {
    color: rgba(93, 122, 140, 1);
    box-shadow: none;
    background-color: transparent !important;
}

ul.menuLateral li a.accordion-button {
    display: inherit;
}

a button.btn-acoes {
    margin-left: 5px !important;
}

.form-control {
    min-height: 0px;
}

.btn-pesquisar {
    background-color: #E6ECF1;
    color: #5D7A8C;
}

.btn-pesquisar-btn {
    background-color: rgba(110, 52, 191, 0.13) !important;
    color: #fff;
}

.btn-pesquisar-btn1 {
    background-color: rgba(110, 52, 191, 0.13) !important;
    color: #fff;
}
.fullPage {
    height: 100dvh;
}

.img-fullPage {
    max-width: 100%;
    height: 100%;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    padding-right: var(--bs-gutter-x, .75rem) !important;
    padding-left: var(--bs-gutter-x, .75rem) !important;
}


.was-validated .form-control:invalid, .filter-input:invalid {
    animation: go-back 0.7s ease;
}

.was-validated .form-control:valid, .filter-input:valid {
    animation: go-back 0.7s ease;
}

.form-control.is-invalid,
.was-validated .form-control:invalid, .filter-input.is-invalid,  .filter-input:invalid {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

.was-validated select.form-control:invalid+.select2 .select2-selection, select.filter-input:invalid+.select2 {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated select.form-control:valid+.select2 .select2-selection, select.filter-input:valid+.select2 {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated input.form-control:valid, input.filter-input:valid {
    border-color: #28a745 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.paginacao .active .btnPagination {
    background-color: rgba(110, 52, 191, 0.13) !important;
    color: #FFF;
}

.overxauto {
    overflow-x: auto !important;
}

.overyauto {
    overflow-y: auto !important;
}

.nowrap {
    white-space: nowrap;
}


.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #d0d0d0;
    font-size: 11px;
}

.ui-menu li {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.ui-menu li:hover {
    background-color: #f0f0f0;
}

.ui-widget {
    font-family: Arial, sans-serif;
}

.ui-autocomplete {
    position: absolute;
    z-index: 999999999;
    overflow: auto;
    max-height: 43vh;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background-color: rgba(110, 52, 191, 0.13) !important;
}

.fc .fc-button-primary {
    background-color: #fff !important;
}

.swal2-styled.swal2-confirm {
    color: #fff !important;
}

.btn-outline-primary {
    /* color: #0d6efd; */
    border-color: rgba(110, 52, 191, 0.13) !important;
}

.btn-check:active+.btn-outline-primary,
.btn-check:checked+.btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show,
.btn-outline-primary:active {
    background-color: rgba(110, 52, 191, 0.13) !important;
}

.btn-outline-primary:hover {
    background-color: rgba(110, 52, 191, 0.13) !important;
}

.btn-check:focus+.btn-outline-primary,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(110, 52, 191, 0.13) !important;
}

.btn-outline-dark:hover {
    background-color: rgba(110, 52, 191, 0.13) !important;
    border-color: rgba(110, 52, 191, 0.13) !important;
}

ul.menuLateral li a:hover,
div.list-group a:hover {
    background-color: rgba(110, 52, 191, 0.13) !important;
    color: #000 !important;
}

.btn-outline-secondary:hover {
    background-color: #bb8ec1 !important;
}

.btnmin8:hover {
    background-color: #FFF !important;
}


/* Posição da Modal Dialog */
.modal.modal-left .modal-dialog {
    position: fixed;
    left: 0;
    margin: 0;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.modal.modal-right .modal-dialog {
    position: fixed;
    right: 0;
    margin: 0;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

/* Mostrar a modal com animação */
.modal.show.modal-left .modal-dialog {
    transform: translateX(0);
}

.modal.show.modal-right .modal-dialog {
    transform: translateX(0);
}

/* Ajustes adicionais */
.modal-dialog-slide {
    min-width: 25dvw;
    height: 100%;
}



.modal-content {
    /* min-height: 50vh; */
    border: none;
}



.modal-dialog-slide .modal-content {
    height: 100%;
}

.modal.modal-right .modal-dialog .modal-content {
    border-top-left-radius: 2.5dvw !important;
    border-bottom-left-radius: 2.5dvw !important;
}

.modal.modal-left .modal-dialog .modal-content {
    border-top-right-radius: 2.5dvw !important;
    border-bottom-right-radius: 2.5dvw !important;
}

.w100 {
    width: 100% !important;
}

.btnAcao {
    margin-bottom: 1dvh;
}


.mui-outlined {
    position: relative;
    /* margin: 2rem 0; */
    font-family: Arial, sans-serif;
}




.mui-outlined input,
.mui-outlined select,
.mui-outlined textarea {
    width: 100%;
    padding: 1.2rem 0.75rem 0.5rem !important;
    font-size: 1rem;
    border: 2px solid #e9ecef !important;
    border-radius: 8px;
    outline: none;
    background: none;
    position: relative;
    transition: all 0.3s;
}

.mui-outlined input .select2-selection--multiple {
    padding: 0 !important;
}

.select2-dropdown {
    z-index: 1061 !important;
}

.mui-outlined select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.mui-outlined fieldset {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 4px;
    border: 1px solid #c4c4c4;
    padding: 0 8px;
    transition: border-color 0.3s ease;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.mui-outlined.focused fieldset {
    border-color: #3f51b5;
}

.mui-outlined legend {
    font-size: 0.75rem;
    padding: 0 4px;
    height: 11px;
    display: inline-block;
    visibility: hidden;
    max-width: 0.01px;
    transition: max-width 0.2s ease;
}

.mui-outlined.focused legend,
.mui-outlined.filled legend {
    max-width: 1000px;
    visibility: visible;
    font-weight: bold;
}

.mui-outlined label {
    position: absolute;
    top: 1rem;
    left: 0.75rem;
    /* background: none; */
    padding: 0 4px;
    color: #757575;
    transition: 0.2s ease all;
    pointer-events: none;
}

.mui-outlined.focused label,
.mui-outlined.filled label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: #3f51b5;
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 6.6dvh !important;
    font-size: 17px;
    border-radius: 16px !important;
}

.select2-container .select2-selection--single {
    height: 6.9vh !important;
}

.mui-outlined {
    margin-bottom: 1rem;
}

/*-----------------------------------------------------------------------------------------------------------------   */
/*LAYOUT NOVO CSS*/
/*TABELA DATATABLE */


:root {
    --primary-color: #007bff;
    --background-light: #f8f9fa;
    --border-color: #e9ecef;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

.panelBack {
    background: var(--background-light);
    padding: 2rem !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

#searchInput {
    border: 2px solid var(--border-color);
    border-radius: 15px !important;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    background: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

#searchInput:focus {
    border-color: rgba(110, 52, 191, 0.13) !important;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

.btnDatatable-Icon {
    background: transparent;
    border: none;
    color: black;
    border-radius: 10px;

    font-size: 20px;
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.btnDatatable-Icon {
    transition: transform 0.3s ease;
}

.btnDatatable-Icon:hover {
    color: white;
    transform: scale(1.1);
}

#gees-datatable {
    --primary-color: #6e3aff;
    --hover-color: rgba(110, 58, 255, 0.08);
    --border-color: #e9ecef;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 0px !important;
    margin-bottom: 0px !important;

    
}

/* Cabeçalho da Tabela */
#gees-datatable thead th {
    background: linear-gradient(145deg, #f9f5ff 0%, #f3e8ff 100%) !important;
    color: #54289f !important;
    font-weight: 600;
    padding: 1.25rem;
    border: none !important;
    position: relative;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Linhas da Tabela */
#gees-datatable tbody td {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#gees-datatable tbody tr:hover td {
    background-color: rgba(110, 52, 191, 0.13) !important;
    transform: translateX(2px);
}


/* Células da Tabela */
#gees-datatable tbody td {
    padding: 1rem;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-dark);
    font-size: 0.9375rem;
    vertical-align: middle;
    transition: var(--transition);
}

/* Ações - Botões */
.table-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: var(--transition);
    cursor: pointer;
}

.btn-action:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(110, 58, 255, 0.2);
}

/* Efeito de loading */
@keyframes shimmer {
    0% {
        background-position: -1000px 0
    }

    100% {
        background-position: 1000px 0
    }
}

.loading-row td {
    background: linear-gradient(to right, #f6f7f8 8%, #e9ebee 18%, #f6f7f8 33%);
    background-size: 1000px 104px;
    animation: shimmer 1.5s infinite linear;
    height: 60px;
}

/* Scroll personalizado */
.scrollable-content::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Efeito de borda na tabela */
#gees-datatable:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}


/* Responsividade */
@media (max-width: 768px) {
    #gees-datatable thead th {
        padding: 0.75rem;
        font-size: 0.75rem;
    }

    #gees-datatable tbody td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .btn-action {
        width: 32px;
        height: 32px;
    }
}

/* Efeito de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#gees-datatable tbody tr {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.dataTables_filter {
    display: none;
}


.buttons-csv,
.buttons-excel,
.buttons-pdf,
.buttons-colvis {
    display: none;
}
.header-seacher {
    position: sticky; /* Fixa o header ao topo ao rolar */
    top: 0;
    width: 100%;
    z-index: 1001; /* Acima do menu-lateral */
    background-color: #fff;
    padding: 10px;
}


.dropdown-menu {
    padding: 16px 24px !important;
    border-radius: 12px !important;
    font-size: 16px;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b !important;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: space-between;

}


.dropdown-menu.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: -1;
}

.dropdown-menu:hover {
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Ícone de seta moderno */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
    content: "";
    border: none;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.dropdown-toggle.show::after {
    transform: rotate(-135deg);
    margin-top: -4px;
}

/* Itens do menu */
.dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0;
    transition: all 0.2s ease;
    color: #475569;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
    transform: translateX(2px);
}

.dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 8px 0;
    position: relative;
}

.dropdown-divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

#gees-datatable thead th {
    background: white !important;
    height: 20px;
    color: var(--text-light);
    font-weight: 700;
    padding: 1.25rem;
    border-radius: 0px !important;
    border-bottom: 2px solid var(--border-color);
}

#gees-datatable tbody td {
    border: #5b626b 1px solid;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.table-header-container {
    padding: 0.7rem;
    background: #ffffff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.table-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 28px;
    background: white;
    border-radius: 2px;
}

#bi {
    font-size: 20px;
    vertical-align: middle;
}

.search-box-custom {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    background: #f8f9fa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

@media (max-width: 768px) {
    .table-title {
        font-size: 1.5rem;
    }

    .search-box-custom {
        width: 100%;
    }
}


/* Título */
.table-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 28px;
    background: white;
    border-radius: 2px;
}

/* Campo de Pesquisa */
.form-control {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.25rem !important;
}

.form-control:focus {
    outline: none !important;
}




.btn-actions:hover {
    transform: translateY(-1px);
}

.btn-actions:hover i {
    transform: scale(1.1);
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------*/
.menu-lateral.collapsed .bi{
    padding-right: 25px !important;
}

/*RESPONSIVIDADE */

/* Novos estilos para responsividade */
@media (max-width: 992px) {
    .row.h-100 {
        position: relative;
    }

    .col-auto.position-sticky {
        position: fixed !important;
        left: -300px;
        top: 0;
        height: 100vh;
        width: 300px !important;
        transition: all 0.3s ease;
        z-index: 1100;
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .col-auto.position-sticky.mobile-menu-active {
        left: 0;
    }

    .col.p-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100%;
    }

    

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1090;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .mobile-menu-active+.menu-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* Esconde o toggle em telas grandes */
.menu-toggle {
    display: none;
}

/* Ajustes adicionais para telas pequenas */
@media (max-width: 768px) {
    .table-header-container .row>div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100%;
    }

    .table-title {
        font-size: 1.25rem !important;
        margin-bottom: 1rem;
    }

    .search-box-custom {
        max-width: 100% !important;
        margin-bottom: 1rem;
    }

    #btnButtonsDatatable {
        text-align: left !important;
        margin-top: 1rem;
    }

    .panelBack {
        padding: 1rem !important;
    }

    #gees-datatable thead th,
    #gees-datatable tbody td {
        padding: 0.5rem !important;
        font-size: 0.8rem !important;
    }

    .btn-action {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    .table-title {
        font-size: 1.1rem !important;
    }

    .btnDatatable-Icon {
        padding: 0.5rem !important;
        font-size: 16px !important;
    }

    .filter-footer {
        flex-direction: column;
        gap: 10px;
    }

    .btn-clear,
    .btn-apply {
        width: 100%;
    }

    .modal-acoes-paciente {
        width: 100%;
    }
}

.scrol {
    overflow-x: none !important;
    -webkit-overflow-scrolling: touch
}


/* Responsividade */
@media (max-width: 768px) {
    .table-header-container .row>div {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100%;
    }

    .table-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .search-box-custom {
        margin-bottom: 1rem;
    }
}

table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
    font-size: 1.6rem;
    margin-left: 20px;
}

table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
    font-size: 1.6rem;
    margin-left: 20px;
}



/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*CSS MODAIS e MENU LATERAL e HEADER */
/* Estilos gerais da modal */
.filter-modal {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100vh;
    z-index: 10000;
    /* Garante que a modal fique acima de tudo */
}

.filter-header {
    background: #54289f;
    color: white !important;
    border-bottom: none;
    padding: 1.2rem;
}

.filter-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
    overflow-y: auto;
}

.filter-footer {
    background-color: white;
    border-top: 1px solid #e9ecef;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

/* Estilo do campo de busca global */
.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.acoes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #6c757d;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.acoes1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #6c757d;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.acoes-credito {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #6c757d;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}
.acao-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #6c757d;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}


.acoes:hover {

    color: #fff;
    /* Cor branca para maior contraste */
    background-color: rgb(175, 155, 211) !important;
    box-shadow: 0 4px 12px rgba(253, 252, 255, 0.3);
    /* Sombra mais pronunciada */
}
.acoes1:hover {

    color: #fff;
    /* Cor branca para maior contraste */
    background-color: rgb(175, 155, 211) !important;
    box-shadow: 0 4px 12px rgba(253, 252, 255, 0.3);
    /* Sombra mais pronunciada */
}
.acoes-credito:hover {

    color: #fff;
    /* Cor branca para maior contraste */
    background-color: rgb(175, 155, 211) !important;
    box-shadow: 0 4px 12px rgba(253, 252, 255, 0.3);
    /* Sombra mais pronunciada */
}
.acao-item:hover {

    color: #fff;
    /* Cor branca para maior contraste */
    background-color: rgb(175, 155, 211) !important;
    box-shadow: 0 4px 12px rgba(253, 252, 255, 0.3);
    /* Sombra mais pronunciada */
}

.text-cor {
    background-color: #4c05c587;
    color: #4c05c587;
}


/* Efeito de onda ao clicar */
.acoes:active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: ripple 0.6s linear;
    border-radius: 50%;
}
.acao-item:active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: ripple 0.6s linear;
    border-radius: 50%;
}


.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.global-search {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: white;
}

.global-search:focus {
    border-color: #4c05c587;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

/* Estilo dos itens de filtro */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-item {
    position: relative;
}


.filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.filter-label i {
    margin-right: 8px;
    color: #4361ee;
}

/* Efeitos nos inputs */
.input-effect {
    position: relative;
}

.filter-input {
    width: 100%;
    padding: 13.5px !important;
    background-color: white; /* Removido o !important */

    border: 2px solid #e9ecef;
    border-radius: 8px !important;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.filter-input:focus {
    border-color: #4c05c587;
    outline: none;
}

select.filter-input[multiple] {
    width: 100%;
    padding: 16px !important;
    border: 2px solid #e9ecef;
    border-radius: 8px !important;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    z-index: 9999;
    background-color: #fff;
    box-sizing: border-box;
    min-height: 44px;
}
select.filter-input{
    background-color: white !important;
    padding: 16px !important;

}

/* Estilo ao focar */
select.filter-input[multiple]:focus {
    border-color: #4c05c587;
    outline: none;
}
input.filter-input:read-only {
    background-color: #f5f5f5 !important; /* Esse sim pode ter !important */
    color: #666;
    cursor: not-allowed;
    border: 1px solid #ccc;
}
select.filter-input:disabled {
    background-color: #f5f5f5 !important;
    color: #666;
    cursor: not-allowed;
    border: 1px solid #ccc;
}
.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4c05c587;
    transition: 0.4s;
}

.filter-input:focus~.focus-border {
    width: 100%;
    transition: 0.4s;
}

/* Estilo dos botões */
.btn-clear {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
    gap: 5px;
}

.btn-clear:hover {
    background-color: #e9ecef;
    color: #495057;
}

.btn-apply {
    background: #54289f;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
    gap: 5px;
}

.btn-apply:hover {
    background: #54289f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.btn-deny {
    background: #f55d53;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
    gap: 5px;
}

.btn-deny:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-secundario {
    background: #d1d0d0;  /* Cinza mais perceptível em fundo branco */
    color: #212529;
    border: 1px solid #d3d3d3;  /* Borda mais visível */
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
    gap: 5px;
}

.btn-secundario:hover {
    background: #e2e2e2;  /* Cinza mais escuro no hover */
    color: #1a1a1a;
    border-color: #b0b0b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* Sombra mais neutra */
}

/* Atualização da responsividade */
@media (max-width: 576px) {
    .filter-footer {
        flex-direction: column;
        gap: 10px;
    }

    .btn-clear,
    .btn-apply,
    .btn-deny,
    .btn-secundario {
        width: 100%;
    }
}


.sidebar {
    background-color: #ffffff;
    min-height: 100vh;
    width: 250px;
    /* Menu aberto */

    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.sidebar:hover {
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #4a4a4a;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.hideFont {
    font-size: 16px;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #4c05c587;
    transition: all var(--transition-speed) ease;
    opacity: 0;
}


.nav-link:hover::before {
    left: 0;
    opacity: 1;
}



.nav-link i {
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: transform var(--transition-speed);
}

.nav-link:hover i {
    transform: scale(1.1);
}

.accordion-button {
    transition: all var(--transition-speed) ease;
}

.accordion-button::after {
    transition: transform var(--transition-speed) ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.menu-colapsado .profile-section {
    display: none;
}

.hideFont {
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.apa-red {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.bi-arrow-left-circle-fill,
.bi-arrow-right-circle-fill {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bi-arrow-left-circle-fill:hover,
.bi-arrow-right-circle-fill:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

ul.menuLateral li a:hover,
div.list-group a:hover {
    background-color: transparent !important;
}



.menuLateral a {
    text-decoration: none;
    position: relative;
}

.ul.menuLateral li a {
    padding: 0px !important;
    width: 0px !important;
}

.fs-7 {
    font-size: 0.9rem;
}


.profile-section {
    background-color: #ffffff;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.profile-image-wrapper {
    display: inline-block;
    transition: transform 0.3s ease;
}

.profile-image {
    width: 100px;
    height: 90px;
    border-radius: 10%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 2px 5px 10px 5px rgba(0, 0, 0, 0.1);
}

.profile-image-wrapper:hover .profile-image {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-info {
    margin-top: 0.5rem;
}

.profile-name {
    display: inline-block;
    max-width: 200px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: center;
    position: relative;
}

.profile-name::after {
    content: "\A";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.profile-name:hover {
    color: #bb8ec1;
}

.profile-role {
    font-size: 0.9rem;
    color: #777;
    transition: color 0.3s ease;
}

.profile-role:hover {
    color: #bb8ec1;
}

.list-group-item {
    border: none !important;
}


.form-control:focus {
    background-color: transparent !important;
}

.search-box-custom:focus {
    background-color: #fff !important;
}



.dark {
    --bg-color: #1a1a1a;
    --text-color: #f8f9fa;
    --shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1);
}



.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(110, 52, 191, 0.13) !important;
    cursor: pointer;
    border-radius: 10px;
    font-weight: bolder !important;
    box-shadow: 0 0 0 0 !important;
}

.btn-perfil {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50px;
    /* Mantém o botão arredondado */
    padding: 8px 12px;
}

.btn-perfil:hover {
    background-color: rgba(110, 52, 191, 0.13) !important;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-pesquisar {
    background: transparent;
    border: none;
    color: var(--text-color);
    border-radius: 8px;
    transition: var(--transition);
}

.btn-pesquisar:hover {
    background: rgba(var(--primary-color), 0.1);
    border-radius: 16px !important;
}

.input-pesquisa {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px !important;
    transition: var(--transition);
}

.dark .input-pesquisa {
    background: rgba(255, 255, 255, 0.05);
}

.input-pesquisa input {
    background: transparent;
    border: none;
    color: var(--text-color);
}

.input-pesquisa input::placeholder {
    color: rgba(var(--text-color), 0.7);
}

.btn-pesquisar-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    transition: var(--transition);
}

.btn-pesquisar-btn:hover {
    background: var(--hover-color);
    transform: translateY(-1px);
}

.btn-pesquisar-btn1 {
    background: var(--primary-color);
    color: white;
    border: none;
    transition: var(--transition);
}

.btn-pesquisar-btn1:hover {
    background: var(--hover-color);
    transform: translateY(-1px);
}

.dropdown-menu {
    background: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
}

.dark .dropdown-menu {
    border-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    z-index: 99999;
    padding: 12px 16px !important;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(var(--primary-color), 0.1);
    color: var(--primary-color);
}

/* Ícones */
.bi {
    font-size: 1.0rem;
    vertical-align: middle;
}

/* Tema switcher */
.btn-theme-switcher {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Animação da barra de pesquisa */
.botao-pesquisa-max {
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .botao-pesquisa-max {
        width: 60% !important;
    }

    .header-central {
        gap: 8px !important;
    }
}




.notification-menu {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    transform-origin: top right;
    animation: scaleIn 0.2s ease-out;
}

.dark .notification-menu {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #bb8ec1;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.notification-item {
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.notification-item:hover {
    background-color: rgba(110, 52, 191, 0.13);
    border-left: 3px solid #bb8ec1;
}

.notification-item.unread {
    background-color: rgba(110, 52, 191, 0.13);
}

.notification-time {
    font-size: 0.75rem;
    color: #6c757d;
}

.dark .notification-time {
    color: #adb5bd;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6rem;
    padding: 3px 6px;
}

.dropdown-header h6 {
    font-weight: 600;
}

.dropdown-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .dropdown-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/*---------------------------------------------------------------------------------------------------------------------------------------------*/



/* ESTILO MODAL DE SUCESSO */
#modalSucesso .modal-content, #modalMessage .modal-content{
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#modalSucesso .modal-content:hover, #modalMessage .modal-content:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(76, 5, 197, 0.25) !important;
}

#modalSucesso .success-icon-container, #modalMessage .success-icon-container{
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#modalSucesso .success-icon-container i, #modalMessage .success-icon-container i{
    color: white;
    font-size: 1.2rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

#modalSucesso .success-animation-container, #modalMessage .success-animation-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

#modalSucesso .success-animation, #modalMessage .success-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

#modalSucesso .checkmark, #modalMessage .checkmark {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #4c05c5;
    stroke-miterlimit: 10;
    box-shadow: 0 0 0 rgba(76, 5, 197, 0.1);
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

#modalSucesso .checkmark__circle, #modalMessage .checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #4c05c5;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

#modalSucesso .checkmark__check, #modalMessage .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Efeito de partículas */
.success-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background-color: rgba(76, 5, 197, 0.6);
    border-radius: 50%;
    animation: particle-animation 1.5s ease-out forwards;
}

@keyframes particle-animation {
    0% {
        transform: translate(0, 0);
        opacity: 1;
        width: 6px;
        height: 6px;
    }

    100% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
        width: 2px;
        height: 2px;
    }
}

/* Botão com efeito glow */
.btn-glow {
    transition: all 0.3s ease;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #4c05c5 0%, #6a11cb 100%);
    z-index: -1;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animações */
@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0 0 0 100px rgba(76, 5, 197, 0.05);
    }
}

/* Efeito quando a modal é exibida */
@keyframes modalEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal.show .modal-dialog {
    animation: modalEntrance 0.4s ease-out forwards;
}

/* NAVBAR */



.hideFont1 {
    display: none;
    font-size: 16px !important;

}
.hideFont {
    font-size: 16px !important;
}


/* Mostra o texto do menu apenas em telas menores que 992px */

/* .menu-principal {
    transition: all 0.3s ease;
    padding: 20px;
} */

.menu-principal {
    display: none; /* Escondido por padrão */
    z-index: 99999;
}

/* Quando estiver ativo */
.menu-principal.active {
    display: block;
}

/* Telas pequenas: até 991px */
@media (max-width: 991px) {
    .menu-mobile-toggle {
        order: 2;
        display: block;
    }

    .menu-principal {
        position: fixed; /* FIXO em telas grandes */
        margin-top: 2rem !important; /* Em vez de top com position fixed */
        border-radius: 15px;
        display: none !important;

    }

    .menu-principal.active {
        right: auto; /* Sem animação de entrada lateral */
    }

    .menu-principal .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
    }

    .hideFont1 {
        display: inline !important;
    }

    .menu-principal .dropdown-menu.show {
        background: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }


    .fontBtnMenu {
        color: #4a4a4a !important;
        margin: 0.25rem 0 !important;
        display: flex !important;
        align-items: center !important;
        background: white !important;
        margin-left: 2rem !important;
        border: 0px solid rgba(0, 0, 0, 0.05) !important;
        padding: 12px !important;
        margin: auto !important;
        transition: all var(--transition-speed) ease !important;
        position: relative !important;
        justify-content: center !important;

        overflow: hidden !important;
    }
    /* width: 100%;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease;
    color: #2d3436 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between; */
 
    
    .fontBtnMenu::before {
        content: '' !important;
        position: absolute !important;
        left: -10px !important;
        top: 0 !important;
        height: 100% !important;
        width: 3px !important;
        background-color: #4c05c587 !important ;
        transition: all var(--transition-speed) ease !important;
        opacity: 0 !important;
    }
    
    
    .fontBtnMenu:hover::before {
        left: 0 !important;
        opacity: 1 !important;
    }
    
    
    
    .fontBtnMenu i {
        font-size: 1.25rem !important;
        margin-right: 1rem !important;
        transition: transform var(--transition-speed ) !important;
    }
    
    .fontBtnMenu:hover i {
        transform: scale(1.1) !important;
    }
    
}

/* Telas grandes: a partir de 992px */


.dropdown-menu {
    padding: 16px 24px !important;
    border-radius: 12px !important;
    font-size: 16px;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b !important;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: space-between;
    z-index: 9999999 !important;

}

.dropdown-item {
    padding: 0;
    margin: 2px 0;
}

/* Botões do Submenu */
.fontBtnMenu {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    color: #2d3436 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.fontBtnMenu:hover {
    transform: translateX(4px);
    background: rgba(110, 52, 191, 0.13) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef !important;
    color: #000 !important;
    /* Forçando preto puro */
}

/* Adicionar regra específica para o texto */
.fontBtnMenu:hover label {
    color: #000 !important;
}

/* Corrigir ícones */
.fontBtnMenu:hover i {
    color: #000 !important;
    transform: scale(1.1);
}

.fontBtnMenu i {
    color: #6c757d;
    font-size: 1.1em;
    transition: transform 0.2s ease;
}

.fontBtnMenu:hover i {
    color: #2d3436;
    transform: scale(1.1);
}

/* Menu Principal Hover Effects */
.btnLilais:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ícones do Menu Principal */
.btnLilais i {
    transition: transform 0.2s ease;
}

.btnLilais:hover i {
    transform: scale(1.1);
}




@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorias para Mobile */
@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(248, 249, 250, 0.95);
    }

    .fontBtnMenu {
        padding: 10px 14px !important;
    }
}

@media (min-width: 992px) {
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        left: 0;
        top: 100%;
        margin-top: 0.5rem !important;
        transform-origin: top center;
    }

    .dropdown-menu-end {
        right: 0;
        left: auto;
    }
}

/* Destaque para Item Ativo */
.fontBtnMenu.active {
    background: linear-gradient(135deg, rgba(110, 52, 191, 0.1) 0%, rgba(187, 142, 193, 0.1) 100%) !important;
    border: 1px solid rgba(110, 52, 191, 0.3) !important;
    color: #6e34bf !important;
    font-weight: 500;
}

.fontBtnMenu.active i {
    color: #bb8ec1 !important;
}

/* ESTILIZAÇÃO BOTAO ACOES */
.sidebar-details {
    border-radius: 12px 0 0 12px;
    border: none;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    height: 100vh;
    transition: transform 0.3s ease-out;
}

.sidebar-header {
    background: #4c05c5;
    color: white;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
    position: relative;
}

.sidebar-header .title-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sidebar-header .badge {
    font-weight: 400;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.sidebar-body {
    padding: 1.5rem;
    background-color: #f8fafc;
    overflow-y: auto;
}

.sidebar-footer {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem;
    display: block;
}

/* Estilos do conteúdo */


.info-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.info-label i {
    margin-right: 8px;
    color: #4c05c5;
    width: 20px;
    text-align: center;
}

.info-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Estilos dos botões de ação */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.actions-grid .full-width {
    grid-column: span 2;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    border-radius: 8px;
    background: white;
    border: 1px solid #e9ecef;
    color: #495057;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
}

.action-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #4c05c5;
    transition: all 0.3s ease;
}

.action-btn span {
    font-size: 0.85rem;
    font-weight: 500;
}

.action-btn:hover {
    background: #4c05c5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(76, 5, 197, 0.2);
    border-color: #4c05c5;
}

.action-btn:hover i {
    color: white;
    transform: scale(1.1);
}

/* Efeito de loading */

.info-loading p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Animação de entrada */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.modal-right.show .modal-dialog {
    animation: slideInRight 0.3s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
    /* Estilos dos botões de ação */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

}


/* CASO HAJA OUTRA TABELA NA VIEW, UTILIZE ESSAS CLASSES */


.gees-datatable {
    --primary-color: #6e3aff;
    --hover-color: rgba(110, 58, 255, 0.08);
    --border-color: #e9ecef;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/* Cabeçalho da Tabela */
.gees-datatable thead th {
    background: linear-gradient(145deg, #f9f5ff 0%, #f3e8ff 100%) !important;
    color: #54289f !important;
    font-weight: 600;
    padding: 1.25rem;
    border: none !important;
    position: relative;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Linhas da Tabela */
.gees-datatable tbody td {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.gees-datatable tbody tr:hover td {
    background-color: rgba(110, 52, 191, 0.13) !important;
    transform: translateX(2px);
}


/* Células da Tabela */
.gees-datatable tbody td {
    padding: 1rem;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-dark);
    font-size: 0.9375rem;
    vertical-align: middle;
    transition: var(--transition);
}

.gees-datatable thead th {
    background: white !important;
    height: 20px;
    color: var(--text-light);
    font-weight: 700;
    padding: 1.25rem;
    border-radius: 0px !important;
    border-bottom: 2px solid var(--border-color);
}

.gees-datatable tbody td {
    border: #5b626b 1px solid;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}


/* Efeito de borda na tabela */
.gees-datatable:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}


/* Responsividade */
@media (max-width: 768px) {
    .gees-datatable thead th {
        padding: 0.75rem;
        font-size: 0.75rem;
    }

    .gees-datatable tbody td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .btn-action {
        width: 32px;
        height: 32px;
    }
}

/* Efeito de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gees-datatable tbody tr {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.img-fluid-2 {
    width: 100%;
    height: 80dvh;
}

.filter-modal {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Estilos gerais para o Select2 múltiplo */
.select2-container--default .select2-selection--multiple {
    min-height: 48px !important;
    height: auto !important;
    padding: 4px 12px !important;
    border: 1px solid #e9ecef !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    background-color: #fff !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px !important;
}

/* Estado de foco */
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15) !important;
    outline: 0 !important;
}

/* Itens selecionados */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e9ecef !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 20px !important;
    color: #2d3436 !important;
    padding: 6px 28px 6px 12px !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* Ajustes para Select2 múltiplo com quebra de linha */
.select2-container--default .select2-selection--multiple {
    min-height: 38px !important;
    height: auto !important;
    max-height: 150px !important;
    overflow-y: auto !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 3px 3px 3px 0 !important;
    flex-shrink: 0 !important;
}

/* 1. Aplica apenas a checkboxes com a classe custom-checkbox */
input[type="checkbox"].custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #8b8c89;
    border-radius: 5px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

/* 2. Estados quando checked */
input[type="checkbox"].custom-checkbox:checked {
    border-color: #274c77;
    background-color: #274c77;
    animation: checkAnim 0.3s ease;
}

/* 3. Ícone de check */
input[type="checkbox"].custom-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 8px;
    border: 2px solid #ffffff;
    border-top: none;
    border-right: none;
    transform: translate(-50%, -60%) rotate(-45deg);
    opacity: 0;
    animation: checkFadeIn 0.2s ease forwards;
}

/* 4. Estados interativos */
input[type="checkbox"].custom-checkbox:not(:disabled):hover {
    border-color: #5c7fa4;
    box-shadow: 0 2px 6px rgba(39, 76, 119, 0.15);
}

input[type="checkbox"].custom-checkbox:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 76, 119, 0.3);
    border-color: #274c77;
}

input[type="checkbox"].custom-checkbox:active {
    transform: scale(0.95);
}

/* 5. Estado desabilitado */
input[type="checkbox"].custom-checkbox:disabled {
    border-color: #d3d3d3;
    background-color: #f8f9fa;
    cursor: not-allowed;
}

input[type="checkbox"].custom-checkbox:disabled:checked {
    background-color: #d3d3d3;
}

input[type="checkbox"].custom-checkbox:disabled:checked::after {
    border-color: #f8f9fa;
}

@keyframes checkAnim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes checkFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(-45deg) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(-45deg) scale(1);
    }
}

/* ================================
     Espaçamento em formulários dentro de modais
     ================================ */
.modal-body>.row>.col-12>div:has(#procedimento),
.modal-body>.row>.col-12>div:has(#convenio) {
    margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
    .select2-container--default .select2-selection--single{
        height: 3.65rem !important;
        background-color: #fff;
        border: 1px solid #e9ecef;
        width: auto !important;
        border-radius: 16px;
    }
    
    /* width: auto; */
    .modal-dialog{
        /* position: fixed !important; */
        width: auto !important;
        /* margin:.5rem; */
        pointer-events: none !important;
    }
    .modal-footer {
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .select2-container--default .select2-selection--single{
        height: 3.65rem !important;
        background-color: #fff;
        border: 1px solid #e9ecef;
        width: auto !important;
        border-radius: 16px;
    }
    .modal-dialog{
        /* position: fixed !important; */
        width: auto !important;
        /* margin:.5rem; */
        pointer-events: none !important;
    }

    
    .modal-footer {
        padding: 0 !important;
    }
}
/* ================================
     Inputs e caixas de busca
     ================================ */
.form-control,
.form-select,
.search-box-custom {
    border-radius: 15px !important;
}

.form-control:focus,
.form-select:focus {
    background-color: transparent !important;
    box-shadow: 0 0 0 0.25rem rgba(76, 5, 197, 0.15) !important;
}

.search-box-custom:focus {
    background-color: #fff !important;
}


.modal.show .modal-dialog {
    animation: modalEntrance 0.4s ease-out forwards !important;
}

.modal-header {
    background-color: #54289f !important;
    color: white !important;
}



/* Loading no botão de salvar */
@keyframes spin {
    0% {
        transform: rotate(0deg) !important;
    }

    100% {
        transform: rotate(360deg) !important;
    }
}

.btn-loading .spinner {
    display: inline-block !important;
    width: 1rem !important;
    height: 1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    border-top-color: white !important;
    animation: spin 1s ease-in-out infinite !important;
    margin-right: 8px !important;
}

.btn-loading .text {
    display: inline-block !important;
}

/* Outros ajustes */
fieldset {
    border: none !important;
}

.invalid-feedback {
    color: red !important;
}

.btn-acoes {
    position: relative;
    display: inline-block;
}

.btn-acoes .dropdown-toggle {
    border: none !important;
    background: transparent;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background .2s, box-shadow .2s;
}

.btn-acoes .dropdown-toggle:hover {
    background: rgba(0, 0, 0, .05);
}

.btn-acoes .dropdown-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(110, 52, 191, .25);
}

.btn-acoes .bi-three-dots-vertical {
    font-size: 1.2rem;
    color: #6e34bf;
    transition: transform .2s, color .2s;
}

.btn-acoes .dropdown-toggle:hover .bi-three-dots-vertical {
    color: #5a2b9e;
    transform: scale(1.1);
}

.btn-acoes .dropdown-menu {
    position: absolute;
    z-index: 5000;
    min-width: 200px;
    margin-top: 8px;
    padding: 8px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    overflow: visible !important;
}

.btn-acoes .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: .9rem;
    color: #444;
    position: relative;
    transition: padding .2s, background .2s, color .2s;
}

.btn-acoes .dropdown-item:hover {
    padding-left: 20px;
    background: #f8f5ff;
    color: #6e34bf;
}

.btn-acoes .dropdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #6e34bf;
    opacity: 0;
    transition: opacity .2s;
}

.btn-acoes .dropdown-item:hover::before {
    opacity: 1;
}

.btn-acoes .dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: .95rem;
    color: #6e34bf;
}

/* Mantém o dropdown sempre visível e acima de tudo */
.table-responsive,
.gees-datatable {
    overflow: visible !important;
}

.dropdown-menu {
    position: absolute;
    z-index: 5000;
}

/* Efeitos na datatable */
.gees-datatable tbody tr:hover td {
    background: rgba(110, 52, 191, .13) !important;
    transform: none !important;
}

.gees-datatable tbody tr {
    animation: none !important;
    opacity: 1 !important;
}

/* Modal detalhe */
#DetalheModal {
    max-width: 95% !important;
}


:root {
    --primary-color: #54289f;
    --secondary-color: #54289f;
    --accent-color: #F4F1FA;
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --border-radius: 12px;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.panelBack {
    background: #f8f9fa;
    min-height: calc(100vh - 60px);
}

.form-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.form-header {
    background: #54289f;
    padding: 1.5rem;
    border-bottom: 3px solid #54289f;
}

.form-section {
    padding: 1.5rem 2rem;
}

.btn-apply {
    background: #54289f;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-apply:hover {
    background: #3d1d73;
    transform: translateY(-2px);
}

.btn-apply > i, .btn-deny > i {
    color: white !important;
}

.file-thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.file-thumbnail:hover {
    background-color: var(--accent-color);
}

.file-info {
    text-align: center;
}

#accordion .card-header {
    background-color: var(--accent-color);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

#accordion .card-header h5 button {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    width: 100%;
    text-align: left;
}

#accordion .card-header h5 button:hover {
    color: var(--primary-color);
}

.table {
    margin-bottom: 0;
}

.table td {
    border-top: none;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: white !important;
}

.modal-body {
    min-height: 36vh !important;
    overflow: auto !important;
}



    .nav-pills .nav-link {
        border-radius: 1.5rem;
        transition: background-color 0.3s ease, color 0.3s ease;
        font-weight: 500;
        color: #495057;
    }

    .nav-pills .nav-link.active {
        background-color: #54289f !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

    .nav-link.active .bi {
        color: white !important;
    }

    .nav-pills .nav-link:hover {
        background-color: #54289f !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }
    .nav-pills .nav-link:hover i,
    .nav-pills .nav-link:hover svg {
        color: white !important;
        fill: white !important; /* Para SVGs que usam fill */
    }

    .nav-pills .nav-link.active {
        color: white !important;
    }
    .nav-pills .nav-link.active i {
        color: white !important;
    }
    /* Fundo escurecido cobrindo toda a tela */
    .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Caixa central com conteúdo */
    .loading-box {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
    }

    /* Spinner animado */
    .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    }

    /* Animação do spinner */
    @keyframes spin {
    to { transform: rotate(360deg); }
    }

    /* Texto */
.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    background: none;
    color: #dee2e6 !important;
    cursor: default;
}


table.responsible-table {
    width: 100%;
    border-collapse: collapse;
  }
  

  /* @media (max-width: 900px) {

    #dadosRelatorio{
        max-width:100vw !important;
    }
    table.responsible-table thead {
      display: none; 
    }
  
    table.responsible-table tr {
      display: block;
      margin: 10px 0px;
      border-bottom: 1px solid #aaa;
    }
  
    table.responsible-table td {
      display: block;
      width: 100%;
      box-sizing: border-box;
      padding-left: 30% !important; 
      position: relative;
      text-align: left;
      padding-top: 10px;
      padding-bottom: 10px;
    }
  
    table.responsible-table td:before {
      position: absolute;
      top: 8px;
      left: 8px;
      width: 20%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: bold;
      content: attr(data-label);
    }
  }
  @media (max-width: 600px) {
    table.responsible-table td {
      padding-left: 40%;
    }
  
    table.responsible-table td:before {
      width: 30%;
    }
  } */


  #responsiveOutput {
  margin-top: 20px;
}

.responsive-block {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  padding: 10px;
}

.responsive-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.responsive-item {
  width: 50%;
  box-sizing: border-box;
  padding: 5px;
}

.responsive-extra {
  background: #f9f9f9;
  font-size: 0.9em;
  border-top: 1px solid #ccc;
}

.responsive-extra div {
  margin-bottom: 4px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    border: none !important;
    padding: 0 !important;
}

input.select2-search__field {
    /* min-width: 10rem !important;
    overflow: visible !important; */
    width: 100%;
    padding: 1.2rem 0.75rem 0.5rem !important;
    font-size: 1rem;
    border: 2px solid #e9ecef !important;
    border-radius: 8px;
    outline: none;
    background: none;
    position: relative;
    transition: all 0.3s;
}

.select2-container--default .select2-selection--multiple {
    min-height: 3.65rem !important;
    max-height: 12rem !important;
    height: auto !important;
}


.modal-backdrop.show {
    opacity: 0.5 !important;
    z-index: 1059 !important;;
}



/* Garantir que a div.table-responsive seja realmente responsiva */
.table-responsive {
    position: relative !important;
    z-index: 900 !important;
    overflow-x: auto !important;
    /* Permite rolagem horizontal */
    -webkit-overflow-scrolling: touch !important;
    /* Melhora a rolagem em dispositivos móveis */
    border-radius: var(--border-radius) !important;
    box-shadow: var(--box-shadow) !important;
    margin-bottom: 1rem !important;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f5f5f5 !important;
    border-radius: 4px !important; 
}

.table-responsive::-webkit-scrollbar-track {
    background: #54289f !important; 
    border-radius: 4px !important; 
    transition: background 0.3s ease !important; 
}

/* Hover no polegar */
.table-responsive::-webkit-scrollbar-track:hover {
    background: #54289f !important; 
}

.table-responsive {
    scrollbar-width: thin !important;
    scrollbar-color: #54289f #f5f5f5 !important; 
}

.scrollable-content {
    overflow: auto; /* ou overflow: scroll; */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

/* WebKit (Chrome, Safari) */
.scrollable-content::-webkit-scrollbar {
    display: none;
}


/* Responsive adjustments */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: 100%;
    }

    .modal-body {
        padding: 1rem;
        max-height: 80vh;
    }

    .modal-header, .modal-footer {
        padding: 0.75rem 1rem;
    }

  

    .form-control, .form-select {
        height: calc(2.5rem + 2px);
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .modal-dialog {
        max-width: 90%;
    }
}


.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}

/* Botão de Exportação Padronizado */
.export-btn {
    position: absolute;
    top: 10px;
    right: 50px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.85;
    flex-shrink: 0;
    z-index: 10;
}

.export-btn:hover {
    background: rgba(255,255,255,0.35);
    color: var(--dashboard-accent);
    opacity: 1;
    transform: scale(1.1);
}

.export-btn:active {
    transform: scale(0.95);
}

/* Botão de Exportação para Modais (com fundo branco) */
.export-btn-modal {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: var(--dashboard-color);
    font-size: 1.1rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}



/* Dropdown de opções de exportação */
.export-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 200px;
    display: none;
    overflow: hidden;
}

.export-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease-out;
}

.export-dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.export-dropdown-item:last-child {
    border-bottom: none;
}

.export-dropdown-item:hover {
    background: #f8f9fa;
    color: var(--dashboard-color);
}

.export-dropdown-item i {
    width: 20px;
    text-align: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Colunas de Cores */
#gees-datatable thead th.col-entrada { background: #198754 !important; color: white !important; }
#gees-datatable thead th.col-saida   { background: #dc3545 !important; color: white !important; }
#gees-datatable thead th.col-saldo   { background: #0d6efd !important; color: white !important; }

#gees-datatable thead th.bg-entrada-light { background: #d1e7dd !important; }
#gees-datatable thead th.bg-saida-light   { background: #f8d7da !important; }
#gees-datatable thead th.bg-saldo-light   { background: #cfe2ff !important; }