:root {
    --primary: #0679c8;
    --secondary: #4eaf3f;
    --success: #13B955;
    --info: #009edc;
    --warning: #EFA31D;
    --danger: #FC3939;
    --dark: #8a8787;
    --purple: #6f42c1;
    --orange: #fd7e14;
    --bs-font-sans-serif: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* 🚫 Bloqueia seleção de texto no site inteiro */
html, body, * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* ✅ Libera seleção APENAS para inputs */
input,
textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}


/* ---------- SCROLLBAR GLOBAL ---------- */

*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

*::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 10px;
}

    *::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }

/* Largura do scroll */

.left-nav::-webkit-scrollbar {
    width: 4px;
}

/* Fundo da área do scroll */

.left-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Barra de rolagem */

.left-nav::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 10px;
}

    /* Cor ao passar o mouse */

    .left-nav::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }

/* Aumenta o tamanho do texto do nome */

.user-dropdown span:first-child {
    font-size: 18px !important;
}

/* Aumenta o tamanho do texto da função */

.user-dropdown span:last-child {
    font-size: 16px !important;
    color: silver;
}

/* Aumenta os itens do dropdown */

.dropdown-menu .dropdown-item {
    font-size: 16px;
    padding: 10px 15px;
}

.dropdown-menu .dropdown-item {
    color: #858585 !important;
    opacity: 1;
}

    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown-item:focus {
        color: #212529 !important;
        background-color: rgba(0, 0, 0, 0.05) !important;
        opacity: 1 !important;
    }


    /* Aumenta os ícones */

    .dropdown-menu .dropdown-item i {
        font-size: 18px !important;
    }

.table thead th {
    white-space: nowrap;
    color: var(--bs-secondary) !important;
    background-color: #f5f6f9;
}

.table tbody td {
    vertical-align: middle;
    height: 40px;
    padding: 0.5rem;
    white-space: nowrap;
    color: gray;
}

.btn-table {
    width: 40px;
    /*display: flex;*/
    height: 40px;
    margin-left: 8px;
    border-radius: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

    .btn-table .icon-edit {
        color: #a67114;
    }

.btn-table {
    border: 0;
    width: 35px;
    height: 35px;
    font-size: 14px;
}

    .btn-table.edit {
        background-color: rgba(239, 163, 29, 0.36);
        color: #b07713;
    }

    .btn-table.delete {
        background-color: rgba(252, 57, 57, 0.36);
        color: #840c00;
    }

.table-responsive::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/* Fundo da área do scroll */

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Barra de rolagem */

.table-responsive::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 10px;
}

    /* Cor ao passar o mouse */

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }

/* link normal */
.table a {
    color: inherit;
    /* herda a cor do texto (não fica azul) */
    text-decoration: none;
    /* remove sublinhado */
}

    /* ao passar o mouse */
    .table a:hover {
        text-decoration: underline;
        /* só aparece sublinhado no hover */
    }

/* btn-primary */

.btn {
    border-radius: 3px;
}

.btn-outline-primary {
    border: 2px solid var(--primary) !important;
    color: var(--primary);
}

    .btn-outline-primary:focus,
    .btn-outline-primary:hover {
        background-color: var(--primary) !important;
        color: #ffffff;
        border-color: var(--primary) !important;
    }

.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: none;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #0262a1;
        border-color: #0262a1;
    }

    .btn-primary:focus,
    .btn-primary.focus {
        color: #fff;
        background-color: #0262a1;
        border-color: #0262a1;
    }

    .btn-primary.disabled,
    .btn-primary:disabled {
        color: #fff;
        background-color: #0262a1;
        border-color: #0262a1;
    }

    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #0262a1;
        border-color: #0262a1;
    }

/* btn-secondary */

.btn-secondary {
    color: #fff;
    background-color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: none;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #37802c;
        border-color: #37802c;
    }

    .btn-secondary:focus,
    .btn-secondary.focus {
        color: #fff;
        background-color: #37802c;
        border-color: #37802c;
    }

    .btn-secondary.disabled,
    .btn-secondary:disabled {
        color: #fff;
        background-color: #37802c;
        border-color: #37802c;
    }

    .btn-secondary:not(:disabled):not(.disabled):active,
    .btn-secondary:not(:disabled):not(.disabled).active,
    .show > .btn-secondary.dropdown-toggle {
        color: #fff;
        background-color: #37802c;
        border-color: #37802c;
    }

/* btn-success */

.btn-success {
    color: #fff;
    background-color: var(--success);
    border-color: var(--success);
}

    .btn-success:focus,
    .btn-success.focus {
        color: #fff;
        background-color: #0f9645;
        border-color: #0e8b40;
    }

    .btn-success:hover {
        color: #fff;
        background-color: #0f9645;
        border-color: #0e8b40;
    }

    .btn-success:not(:disabled):not(.disabled):active,
    .btn-success:not(:disabled):not(.disabled).active,
    .show > .btn-success.dropdown-toggle {
        color: #fff;
        background-color: #0e8b40;
        border-color: #0d7f3a;
    }

/* btn-info */

.btn-info {
    color: #fff;
    background-color: #009CDC;
    border-color: #009CDC;
}

    .btn-info:focus,
    .btn-info.focus {
        color: #fff;
        background-color: #0081b6;
        border-color: #0078a9;
    }

    .btn-info:hover {
        color: #fff;
        background-color: #0081b6;
        border-color: #0078a9;
    }

    .btn-info:not(:disabled):not(.disabled):active,
    .btn-info:not(:disabled):not(.disabled).active,
    .show > .btn-info.dropdown-toggle {
        color: #fff;
        background-color: #0078a9;
        border-color: #006f9c;
    }

/* btn-danger */

.btn-danger {
    color: #fff;
    background-color: var(--danger);
    border-color: var(--danger);
}

    .btn-danger:focus,
    .btn-danger.focus {
        color: #fff;
        background-color: #e61717;
        border-color: #e61717;
    }

    .btn-danger:hover {
        color: #fff;
        background-color: #e61717;
        border-color: #e61717;
    }

    .btn-danger:not(:disabled):not(.disabled):active,
    .btn-danger:not(:disabled):not(.disabled).active,
    .show > .btn-danger.dropdown-toggle {
        color: rgb(241, 241, 241);
        background-color: #e61717;
        border-color: #e61717;
    }

/* btn-warning */

.btn-warning {
    color: #ffffff;
    background-color: var(--warning);
    border-color: var(--warning);
}

    .btn-warning:focus {
        -webkit-box-shadow: 0 0 5px #f2b64d;
        box-shadow: 0 0 5px #f2b64d;
    }

    .btn-warning:focus,
    .btn-warning.focus {
        color: #fff;
        background-color: #d78e0f;
        border-color: #cb870e;
    }

    .btn-warning:hover {
        color: #fff;
        background-color: #d78e0f;
        border-color: #cb870e;
    }

    .btn-warning:not(:disabled):not(.disabled):active,
    .btn-warning:not(:disabled):not(.disabled).active,
    .show > .btn-warning.dropdown-toggle {
        color: #fff;
        background-color: #cb870e;
        border-color: #bf7f0e;
    }

.btn-light:not(:disabled):not(.disabled).active,
.btn-light:not(:disabled):not(.disabled):active,
.show > .btn-light.dropdown-toggle {
    color: #3a3b45;
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.btn-light.focus,
.btn-light:focus,
.btn-light:hover {
    color: #3a3b45;
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* btn-dark */

.btn-dark {
    color: #ffffff;
    background-color: var(--dark);
    border-color: var(--dark);
}

    .btn-dark:focus {
        -webkit-box-shadow: 0 0 5px #595959;
        box-shadow: 0 0 5px #595959;
    }

    .btn-dark:focus,
    .btn-dark.focus {
        color: #fff;
        background-color: #595959;
        border-color: #595959;
    }

    .btn-dark:hover {
        color: #fff;
        background-color: #595959;
        border-color: #595959;
    }

    .btn-dark:not(:disabled):not(.disabled):active,
    .btn-dark:not(:disabled):not(.disabled).active,
    .show > .btn-dark.dropdown-toggle {
        color: #fff;
        background-color: #8f8f8f;
        border-color: #8f8f8f;
    }

    .btn-dark:disabled {
        color: #fff;
        background-color: #8f8f8f;
        border-color: #8f8f8f;
    }

/* text */

.text-purple {
    color: #6f42c1 !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-success {
    color: var(--success) !important;
}

a.text-success:focus,
a.text-success:hover {
    color: #0c7435 !important;
}

.text-info {
    color: var(--info) !important;
}

a.text-info:focus,
a.text-info:hover {
    color: #0481b3 !important;
}

.text-warning {
    color: var(--warning) !important;
}

a.text-warning:focus,
a.text-warning:hover {
    color: var(--primary) !important;
}

.text-danger {
    color: var(--danger) !important;
}

a.text-danger:focus,
a.text-danger:hover {
    color: #e50303 !important;
}

/* border */

.border-left-primary {
    border-left: .25rem solid var(--primary) !important;
}

.border-bottom-primary {
    border-bottom: .25rem solid var(--primary) !important;
}

.border-left-success {
    border-left: .25rem solid var(--success) !important;
}

.border-bottom-success {
    border-bottom: .25rem solid var(--success) !important;
}

.border-left-info {
    border-left: .25rem solid var(--info) !important;
}

.border-bottom-info {
    border-bottom: .25rem solid var(--info) !important;
}

.border-left-warning {
    border-left: .25rem solid var(--warning) !important;
}

.border-bottom-warning {
    border-bottom: .25rem solid var(--warning) !important;
}

.border-left-danger {
    border-left: .25rem solid var(--danger) !important;
}

.border-bottom-danger {
    border-bottom: .25rem solid var(--danger) !important;
}

.border-bottom-purple {
    border-bottom: .25rem solid #6f42c1 !important;
}

/* background */

.bg-success {
    background-color: var(--success) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-purple {
    background-color: var(--purple) !important;
}

.bg-danger {
    background-color: var(--danger) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.bg-info {
    background-color: var(--info) !important;
}

.dataTables_empty {
    color: gray !important;
    padding: 30px !important;
}





/* Conteiner principal */

#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #ffffff;
}

/* Topo fixo */

.top-nav {
    height: 60px;
    position: fixed;
    top: 0;
    left: 270px;
    right: 0;
    z-index: 996;
    transition: background-color 0.1s ease, left 0.5s ease;
}

    .top-nav .topbar {
        height: 60px;
    }



/* Sidebar fixa */

.left-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    min-height: 100vh;
    height: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
    transition: width .5s;
    box-shadow: 0 0 10px 0 rgba(128, 128, 128, 0.44);
    z-index: 1045;
}

/* === Alterações para body controlar o estado === */

/* Quando o body tem .sidebar-collapse */

body.sidebar-collapse .left-nav {
    width: 60px;
}

    body.sidebar-collapse .left-nav .nav-link .arrow-nav {
        visibility: hidden !important;
        opacity: 0;
        transition: opacity .5s;
    }

    body.sidebar-collapse .left-nav:hover .nav-link .arrow-nav {
        visibility: visible;
        opacity: 1;
        transition: opacity .8s;
    }

    /* Expande ao passar o mouse no modo colapsado */

    body.sidebar-collapse .left-nav:hover {
        width: 270px;
    }

        body.sidebar-collapse .left-nav:hover .navbar-brand {
            width: 270px;
        }

            body.sidebar-collapse .left-nav:hover .navbar-brand .logo2 {
                visibility: visible;
                opacity: 1;
                transition: opacity .5s;
            }

/* Ajusta top-nav e content quando sidebar está colapsado */

body.sidebar-collapse .top-nav {
    left: 60px;
}

body.sidebar-collapse .content-wrapper {
    margin-left: 60px;
}

body.sidebar-collapse .navbar-brand {
    width: 60px;
}

    body.sidebar-collapse .navbar-brand .logo2 {
        visibility: hidden;
        opacity: 0;
        transition: opacity .5s;
    }

/* Controle do menu mobile via body */

body.mobile .left-nav {
    left: -270px;
    transition: .5s;
}

body.mobile.show .left-nav {
    left: 0;
}

/* Overlay */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

body.mobile.show .overlay {
    display: block;
}

/* Content com scroll */

.content-wrapper {
    flex: 1;
    margin-left: 270px;
    overflow: visible;
    transition: margin-left 0.5s;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

body.sidebar-collapse .content-wrapper {
    margin-left: 60px;
}

.content {
    flex: 1;
    margin-top: -170px;
    z-index: 1;
}

.content .card {
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.1);
}

.content .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.content .content-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl, .content-header {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 992px) {
    .content .card {
        box-shadow: none;
    }

    .content .card, .card .card-header {
        border-radius: 30px;
        border: 0;
    }

    .content .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .content .content-header {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Responsividade para mobile */

@media (max-width: 991px) {
    body:not(.show) .left-nav {
        left: -270px;
    }
}

@media (max-width: 991px) {
    .content-wrapper {
        margin-left: 0 !important;
    }
}

@media (max-width: 991px) {
    .top-nav {
        left: 0;
    }
}

/* Navbar brand */

.navbar-brand {
    position: fixed;
    display: flex;
    width: 270px;
    height: 60px;
    align-items: center;
    padding-left: 10px;
    box-shadow: 0 0 1px 0 #939393;
    background-color: #ffffff;
    transition: width .5s;
    z-index: 9999;
}

    .navbar-brand .logo1 {
        width: 40px;
        height: 40px;
    }

    .navbar-brand .logo2 {
        width: 150px;
        margin-left: 10px;
    }

/* Menu lateral */

.sidebar-menu .nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    color: var(--dark) !important;
    white-space: nowrap;
    border-radius: 0 !important;
}

    .sidebar-menu .nav-link i {
        width: 34px;
    }

.sidebar-menu {
    margin-top: 80px;
    padding-bottom: 80px;
    gap: 8px;
}

    .sidebar-menu .nav-link:hover {
        color: var(--secondary);
        background-color: rgba(6, 122, 200, 0.1) !important;
    }

    .sidebar-menu .nav-link.active {
        background: rgba(6, 122, 200, 0.1) !important;
        color: var(--primary) !important;
        border-left: 4px solid transparent;
        border-color: var(--primary);
    }

    .sidebar-menu .nav-link {
        border-radius: 0;
        border-left: 4px solid transparent;
        font-size: 18px;
    }

        .sidebar-menu .nav-link i {
            padding-right: 10px;
        }



.sublink {
    color: var(--bs-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
}

.nav-item ul {
    display: grid;
    width: 100%;
    justify-content: start;
    max-height: 0;
    opacity: 1;
    overflow: hidden;
    transition: max-height .5s ease;
}

/* Esconde submenus no modo colapsado */

body.sidebar-collapse .left-nav .nav-item ul {
    display: none;
}

body.sidebar-collapse .left-nav:hover .nav-item ul {
    display: block;
}

/* Rodapé do menu */

.nav-user {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 270px;
    padding: 10px;
    background-color: #ffffff;
    z-index: 9999;
    box-shadow: 0 1px 5px 0 silver;
}

.nav-item.dropup.user button {
    width: 270px;
    border: 0;
}

.nav-user img {
    width: 40px;
    border: 3px solid var(--bs-yellow);
    border-radius: 100%;
}

body.sidebar-collapse .left-nav .user-dropdown {
    visibility: hidden;
    opacity: 0;
    transition: opacity .5s;
}

body.sidebar-collapse .left-nav:hover .user-dropdown {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s;
}

.left-nav .user-dropdown {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s;
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: none !important;
    border: 0 !important;
}

.left-nav-footer {
    width: 270px;
    height: 80px;
    position: fixed;
    bottom: 0;
    border: 0 !important;
    border-top: 1px solid #efefef;
    background-color: #ffffff;
    transition: width .5s;
    display: flex;
    align-items: center;
}

body.sidebar-collapse .left-nav .left-nav-footer {
    width: 60px;
}

body.sidebar-collapse .left-nav:hover .left-nav-footer {
    width: 270px;
}

/* Submenus */

.nav-item .nav-collapse .collapse-inner {
    margin: 5px 16px;
    display: flex;
    flex-direction: column;
    padding: 0;
}

body.sidebar-collapse .left-nav .nav-item .nav-collapse .collapse-inner {
    display: none;
}

body.sidebar-collapse .left-nav:hover .nav-item .nav-collapse .collapse-inner {
    display: block;
    opacity: 1;
}

.nav-item .nav-collapse .collapse-inner .nav-link {
    font-size: 15px;
}

    .nav-item .nav-collapse .collapse-inner .nav-link.active {
        background-color: transparent !important;
        border-color: transparent;
    }

    .nav-item .nav-collapse .collapse-inner .nav-link i {
        font-size: 15px;
        width: 16px !important;
    }

.nav-header {
    padding-left: 10px;
}

body.sidebar-collapse .left-nav .nav-header {
    display: none;
}

/* Scroll to top */

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1050;
    width: 50px;
    height: 50px;
    border-radius: 25px !important;
    background-color: rgba(66, 66, 66, 0.7);
    text-decoration: none;
}

    .scroll-to-top:hover,
    .scroll-to-top:focus {
        background-color: rgba(37, 37, 37, 0.85);
    }

    .scroll-to-top.show {
        display: block;
        opacity: 1;
    }

/* Outros ajustes */

.back-header {
    height: 220px;
    /*    border-radius: 0 0 40px 40px;*/
    background-image: url(../../assets/img/bg.jpg) !important;
    background-size: cover;
}

    .back-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 220px;
        /*        border-radius: 0 0 40px 40px;*/
        background: linear-gradient(180deg, #288eed 0%, rgb(27,95,197, 0.85) 100%);
    }


.card-header {
    background-color: #ffffff;
    border: 0;
    color: #6eb54d;
}

.nav-subtitle {
    font-size: 16px;
    color: #ffffff;
    font-family: 'Poppins';
}

#btn {
    margin-left: -10px;
    font-size: 20px;
}



.nav-title {
    color: #ffffff;
    font-family: 'Poppins';
    font-size: 20px;
    margin-top: 5px;
}

@media (max-width: 992px) {
    .nav-title {
        font-size: 18px;
    }
}



/* Ocultar texto em mobile se necessário */

.user-bottom {
    display: none !important;
}

.nav-link span {
    margin-left: -20px;
}

body {
    transition: none;
}

    body.sidebar-ready {
        transition: margin-left 0.5s ease, width 0.5s ease;
    }

    /* Evita animação na primeira carga */

    body:not(.sidebar-ready) * {
        transition: none !important;
    }

footer {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dt-length,
.dt-search {
    display: none;
}


.page-item:first-child .page-link {
    height: 38px;
    display: flex;
    align-items: center;
}

.page-item:last-child .page-link {
    height: 38px;
    display: flex;
    align-items: center;
}

.page-link {
    color: rgb(78, 78, 78) !important;
}

    .page-link.active,
    .active > .page-link {
        color: #ffffff !important;
        background-color: var(--secondary) !important;
        border-color: var(--secondary) !important;
    }

table.dataTable thead th {
    color: #888888 !important;
    font-family: 'Poppins-SemiBold', sans-serif !important;
    font-size: 17px;
}

table.dataTable tbody td, table tbody td {
    color: gray;
}

.btn.btn-circle {
    border-radius: 100% !important;
}

.btn-circle.btn-data-table:disabled {
    opacity: 0.5;
}

.btn-data-table.primary {
    width: 30px;
    height: 30px;
    background-color: rgba(6, 122, 200, 0.2);
    color: var(--primary);
    border-color: transparent;
    font-size: 14px;
}

.btn-circle.btn-data-table.warning {
    width: 30px;
    height: 30px;
    background-color: rgba(239, 163, 29, 0.2);
    color: var(--warning);
    border-color: transparent;
    font-size: 14px;
}

.btn-circle.btn-data-table.danger {
    width: 30px;
    height: 30px;
    background-color: rgba(252, 57, 57, 0.2);
    color: var(--danger);
    border-color: transparent;
    font-size: 14px;
}

.btn-circle.btn-data-table.info {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 158, 220, 0.2);
    color: var(--info);
    border-color: transparent;
    font-size: 14px;
}

.btn-circle.btn-data-table.dark {
    width: 30px;
    height: 30px;
    background-color: rgba(143, 144, 145, 0.2);
    color: var(--dark);
    border-color: transparent;
    font-size: 14px;
}

.btn-circle.btn-data-table.success {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 220, 110, 0.2);
    color: var(--success);
    border-color: transparent;
    font-size: 14px;
}

.btn-circle.btn-data-table.success {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 220, 110, 0.2);
    color: var(--success);
    border-color: transparent;
    font-size: 14px;
}

.btn-circle.btn-data-table.purple {
    width: 30px;
    height: 30px;
    background-color: rgba(110, 66, 193, 0.2);
    color: var(--purple);
    border-color: transparent;
    font-size: 14px;
}


/* ============================ */

/* ----------- CUSTOM MODAL ------------ */

/* ============================ */

/* ---------- CUSTOM MODAL ---------- */

.custom-modal {
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: blue;
    visibility: hidden;
    background-color: #ffffff;
    background-clip: padding-box;
    outline: 0;
    transition: 0.4s;
}

.custom-modal-start,
.custom-modal-end,
.custom-modal-top,
.custom-modal-bottom {
    z-index: 1060;
}

.custom-modal.custom-modal-fullscreen {
    width: calc(100% - 270px);
    height: 100%;
    z-index: 1050;
}

    .custom-modal.custom-modal-fullscreen.custom-modal-fullscreen-start {
        top: 0;
        left: 0;
        transform: translateX(-100%);
    }

    .custom-modal.custom-modal-fullscreen.custom-modal-fullscreen-end {
        right: 0;
        transform: translateX(100%);
    }

    .custom-modal.custom-modal-fullscreen.custom-modal-fullscreen-top {
        top: 0;
        right: 0;
        transform: translateY(-100%);
    }

    .custom-modal.custom-modal-fullscreen.custom-modal-fullscreen-bottom {
        top: 0;
        right: 0;
        transform: translateY(100%);
    }

.custom-modal.custom-modal-start {
    top: 0;
    left: 0;
    width: 600px;
    transform: translateX(-100%);
}

.custom-modal.custom-modal-end {
    top: 0;
    right: 0;
    width: 600px;
    transform: translateX(100%);
    box-shadow: 0 0 30px 0 rgba(116, 116, 116, 0.473);
}

.custom-modal.custom-modal-top {
    top: 0;
    right: 0;
    width: calc(100% - 270px);
    height: 400px;
    max-height: 100%;
    transform: translateY(-100%);
}

.custom-modal.custom-modal-bottom {
    right: 0;
    width: calc(100% - 270px);
    height: 400px;
    max-height: 100%;
    transform: translateY(100%);
}

.custom-modal.showing,
.custom-modal.show:not(.hiding) {
    transform: none;
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    font-size: 50px !important;
    color: #ffffff;
    background-color: #6eb54d;
    padding: 10px 0;
}

.custom-modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.close-custom-modal-header {
    font-size: 50px;
    color: #adadad !important;
}

.custom-modal-body {
    flex-grow: 1;
    /*padding: 20px;*/
    overflow-y: auto;
    overflow-x: hidden;
    color: gray;
}

.custom-modal-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.09);
}

/* Media Queries */

@media (min-width: 720px) {
    body.sidebar-collapse .custom-modal {
        width: calc(100% - 60px) !important;
    }
}

@media (max-width: 720px) {
    .custom-modal {
        transition: 0.6s;
    }
}

@media (max-width: 720px) {

    .custom-modal.custom-modal-end,
    .custom-modal.custom-modal-start {
        top: 0;
        width: 100% !important;
    }
}

@media (max-width: 720px) {

    .custom-modal.custom-modal-top,
    .custom-modal.custom-modal-bottom,
    .custom-modal.custom-modal-fullscreen {
        width: 100% !important;
        height: 100% !important;
    }
}

.custom-modal-overlay {
    background-color: rgb(0 0 0 / 5%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1055;
    opacity: 80%;
}

    .custom-modal-overlay.full {
        z-index: 1045;
        background-color: rgb(0 0 0 / 50%);
    }

/* fim custom-modal */

.back-modal-header {
    height: 90px;
    /*background-color: #6eb54d;*/
    margin-bottom: -75px;
    border-radius: 0 0 40px 40px;
    background: linear-gradient(rgb(110, 181, 77) 0%, rgb(182, 216, 96) 70%);
}

/* ou outro breakpoint que você use para mobile */

@media (max-width: 992px) {
    .custom-modal {
        width: 100% !important;
    }
}




/* ============================ */

/* ----------- INPUTS ------------ */

/* ============================ */



:root {
    --input: #0d2f77;
}

/* ============================ */

/* ----------- BASE ------------ */

/* ============================ */

.textfield {
    position: relative;
    width: 100%;
}

    .textfield .form-control,
    .textfield .form-select {
        font-size: 1rem;
        outline: none;
        appearance: none;
        width: 100%;
        height: 50px;
        padding: 0.5rem 0.75rem;
        transition: all 0.3s ease;
        background-color: #fff;
    }


        /* ----------- PLACEHOLDER ----------- */

        .textfield .form-control::placeholder {
            color: transparent;
            transition: color 0.3s;
        }

        .textfield .form-control:focus::placeholder {
            color: #a9a9a9;
        }

        /* ----------- FOCUS ----------- */

        .textfield .form-control:focus,
        .textfield .form-select:focus {
            box-shadow: 0 0 0 0.065rem var(--input);
            outline: none;
        }

        /* ----------- LABEL - BASE ----------- */

        .textfield .form-control ~ label,
        .textfield .form-select ~ label {
            color: #a9a9a9;
            position: absolute;
            top: 13px;
            left: 10px;
            background-color: #fff;
            padding: 0 4px;
            transition: all 0.3s ease;
            pointer-events: none;
            z-index: 2;
            font-size: 16px;
        }

    /* LABEL flutuante com ou sem ícone */

    .textfield.has-icon .form-control:focus ~ label,
    .textfield.has-icon .form-select:focus ~ label,
    .textfield.has-icon .form-control:not(:placeholder-shown) ~ label,
    .textfield.has-icon .form-select:valid ~ label {
        top: -10px;
        left: -20px;
        font-size: 12px;
        color: #a9a9a9;
    }

.form-select:disabled ~ label {
    left: 8px;
    top: -10px;
    font-size: 12px;
    color: #a9a9a9;
}

.textfield.has-icon .form-select:disabled ~ label {
    left: -20px !important;
}

.textfield .form-control:not(:placeholder-shown) ~ label,
.textfield .form-select:valid ~ label {
    color: #a9a9a9 !important;
}

.textfield:not(.has-icon) .form-control:focus ~ label,
.textfield:not(.has-icon) .form-select:focus ~ label,
.textfield:not(.has-icon) .form-control:not(:placeholder-shown) ~ label,
.textfield:not(.has-icon) .form-select:valid ~ label {
    top: -10px;
    left: 8px;
    font-size: 12px;
}

.textfield .form-control:focus ~ label,
.textfield .form-select:focus ~ label,
.textfield.form-control:not(:placeholder-shown) ~ label {
    color: var(--input) !important;
}

/* ----------- ICONES - BASE ----------- */

.textfield i {
    position: absolute;
    left: 6px;
    top: 24px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6c757d;
    z-index: 2;
    pointer-events: none;
    display: flex;
}

.textfield.has-icon .form-control,
.textfield.has-icon .form-select {
    padding-left: 44px !important;
}

.textfield.has-icon label {
    margin-left: 30px !important;
}

.textfield.has-icon i {
    padding-left: 5px;
}

/* ============================ */

/* ----- VALID / INVALID ------ */

/* ============================ */

.textfield .form-control.is-valid,
.textfield .form-select.is-valid {
    box-shadow: none !important;
}

.textfield.outline .form-control.is-valid,
.textfield.outline .form-select.is-valid {
    border-color: #1cc88a !important;
    box-shadow: none;
}

    .textfield.outline .form-control.is-valid:focus,
    .textfield.outline .form-select.is-valid:focus {
        box-shadow: 0 0 0 0.065rem #1cc88a !important;
    }

.textfield.outline .form-control.is-invalid,
.textfield.outline .form-select.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: none;
}

    .textfield.outline .form-control.is-invalid:focus,
    .textfield.outline .form-select.is-invalid:focus {
        box-shadow: 0 0 0 0.065rem #dc3545 !important;
    }

.textfield.line .form-control.is-valid,
.textfield.line .form-select.is-valid {
    box-shadow: none !important;
    border-color: #1cc88a;
}

    .textfield.line .form-control.is-valid:focus,
    .textfield.line .form-select.is-valid:focus {
        box-shadow: 0 1px 0 0 #1cc88a !important;
        border-color: #1cc88a;
    }

.textfield .form-control.is-valid ~ label,
.textfield .form-select.is-valid ~ label,
.textfield .form-control.is-valid:focus ~ label,
.textfield .form-select.is-valid:focus ~ label {
    color: #1cc88a !important;
}

.textfield .form-control.is-invalid,
.textfield .form-select.is-invalid {
    border-color: #dc3545 !important;
}

.textfield.line .form-control.is-invalid:focus,
.textfield.line .form-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 1px 0 0 #dc3545 !important;
}

.textfield .form-control.is-invalid ~ label,
.textfield .form-select.is-invalid ~ label,
.textfield .form-control.is-invalid:focus ~ label,
.textfield .form-select.is-invalid:focus ~ label {
    color: #dc3545 !important;
}

/* ============================ */

/* ----------- OUTLINE -------- */

/* ============================ */

.textfield.outline .form-control,
.textfield.outline .form-select {
    border: 0.065rem solid #bdbdbd;
    border-radius: 2px;
}

    .textfield.outline .form-control:focus,
    .textfield.outline .form-select:focus {
        border-color: var(--input);
    }

/* ============================ */

/* ----------- LINE ------------ */

/* ============================ */

.textfield.line .form-control,
.textfield.line .form-select {
    border: none;
    border-bottom: 1px solid #bdbdbd;
    border-radius: 0;
    background-color: transparent;
    height: 46px;
    padding-bottom: 2px;
}

    .textfield.line .form-control:focus,
    .textfield.line .form-select:focus {
        border-bottom-color: var(--input);
        box-shadow: 0 1px 0 0 var(--input);
    }

    /* LABEL - LINE */

    .textfield.line .form-control ~ label,
    .textfield.line .form-select ~ label {
        background-color: transparent;
    }

.textfield.line.has-icon .form-control:focus ~ label,
.textfield.line.has-icon .form-select:focus ~ label,
.textfield.line.has-icon .form-control:not(:placeholder-shown) ~ label,
.textfield.line.has-icon .form-select:valid ~ label {
    top: -10px;
    left: -30px;
    font-size: 12px;
    color: var(--input);
}

.textfield.line:not(.has-icon) .form-control:focus ~ label,
.textfield.line:not(.has-icon) .form-select:focus ~ label,
.textfield.line:not(.has-icon) .form-control:not(:placeholder-shown) ~ label,
.textfield.line:not(.has-icon) .form-select:valid ~ label {
    top: -10px;
    left: 0;
    font-size: 12px;
    color: var(--input);
}

/* ÍCONES - LINE */

.textfield.line i {
    left: 6px;
    color: #6c757d;
}

.textfield.line.has-icon .form-control,
.textfield.line.has-icon .form-select {
    padding-left: 44px !important;
}

.textfield.line.has-icon label {
    margin-left: 30px !important;
}

.textfield.line.has-icon i {
    padding-left: 5px;
}

/* ============================ */

/* ----------- FILLED ---------- */

/* ============================ */

/* Estilo inicial */

.textfield.filled .form-control,
.textfield.filled .form-select {
    border: none;
    border-bottom: 1px solid #bdbdbd;
    border-radius: 4px;
    background-color: #f8f9fc !important;
    height: 46px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

    /* FOCUS */

    .textfield.filled .form-control:focus,
    .textfield.filled .form-select:focus {
        border-bottom-color: var(--input);
        box-shadow: 0 1px 0 0 var(--input);
    }

    /* LABEL - FILLED */

    .textfield.filled .form-control ~ label,
    .textfield.filled .form-select ~ label {
        background-color: transparent !important;
    }

/* LABEL flutuante */

.textfield.filled.has-icon .form-control:focus ~ label,
.textfield.filled.has-icon .form-select:focus ~ label,
.textfield.filled.has-icon .form-control:not(:placeholder-shown) ~ label,
.textfield.filled.has-icon .form-select:valid ~ label {
    top: -10px;
    left: -30px;
    font-size: 12px;
    color: var(--input);
}

.textfield.filled:not(.has-icon) .form-control:focus ~ label,
.textfield.filled:not(.has-icon) .form-select:focus ~ label,
.textfield.filled:not(.has-icon) .form-control:not(:placeholder-shown) ~ label,
.textfield.filled:not(.has-icon) .form-select:valid ~ label {
    top: -10px;
    left: 0;
    font-size: 12px;
    color: var(--input);
}

/* ÍCONES - FILLED */

.textfield.filled i {
    left: 6px;
    color: #6c757d;
}

.textfield.filled.has-icon .form-control,
.textfield.filled.has-icon .form-select {
    padding-left: 44px !important;
}

.textfield.filled.has-icon label {
    margin-left: 30px !important;
}

.textfield.filled.has-icon i {
    padding-left: 5px;
}

/* VALID / INVALID - FILLED */

.textfield.filled .form-control.is-valid:focus,
.textfield.filled .form-select.is-valid:focus {
    border-bottom-color: #1cc88a;
    box-shadow: 0 1px 0 0 #1cc88a !important;
}

.textfield.filled .form-control.is-invalid:focus,
.textfield.filled .form-select.is-invalid:focus {
    border-bottom-color: #dc3545;
    box-shadow: 0 1px 0 0 #dc3545 !important;
}

.textfield.filled .form-control.is-valid ~ label,
.textfield.filled .form-select.is-valid ~ label,
.textfield.filled .form-control.is-valid:focus ~ label,
.textfield.filled .form-select.is-valid:focus ~ label {
    color: #1cc88a !important;
}

.textfield.filled .form-control.is-invalid ~ label,
.textfield.filled .form-select.is-invalid ~ label,
.textfield.filled .form-control.is-invalid:focus ~ label,
.textfield.filled .form-select.is-invalid:focus ~ label {
    color: #dc3545 !important;
}

/* FILLED - Estilo maior (56px) */

.textfield.filled .form-control,
.textfield.filled .form-select {
    border: none;
    border-bottom: 1px solid #bdbdbd;
    border-radius: 0;
    background-color: #f2f2f2;
    height: 56px;
    padding: 1.25rem 0.75rem 0.5rem 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    /* LABEL flutuante maior */

    .textfield.filled .form-control ~ label,
    .textfield.filled .form-select ~ label {
        background-color: #f2f2f2;
        top: 18px;
        font-size: 16px;
        color: #a9a9a9;
        left: 10px;
        transition: all 0.3s ease;
    }

.textfield.filled.has-icon .form-control:focus ~ label,
.textfield.filled.has-icon .form-select:focus ~ label,
.textfield.filled.has-icon .form-control:not(:placeholder-shown) ~ label,
.textfield.filled.has-icon .form-select:valid ~ label {
    left: 10px !important;
}

.textfield.filled .form-control:focus ~ label,
.textfield.filled .form-select:focus ~ label,
.textfield.filled .form-control:not(:placeholder-shown) ~ label,
.textfield.filled .form-select:valid ~ label {
    top: 4px !important;
    font-size: 12px;
    color: var(--input);
    left: 8px !important;
}

/* ÍCONES - FILLED */

.textfield.filled i {
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.textfield.filled.has-icon .form-control,
.textfield.filled.has-icon .form-select {
    padding-left: 44px !important;
}

.textfield.filled.has-icon label {
    margin-left: 30px !important;
}

.textfield.filled.has-icon i {
    padding-left: 5px;
}

/* VALID / INVALID - FILLED */

.textfield.filled .form-control.is-valid:focus,
.textfield.filled .form-select.is-valid:focus {
    border-color: #1cc88a !important;
    box-shadow: 0 1px 0 0 #1cc88a !important;
}

.textfield.filled .form-control.is-valid,
.textfield.filled .form-select.is-valid {
    border-color: #1cc88a !important;
}

.textfield.filled .form-control.is-invalid,
.textfield.filled .form-select.is-invalid {
    border-color: #dc3545;
}

    .textfield.filled .form-control.is-invalid:focus,
    .textfield.filled .form-select.is-invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 1px 0 0 #dc3545 !important;
    }

.textfield.filled .form-control.is-valid ~ label,
.textfield.filled .form-select.is-valid ~ label,
.textfield.filled .form-control.is-valid:focus ~ label,
.textfield.filled .form-select.is-valid:focus ~ label {
    color: #1cc88a !important;
}

.textfield.filled .form-control.is-invalid ~ label,
.textfield.filled .form-select.is-invalid ~ label,
.textfield.filled .form-control.is-invalid:focus ~ label,
.textfield.filled .form-select.is-invalid:focus ~ label {
    color: #dc3541 !important;
}

.textfield input:disabled,
.textfield select:disabled {
    background-color: transparent !important;
    opacity: 1 !important;
    color: #bbbbbb;
}

    .textfield input:disabled ~ label,
    .textfield select:disabled ~ label {
        background-color: #ffffff !important;
        opacity: 1;
        color: #bbbbbb !important;
    }

.textfield input:disabled,
.textfield select:disabled {
    border-color: #bbbbbb !important;
}

    .textfield input:disabled ~ i,
    .textfield select:disabled ~ i {
        color: #bbbbbb !important;
    }

.form-control.is-invalid ~ .validation-msg,
.form-select.is-invalid ~ .validation-msg {
    color: #dc3545;
    display: block;
}

.form-control ~ .validation-msg,
.form-select ~ .validation-msg {
    display: none;
}

.bg-warning {
    background-color: #EFA31D !important;
    color: #FFF !important;
}

.bg-danger {
    background-color: var(--danger) !important;
    color: #FFF;
}

.bg-success {
    background-color: var(--success) !important;
    color: #FFF !important;
}

.table-group-divider {
    border-top: calc(var(--bs-border-width) * 2) solid rgb(133 135 150 / 26%);
}

.table .dt-empty {
    text-align: center !important;
}

.pagination_page button {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #f5f6f9 !important;
    border: 0;
}

    .pagination_page button:disabled {
        color: #b1b1b1;
    }

.modal-header {
    border-bottom: 0 !important;
}

.modal-footer {
    border-top: 0 !important;
}


table.dataTable th.dt-type-numeric div.dt-column-header,
table.dataTable th.dt-type-numeric div.dt-column-footer,
table.dataTable th.dt-type-date div.dt-column-header,
table.dataTable th.dt-type-date div.dt-column-footer,
table.dataTable td.dt-type-numeric div.dt-column-header,
table.dataTable td.dt-type-numeric div.dt-column-footer,
table.dataTable td.dt-type-date div.dt-column-header,
table.dataTable td.dt-type-date div.dt-column-footer {
    flex-direction: row !important;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
    text-align: left !important;
}


.placeholder {
    border-radius: 3px;
    height: 30px;
}

.placeholder-glow .placeholder {
    animation: placeholder-glow 1.4s ease-in-out infinite;
}

@@keyframes placeholder-glow {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}
