

/* site.css */
:root {
    --tt-blue-1: #1089C1;
}

/* Checkbox Bootstrap: fundo azul claro e "V" mais grosso em azul escuro */
.form-check-input[type="checkbox"]:checked {
    background-color: rgb(132, 212, 239) !important;
    border-color: rgb(132, 212, 239);
    /* traço grosso, cantos arredondados */
    --bs-form-check-bg-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%230F78AE' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-image: var(--bs-form-check-bg-image);
}

.form-check-input[type="checkbox"]:focus {
    border-color: rgb(132, 212, 239);
    box-shadow: 0 0 0 .25rem rgba(132, 212, 239, .35);
}



/* define as variáveis para a classe */
.tt-blue-1 {
    --bs-tooltip-bg: var(--tt-blue-1);
    --bs-tooltip-color: #fff;
}

    /* força o fundo/texto */
    .tt-blue-1 .tooltip-inner {
        background-color: var(--tt-blue-1) !important;
        color: #fff !important;
    }

    /* seta para cada direção */
    .tt-blue-1.bs-tooltip-top .tooltip-arrow::before,
    .tt-blue-1.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
        border-top-color: var(--tt-blue-1) !important;
    }

    .tt-blue-1.bs-tooltip-end .tooltip-arrow::before,
    .tt-blue-1.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
        border-right-color: var(--tt-blue-1) !important;
    }

    .tt-blue-1.bs-tooltip-bottom .tooltip-arrow::before,
    .tt-blue-1.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
        border-bottom-color: var(--tt-blue-1) !important;
    }

    .tt-blue-1.bs-tooltip-start .tooltip-arrow::before,
    .tt-blue-1.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
        border-left-color: var(--tt-blue-1) !important;
    }

/* suporte ao tema dark do BS 5.3+ */
[data-bs-theme="dark"] .tt-blue-1 {
    --bs-tooltip-bg: var(--tt-blue-1);
    --bs-tooltip-color: #fff;
}

/* Botões de permissão desabilitados */
button[data-perm-disabled="true"],
button[data-perm-disabled="true"]:hover,
button[data-perm-disabled="true"]:focus {
    cursor: not-allowed !important;
}
[data-perm-disabled="true"] {
    cursor: not-allowed !important;
}

html {
    font-size: 14px;
}

html, body {
    height: 100%; /* base: ocupa viewport */
    min-height: 100vh; /* garante altura total */
    margin: 0;
}

#page-content-wrapper {
    min-height: calc(100vh - 53px);
    background-color: #f5f7fa;
    padding: 0;
}

#bulkActions.collapse.show {
    display: block !important;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


.text-azul-1 {
    color: #0f78b6;
}

.text-azul-2 {
    color: #275175 !important;
}


.animate-top {
    position: relative;
    animation-name: cont;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes cont {
    0% {
        top: -1000px;
    }

    100% {
        top: 0px;
    }
}

.text-dark-1 {
    color: rgb(92 101 109) !important;
}

.w-60 {
    width: 60% !important;
}


/* Definição da animação */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Classe para o ícone “pulando” */
.icon-bounce {
    display: inline-block; /* necessário para transform funcionar bem */
    animation: bounce 1s infinite; /* duração 1s, repete pra sempre */
}

/* utilitário para remover todo o padding */
.padding-0 {
    padding: 0 !important;
}

.border-azul-1 {
    border-color: #0f78ae !important
}


/* Imagem de fundo de login */
.bg-login-image {
    background-image: url('/Img/BackGroundLogin.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
}

/* Foco em formulários e botões */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.toast {
    width: 550px !important;
    max-width: 100%;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}


.toast-custom-width {
    width: 500px !important;
}

.rounded-4 {
    border-radius: 0.4rem !important;
}

.rounded-5 {
    border-radius: 0.5rem !important;
}




.card {
    border-radius: .5rem !important;
}

.card-header {
    border-top: 0.5rem !important;
}


.card-footer {
    border-bottom: 0.5rem !important;
}
.card-header:first-child {
    border-radius: calc(.5rem - 1px) calc(.5rem - 1px) 0 0;
}
    .card-footer:last-child {
        border-radius: 0 0 calc(.5rem - 1px) calc(.5rem - 1px);
    }

/* Apenas para visualizar onde o raio aplica */
/*.card, .card-header, .card-footer {
    background-color: rgba(255,0,0,0.4) !important;*/ /* vermelho translúcido */
/*}*/




.w-40 {
    width: 40% !important;
}
/* Header */
.header {
    position: relative;
    min-height: 42px;
}

.container-xxxl {
    width: 100% !important;
    max-width: 2000px !important;
    margin-inline: auto;
}

@media (min-width: 1400px) {
    .container-xxxl {
        max-width: 2000px !important;
    }
}



.bg-azul-ska-3 {
    background-color: #02588b !important;
    color: #fff !important;
}

.bg-azul-ska-2 {
    background-color: #275175 !important;
    color: #fff !important;
}

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

.bg-azul-ska-1 {
    background-color: #0f78ae !important;
    color: #fff !important;
}

.bg-gray-ska-1 {
    background-color: #dcdee0 !important;
    color: #2f2f2f !important;
}

.bg-gray-ska-2 {
    background-color: #4a525e !important;
    color: white !important;
}


.btn {
    border-radius: 0.4rem !important;
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
}


.navbar {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}

.nav-link {
    padding-top: 0 !important;
    padding-bottom: 0rem !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.table-responsive {
    overflow: visible !important;
}



.icon-nav-bar {
    width: 10rem !important;
    margin-left: 0rem !important;
    margin-bottom: 5px !important;
}

.icon-nav-bar-right {
    width: 10rem !important;
    margin-bottom: 5px !important;
}

.retangulo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 254px;
    height: 100%;
    background-color: #0f78b6;
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
}


.table-responsive .dropdown {
    position: relative !important;
}

.table-responsive .dropdown-menu {
    left: auto !important;
    right: 16px !important;
    transform: translate(0, 0) !important;
}



/* ícones coloridos */
.icon-blue {
    color: #0ea5e9;
}

.icon-red {
    color: #ef4444;
}

.icon-green {
    color: #22c55e;
}

.icon-orange {
    color: #f97316;
}

.icon-cyan {
    color: #06b6d4;
}

.icon-pink {
    color: #ec4899;
}

.icon-purple {
    color: #8b5cf6;
}


.dropdown-item:hover {
    background-color: #8fdbff98 !important;
}


/* Links não-ativos: fundo branco, texto cinza e borda cinza */
.pagination .page-link{
  background-color:#fff !important;
  color:#6c757d !important;
  border:1px solid #6c757d !important;
}

/* Item ativo permanece azul */
.pagination .page-item.active .page-link {
    background-color: #0f78ae !important;
    color: #ffffff !important;
    border-color: #0f78ae !important;
}

/* Hover nos links não-ativos (opcional) */
.pagination .page-link:hover {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
}

.table-bordered > :not(caption) > * {
    border-width: 0px 0 !important;
}

:root {
    --page-btn-size: 30px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-inline-size: var(--page-btn-size); /* mesma largura */
    block-size: var(--page-btn-size); /* mesma altura */
    padding: 0; /* evita variação por padding */
    box-sizing: border-box;
}

/* opcional: ícone centralizado */
.pagination .page-link i {
    line-height: 1;
}


.search-mark {
    color: orangered;
    font-weight: bold;
    text-decoration: underline;
}

.sortable-header {
    text-decoration: none !important;
}

    .sortable-header:hover {
        text-decoration: none !important;
    }



.shadow-1 {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.shadow-2 {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.shadow-2,
.btn {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}


.shadow-3 {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

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

.shadow-5 {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.shadow-6 {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.shadow-7 {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

.shadow-8 {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.shadow-nav {
    box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.3);
}




/* Modal e spinner */
#modalBackground {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(192,192,192,.5);
    z-index: 9999;
}

#loadingSpinner {
    display: none;
    z-index: 9999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader {
    --clr: #006398;
    width: 100px;
    height: 100px;
    position: relative;
}

    .loader:before,
    .loader:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 100%;
        border: 15px solid transparent;
        border-top-color: var(--clr);
    }

    .loader:before {
        z-index: 9999;
        animation: spin 1s infinite;
    }

    .loader:after {
        border: 15px solid rgb(26,154,212);
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

/* Cursor pointer genérico */
.cursor:hover {
    cursor: pointer;
}

/* Em seu CSS principal (por exemplo site.css) */
input[type="checkbox"] {
    cursor: pointer;
}

/* Cursor pointer para controles clicáveis */
input[type="checkbox"],
input[type="radio"],
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
select,
.btn {
    cursor: pointer;
}

.offcanvas-36 {
    width: 40% !important;
    max-width: 100% !important;
}


/* Aplica padding p-1 (0.25rem) em cada <li> dentro de .dropdown-menu */
.dropdown-menu > li {
    padding: 0.2rem !important;
}

    /* Aplica border-radius rounded-3 (0.75rem) a todos os .dropdown-item (<a> ou <button>) dentro de cada <li> */
    .dropdown-menu > li > .dropdown-item {
        border-radius: 0.3rem !important;
    }

.dropdown-menu {
    z-index: 2000;
    padding: .2rem .2rem !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


/*-----------------------------------------------------@MEDIA-----------------------------------------------*/
@media (min-width: 320px) and (max-width: 768px) {
    .radius-login {
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
        border-bottom-left-radius: 0px !important;
    }

    label, select, input, button {
        font-size: 100% !important;
    }

    /* remove o recuo lateral no content-wrapper */
    #content-wrapper {
        margin-left: 0 !important;
        transition: none !important;
    }

    .col-3, .col-2 {
        width: 100% !important;
    }

    .col-6, .col-4 {
        width: 100%;
    }

    .col6 #loginSKA {
        width: 90% !important;
    }

    .container-fluid {
        width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        /* margin-left: 0 !important;*/
    }

    .mobile-hover-underline:hover {
        text-decoration: underline;
    }

    .mt-10 {
        margin-top: 3rem !important;
    }

    .fs-4 {
        font-size: 1rem !important;
    }

    h1, h2 {
        font-size: calc(1.5rem + 1.5vw);
    }

    .fs-5 {
        font-size: 1.2rem !important;
    }

    .center-content {
        margin: 8%;
    }

    .mb-5 {
        margin-bottom: 10% !important;
    }

    .row, .mr-3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-left: 0;
        margin-right: 0 !important;
    }

    .padding-login {
        padding-top: 20% !important;
        margin-left: 4%;
        margin-right: 4%;
    }

    .img-logo {
        width: 45%;
    }

    th {
        display: none !important;
        width: auto !important;
        text-align: left !important;
    }

    .col-s-11 {
        width: 100% !important;
    }

    td {
        display: block !important;
        width: auto !important;
        text-align: center !important; /* Centraliza o conteúdo */
    }

    .table td {
        padding: 2% !important;
    }

    .col-s-1 {
        flex: none !important; /* Define flex como "none" para desativar o comportamento flexível */
        width: auto !important; /* Define a largura como "auto" para que as colunas sejam dimensionadas automaticamente */
    }


    .navbar {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 50px !important; /* Altura desejada para o navbar */
    }

    .navbar-toggler {
        margin-left: 24rem;
        margin-top: 2px;
    }

    .retangulo {
        width: 40% !important;
    }

        .retangulo img {
            width: 82% !important;
            margin-left: 10px;
        }

    .navbar-toggler {
        position: relative;
    }

        .navbar-toggler .hamburguer-menu {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

    .ml-16 .ml-14 {
        padding-left: 0 !important;
    }



    .offcanvas-body {
        padding: 5px;
    }

    .hidden {
        display: none !important;
    }

    .animated-dropdown-td {
        transition: all 0.6s ease;
        animation: fadeInDown 0.6s forwards;
    }

    .mobile-bg-change {
        background-color: #275175 !important; /* Substitua pela cor desejada */
        color: white;
    }


    .animateLateralToast {
        animation-name: slideInDown !important;
        animation-duration: 0.8s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes slideInDown {
        0% {
            opacity: 0;
            transform: translateY(-100%);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .toast-custom-width {
        margin-top: 0px;
        /*  width:360px !important;*/
    }
}
/* Animação para telas maiores (da direita para a esquerda) */
@media (min-width: 769px) {
    .animateLateralToast {
        animation-name: slideInDown !important;
        animation-duration: 0.8s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes slideInDown {
        0% {
            opacity: 0;
            transform: translateY(-100%);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .toast-custom-width {
        margin-top: 0px;
        /*  width: 360px !important;*/
    }
}
/* Estilos gerais para o footer no mobile */
.mobile-footer {
    display: none; /* Escondido por padrão */
}



/* Exibe o footer apenas em telas pequenas */
@media (max-width: 768px) {
    /* Ocultar o header em dispositivos móveis */
    .logo-header {
        display: none !important;
    }

    body {
        padding-top: 0 !important; /* Remove o padding superior */
    }

    /* Exibir o footer e fixá-lo no fundo da tela */
    .mobile-footer {
        display: block !important;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 1000;
    }


    /* Estilo adicional para garantir que o navbar no footer ocupe a largura completa */
    .mobile-footer .navbar {
        width: 100%;
        justify-content: space-around; /* Distribui os ícones igualmente */
    }

        /* Ajuste o tamanho dos ícones no footer */
        .mobile-footer .nav-link i {
            font-size: 1.8rem; /* Tamanho dos ícones */
        }

    .mobile-hover-underline:hover {
        text-decoration: underline;
    }

    .col-empresa {
        max-width: 100% !important;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .border-mobile {
        border: 1px solid var(--bs-primary) !important; /* Utiliza a cor 'primary' do Bootstrap */
    }


    .card-A3 {
        width: 100% !important;
        margin: 0 auto !important; /*Centralizar o card na página */
        margin-bottom: 20px !important;
    }


        .card-A3 .fs-2-2 {
            font-size: 25px !important;
        }

        .card-A3 .fs-1-1 {
            font-size: 26px !important;
        }

        .card-A3 .fs-4-4 {
            font-size: 15px !important;
        }

        .card-A3 .fs-5 {
            font-size: 15px !important;
        }

    .row-this {
        margin-right: calc(var(--bs-gutter-x) * -1.5) !important;
        margin-left: calc(var(--bs-gutter-x) * -1.5) !important;
    }
}

/* Em telas maiores, o footer permanece escondido */
@media (min-width: 769px) {
    .mobile-footer {
        display: none;
    }
}

.offcanvas-bottom {
    height: 25vh;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


/*.offcanvas-bottom {
    height: auto;*/ /* Ajusta a altura automaticamente conforme o conteúdo */
    /*max-height: 100vh;*/ /* Garante que o offcanvas não exceda a altura total da tela */
    /*overflow-y: auto;*/ /* Adiciona scroll se o conteúdo exceder a altura da tela */
    /* margin-bottom: 3.5rem;*/
/*}*/

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

@media (min-width: 769px) and (max-width: 1200px) {
    .radius-login {
        border-top-left-radius: 20px !important;
        border-top-right-radius: 0px !important;
        border-bottom-left-radius: 20px !important;
    }

    .row-cols-md-5 > * {
        flex: 0 0 auto !important;
        width: 30% !important;
    }

    .fs-4 {
        font-size: 1.2rem !important;
    }
}

@media (min-width: 1280px) and (max-height: 768px) {
    html {
        font-size: 14px;
    }

    .card-info {
        padding: 5% !important;
    }

    .padding-login nav {
        padding-top: 3% !important;
    }

    .btn, fs-5 {
        max-height: 3rem !important;
    }

    .fs-3, .fs-2 {
        font-size: 1.5rem !important;
    }

    .fs-5 {
        font-size: 1.0rem !important;
    }

    .fs-4 {
        font-size: 1.0rem !important;
    }

    .fs-6 {
        font-size: 0.9rem !important;
    }

    .fs-7 {
        font-size: 0.8rem !important;
    }

    tr {
        font-size: 0.85rem !important;
    }

    h2 {
        font-size: 18px;
        font-family: Arial Black,Arial Bold,Gadget,sans-serif !important;
        margin-top: 0;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    h1 {
        font-size: 18px;
        font-family: Arial Black,Arial Bold,Gadget,sans-serif !important;
        margin-top: 0;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    /*    .mb-10 {
        margin-bottom: 5rem !important;
    }*/

    .mb-15 {
        margin-bottom: 9rem !important;
    }

    .padding-login {
        padding-top: 5% !important;
    }

        .padding-login img {
            width: 70% !important;
        }

        .padding-login .card {
            width: 40%;
        }

        .padding-login input {
            height: calc(2.5rem + 2px) !important;
        }

        .padding-login select {
            height: calc(2.5rem + 2px) !important;
        }

        .padding-login .form-floating > label {
            padding: 0.5rem .75rem !important;
            height: 100%;
        }

        .padding-login .mb-3 {
            margin-bottom: 0.2rem !important;
        }

        .padding-login .mb-5 {
            margin-bottom: 2rem !important;
        }

    table td, table th {
        padding: 4px !important;
        font-size: 10px;
    }
}

/*Tela 1366 x 768*/
@media (min-width: 1280px) and (max-width: 1400px) {
    .container, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
        max-width: 1350px !important;
    }


    table td, table th {
        font-size: 0.95rem !important;
    }

    td span {
        font-size: 0.85rem !important;
    }


    .vh-80 {
        height: 80vh !important;
    }

    .mt-10 {
        margin-top: 4rem !important;
    }

    .fs-4-sm {
        font-size: 1rem !important;
    }

    .fs-3 {
        font-size: 1.2rem !important;
    }

    .card .fs-6 {
        font-size: 90% !important;
    }

    .card .fs-5 {
        font-size: 90% !important;
    }

    .card p {
        font-size: 85% !important;
    }

    .col-s-11 {
        flex: 0 0 auto !important;
        width: 14% !important;
    }

    .col-sm-1 {
        flex: 0 0 auto;
        width: 10.5%;
    }

    .fixed-buttons-container { /*Botoes relatório */
        left: 10rem !important;
    }

    .card-A3 {
        width: 100% !important;
        margin: 0 auto !important; /*Centralizar o card na página */
        margin-bottom: 20px !important;
    }

    .table-container .fs-4-4 {
        font-size: 15px !important; /* Tamanho da largura da imagem em relação ao tamanho do contêiner pai */
    }

    .card-A3 .fs-2-2 {
        font-size: 25px !important;
    }

    .card-A3 .img-fluid {
        width: 95% !important;
    }

    .card-A3 .fs-1-1 {
        font-size: 26px !important;
    }

    .card-A3 .fs-4-4 {
        font-size: 15px !important;
    }

    .card-A3 .fs-5 {
        font-size: 15px !important;
    }

    .row-this {
        display: block !important;
    }

    label {
        font-size: 85% !important;
    }



    .fa-bell {
        font-size: 1.2rem !important; /* Ajuste o valor conforme necessário */
    }
}




.fs-6 {
    font-size: 1.0rem !important;
}

@media (min-width: 1440px) {
    .container-xxl, .container-xl, .container-lg, .container-sm {
        max-width: 1850px !important;
    }

    .padding-login {
        padding-top: 15% !important;
    }

    .col-s-11 {
        flex: 0 0 auto;
        width: 11%;
    }

    .fs-4-sm, .fs-3 {
        font-size: 1.4rem;
    }
}


/*-----------------------------------------------FINAL @MEDIA-----------------------------------------------*/
/* base para todos os selects de filtro */
select.filtro-select {
    transition: background-color .2s, color .2s, border-color .2s;
}

    /* só fica azul quando tiver classe filtro-ativo */
    select.filtro-select.filtro-ativo,
    select.filtro-select.filtro-ativo:focus {
        background-color: #0f78ae !important;
        color: #fff !important;
        border-color: #0f78ae !important;
        background-image: none !important; /* remove seta padrão */
        box-shadow: 0 0 0 0.2rem rgba(15,120,182,0.5) !important;
    }


/* 1) Só o select “ativo” fica azul */
select.filtro-ativo {
    background-color: #0f78ae !important;
    color: #fff !important;
}

    /* 2) As opções, sempre branco (mesmo com o select azul) */
    select.filtro-ativo option {
        background-color: #fff !important;
        color: #000 !important;
    }





/* Aumenta o peso da fonte e a espessura da linha de underline */
.nav-underline .nav-link.active {
    color: #0f78b6; /* cor primária do Bootstrap */
    font-weight: 300; /* semi-bold */
    border-bottom: 2px solid #0f78b6; /* underline mais grosso */
}


/*.icon-nav-bar {
    width: 10rem;
    margin-left: 0rem;
    margin-bottom: 1px;
}*/

.input-validation-error {
    border-color: #dc3545 !important; /* vermelho bootstrap */
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.25); /* sombra vermelha */
}




.access-denied-wrapper {
    position: relative;
    text-align: center;
}

    .access-denied-wrapper img {
        width: 80%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

.access-denied-card {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 34rem;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    color: white; /* Cor do texto */
    border-radius: 50px !important;
    font-size: 14px; /* Tamanho da fonte */
    font-weight: 500; /* Negrito */
    text-decoration: none;

}



.badge-yellow {
    background-color: #f9e578 !important;
}

.badge-purple-media {
    background-color: #7041d1c2;
    color: #fff;
}


.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    text-align: left;
    vertical-align: bottom;
}



/* círculos simples */
.legend-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 4px;
}

.status-comp {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-block;
    background: conic-gradient( var(--status) 0deg 180deg, var(--comp) 180deg 270deg, var(--service) 270deg 360deg );
}

.header-highlight {
    background-color: #fd7e14 !important; /* laranja */
    color: #ffffff !important; /* texto branco */
}


/*    @media (max-width: 767.98px) {
        .custom-offcanvas-mobile-full {
            width: 100vw !important;
            max-width: 100vw !important;
        }
    }*/
@media (max-width: 767.98px) {
    .offcanvas.custom-responsive {
        --bs-offcanvas-width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
    }
}
.border-azul-ska-3 {
  border: 2px solid #02588b !important;
}


.top-end-overlay {
    top: 0px !important;
    right: -5px !important;
}


.custom-scrollable {
    max-height: 500px; /* ajuste conforme a necessidade */
    overflow-y: auto; /* habilita scroll vertical */
    /* mantém o scroll horizontal do bootstrap */
    overflow-x: auto;
}

@media (max-width: 576px) {
    .wizard-card {
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

        .wizard-card .card-header,
        .wizard-card .card-footer {
            background-color: transparent !important;
            border: 0 !important; /* remove inclusive o border-top */
            box-shadow: none !important;
        }
}

.main-center {
    min-height: calc(100vh - 70px);
}






/* From Uiverse.io by kamehame-ha */
/*

This is actually the most neutral button desing of all time,
fits everywhere no matter if it is dark or light mode,
just change colors. 
I created original using tailwindCSS, here's classes:

text-blue-500 bg-blue-500/10 border border-blue-500 rounded-md px-2 py-[2px] text-sm cursor-pointer flex shrink-0
text-yellow-500 bg-yellow-500/10 border border-yellow-500 rounded-md px-2 py-[2px] text-sm cursor-pointer flex shrink-0
text-green-500 bg-green-500/10 border border-green-500 rounded-md px-2 py-[2px] text-sm cursor-pointer flex shrink-0
text-indigo-500 bg-indigo-500/10 border border-indigo-500 rounded-md px-2 py-[2px] text-sm cursor-pointer flex shrink-0

*/

.fade-in-left {
    animation: fadeInLeft 0.3s ease forwards;
}

.fade-out-left {
    animation: fadeOutLeft 0.2s ease forwards;
}

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

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

@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}




.green {
    background-color: rgba(34, 197, 94, 0.10) !important;
    color: #058129 !important;
    border: 0.1rem #058129 solid !important;
}

.brown {
    /* marrom/amber escuro em 10% de opacidade */
    background-color: rgba(146, 64, 14, 0.1) !important;
    color: rgb(146, 64, 14) !important;
    border: 0.1rem solid rgb(146, 64, 14) !important;
}

.pink {
    /* pink-500 em 10% de opacidade */
    background-color: rgba(236, 72, 153, 0.1) !important;
    color: rgb(219, 39, 119) !important; /* Um tom ligeiramente mais escuro para leitura */
    border: 0.1rem solid rgb(219, 39, 119) !important;
}

.gray {
    background-color: rgba(156, 163, 175, 0.1) !important;
    color: rgb(156, 163, 175) !important;
    border: 0.1rem solid rgb(156, 163, 175) !important;
}

.gray-dark {
    /* cinza mais escuro */
    background-color: rgba(107, 114, 128, 0.1) !important;
    color: rgb(73 74 77) !important;
    border: 0.1rem solid rgb(73 74 77) !important;
}

.purple {
    /* purple-500 em 10% de opacidade */
    background-color: rgba(139, 92, 246, 0.1) !important;
    color: rgb(139, 92, 246) !important; /* purple-500 */
    border: 0.1rem solid rgb(139, 92, 246) !important;
}

.yellow {
    /* yellow-500 em 10% de opacidade */
    background-color: rgba(234, 179, 8, 0.1) !important;
    color: #936e00 !important;
    border: 0.1rem solid rgb(255 193 0) !important;
}

.red {
    /* red-500 em 10% de opacidade */
    background-color: rgba(219, 38, 38, 0.23) !important;
    color: rgb(239, 68, 68) !important; /* red-500 */
    border: 0.1rem solid rgb(239, 68, 68) !important;
}


.blue {
    /* blue-500 em 10% de opacidade */
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: rgb(5, 90, 232) !important; /* blue-500 */
    border: 0.1rem solid rgb(5, 90, 232) !important;
}

.badge.blue {
    --bs-badge-bg: rgba(59, 130, 246, 0.1);
    --bs-badge-color: rgb(5, 90, 232);
    border: 0.1rem solid rgb(5, 90, 232);
}


.orange {
    /* orange-500 em 10% de opacidade */
    background-color: rgba(249, 115, 22, 0.1) !important;
    color: rgb(249, 115, 22) !important; /* orange-500 */
    border: 0.1rem solid rgb(249, 115, 22) !important;
}

.teal {
    /* Teal-500 (aprox) com 10% de opacidade */
    background-color: rgb(196, 61, 190, 0,20) !important;
    color: rgb(13, 148, 136) !important; /* Teal-600 para leitura */
    border: 0.1rem solid rgb(13, 148, 136) !important;
}

.badge.teal {
    --bs-badge-bg: rgba(20, 184, 166, 0.1);
    --bs-badge-color: rgb(13, 148, 136);
    border: 0.1rem solid rgb(13, 148, 136);
}

/* Orange-600 (Aprox. #ea580c) */
/* Tom Orange-700 (Ferrugem/Tijolo) */
.orange-dark {
    /* Fundo com 10% de opacidade */
    background-color: rgba(194, 65, 12, 0.1) !important;
    /* Texto opaco - cor forte para leitura */
    color: rgb(194, 65, 12) !important;
    /* Borda sólida */
    border: 0.1rem solid rgb(194, 65, 12) !important;
}

.badge.orange-dark {
    --bs-badge-bg: rgba(194, 65, 12, 0.1);
    --bs-badge-color: rgb(194, 65, 12);
    border: 0.1rem solid rgb(194, 65, 12);
}




/*Cores TARGET SKA*/

.target-green {
    background-color: rgba(110, 212, 110, 0.10) !important;
    color: #468746 !important;
    border: 0.1rem #468746 solid !important;
}

.target-green-2 {
    background-color: rgba(59, 181, 74, 0.10) !important;
    color: #2a8235 !important;
    border: 0.1rem #2a8235 solid !important;
}

.target-orange {
    background-color: rgba(255, 163, 0, 0.10) !important;
    color: #cc8200 !important;
    border: 0.1rem #cc8200 solid !important;
}

.target-blue-1 {
    background-color: rgba(110, 161, 212, 0.10) !important;
    color: #6ea1d4 !important;
    border: 0.1rem #6ea1d4 solid !important;
}

.target-gray {
    background-color: rgba(104, 104, 104, 0.10) !important;
    color: #343434 !important;
    border: 0.1rem #343434 solid !important;
}

.target-yellow {
    background-color: rgba(255, 222, 0, 0.10) !important;
    color: #ccb100 !important;
    border: 0.1rem #ccb100 solid !important;
}

.target-danger {
    background-color: rgb(243, 48, 33, 0,77) !important;
    color: #bc3a31 !important;
    border: 0.1rem #bc3a31 solid !important;
}

.text-dark-blue {
    color: #324a63;
}
.upload-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 120px;
    border: 2px dashed #6c757d;
    border-radius: .5rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

    .upload-dropzone .dz-text {
        pointer-events: none;
        color: #6c757d;
    }

    .upload-dropzone.dragover {
        background-color: #f8f9fa;
        border-color: #495057;
    }
    /* input invisível mas cobrindo tudo */
    .upload-dropzone input[type=file] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }




    /* mantém a lista rolável */
    .upload-dropzone .dz-list {
        width: 100%;
        margin: .5rem 0 0;
        padding: 0;
        list-style: none;
        flex: 1; /* ocupa todo o espaço restante */
        overflow-y: auto; /* rolagem vertical */
    }




/* atualizado: sem fundo */
.countdown {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    background: transparent
}

.cc-num {
    font-variant-numeric: tabular-nums;
    font-size: clamp(1.6rem,3vw,2.2rem);
    font-weight: 700;
    line-height: 1
}

.cc-label {
    margin-left: .25rem;
    font-size: .875rem;
    color: #6b7280
}

.cc-sep {
    opacity: .55;
    font-weight: 600;
    margin: 0 .25rem
}





.tooltip-fixed {
    position: absolute;
    background: #3881ef;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    white-space: normal;
    width: 220px;
    font-size: 14px;
    animation: floatY 1.5s infinite ease-in-out;
    z-index: 1000;
    display: none; /* começa oculto */
}

    .tooltip-fixed .tooltip-arrow {
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #3881ef;
    }

    .tooltip-fixed .tooltip-close {
        position: absolute;
        top: 0px;
        color: white;
        right: 4px;
        border: none;
        background: none;
        font-size: 18px;
        cursor: pointer;
    }

@keyframes floatY {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}



.btn-outline-blueSka-1 {
    color: #0f78ae;
    border-color: #0f78ae;
}

    .btn-outline-blueSka-1:hover {
        color: #fff;
        background-color: #0f78ae;
        border-color: #0f78ae;
    }



.edited-flag {
    display: inline-block;
    margin-left: .25rem;
    opacity: 0;
    transition: opacity .25s
}

.edited-flag.show {
    opacity: 1
}

/* 1366 x 768 (faixa segura) */
@media (max-width: 1540px) {
    .navbar {
        padding-top: 0.25rem !important;
    }

    .table thead th {
        font-size: 1rem; /* antes: 0.875rem */
    }

    .table tbody td,
    .table tbody th {
        font-size: 0.85rem; /* antes: ~0.875rem */
    }
/*
    .table > :not(caption) > * > * {
        padding: .5rem .5rem !important;
    }*/

    .table-responsive {
        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    #page-content-wrapper {
        min-width: 0;
    }
    /* essencial em layouts flex */

}






/* Header com gradiente */
#notificationsModal .gradient-header {
    background-image: linear-gradient(135deg, #0f78b6 5%, #06344f 100%);
    color: #fff;
}

#notificationsModal .gradient-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: .85;
}
/* Footer fixo dentro do modal rolável */
#notificationsModal .sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -6px 16px rgba(0,0,0,.08);
}
/* Espaço para o conteúdo não colar no footer */
#notificationsModal .modal-body {
    padding-bottom: .5rem;
}



/* Gradientes prontos para TODAS as cores do Bootstrap 5 */
/* Use APENAS a classe, ex.: .gradient-primary, .gradient-danger, etc.  */

.gradient-azul-ska {
    background-image: linear-gradient(135deg, #0f78b6 5%, #06344f 100%);
    color: #fff;
}

.gradient-primary {
    --g1: var(--bs-primary, #0d6efd);
    --mix: 30%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-secondary {
    --g1: var(--bs-secondary, #6c757d);
    --mix: 30%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-success {
    --g1: var(--bs-success, #198754);
    --mix: 28%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-info {
    --g1: var(--bs-info, #0dcaf0);
    --mix: 38%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-warning {
    --g1: var(--bs-warning, #ffc107);
    --mix: 35%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #212529; /* melhor contraste em amarelos */
}

.gradient-danger {
    --g1: var(--bs-danger, #dc3545);
    --mix: 30%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-light {
    --g1: var(--bs-light, #f8f9fa);
    --mix: 25%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #212529; /* claro -> texto escuro */
}

.gradient-dark {
    --g1: var(--bs-dark, #212529);
    --mix: 25%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}


.gradient-indigo {
    --g1: var(--bs-indigo, #6610f2);
    --mix: 28%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-purple {
    --g1: var(--bs-purple, #6f42c1);
    --mix: 28%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-pink {
    --g1: var(--bs-pink, #d63384);
    --mix: 30%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}


.gradient-orange {
    --g1: var(--bs-orange, #fd7e14);
    --mix: 33%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}



.gradient-teal {
    --g1: var(--bs-teal, #20c997);
    --mix: 32%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

.gradient-cyan {
    --g1: var(--bs-cyan, #0dcaf0);
    --mix: 38%;
    background-image: linear-gradient(135deg, var(--g1) 5%, color-mix(in srgb, var(--g1), #000 var(--mix)) 100%);
    color: #fff;
}

/* Close mais visível em headers escuros */
[class*="gradient-"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: .85;
}
/* Em fundos claros, mantenha o close padrão */
.gradient-light .btn-close,
.gradient-warning .btn-close,
.gradient-yellow .btn-close {
    filter: none;
    opacity: .75;
}


.offcanvas .offcanvas-body {
    flex: 1;
    overflow: auto
}

.offcanvas-footer {
    position: sticky;
    bottom: 0;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    padding: .75rem 1rem;
    z-index: 5
}

/* Remove borda de todos os offcanvas */
.offcanvas-end {
    border-left: none;
}





/* =========================================
       ESTILOS PARA LINHA/CARD CONFLITANTE (ID 57)
       ========================================= */

/* --- DESKTOP (TABELA) --- */
tr.row-conflitante td {
    background-color: #fff3cd !important; /* Fundo amarelo claro */
    border-top: 1.5px solid #ffc107 !important; /* Borda amarela forte */
    border-bottom: 1.5px solid #ffc107 !important;
    border-left: none !important;
    border-right: none !important;
}
    /* Fecha as laterais apenas na primeira e última célula */
    tr.row-conflitante td:first-child {
        border-left: 1.5px solid #ffc107 !important;
    }

    tr.row-conflitante td:last-child {
        border-right: 1.5px solid #ffc107 !important;
    }

/* Mantém o fundo amarelo mesmo no efeito zebrado/hover */
.table-striped tbody tr.row-conflitante:nth-of-type(odd) td {
    background-color: #fff3cd !important;
}

.table-hover tbody tr.row-conflitante:hover td {
    background-color: #ffe69c !important;
}


/* --- MOBILE (CARDS) --- */
.card.row-conflitante {
    background-color: #fff3cd !important; /* Fundo amarelo claro */
    border: 2px solid #ffc107 !important; /* Borda amarela forte em volta de tudo */
}

    /* Ajusta o footer do card para ficar transparente e manter a borda interna amarela */
    .card.row-conflitante .card-footer {
        background-color: transparent !important;
        border-top: 1px solid #ffc107 !important;
    }








