/* --------------------------------- Variáveis Globais --------------------------------- */
/* Tags Customizadas para padronizar esqueletos de views */

/* Container geral */
.patt-container {
    position: relative;
    padding: 30px 0px 0px 22px !important;
    margin: 48px 0px 0px !important;
}

.patt-container>nav {
    position: absolute;
    top: 0;
    right: 20px;
    left: 20px;
    height: 20px;
    margin: 0 !important;
    padding: 0 !important;
}

.patt-breadcrumb {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    height: 20px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    list-style: none;
    color: #8a949d;
    font-size: 11px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.patt-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.patt-navs {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 5px;
    width: 100%;
    margin: 8px 0 16px;
    padding: 4px 4px 0 0;
    border-bottom: 1px solid #b1b7be;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.patt-navs::before,
.patt-navs::after {
    display: none;
    content: none;
}

.patt-navs>li {
    flex: 0 0 auto;
    margin: 0;
}

.patt-navs>li>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #b1b7be;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    background: #fff;
    color: #3d4b5a;
    font-size: 14px;
    font-weight: 200 !important;
    letter-spacing: 0px;
    line-height: 1.2;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.patt-navs>li>a:hover,
.patt-navs>li>a:focus {
    background: #042450;
    border-color: #042450;
    color: #fff;
    text-decoration: none;
}

.patt-navs>li>a:focus {
    outline: none;
    outline-offset: -2px;
}

.patt-navs>li.active>a,
.patt-navs>li.active>a:hover,
.patt-navs>li.active>a:focus {
    border-color: #0a2a56;
    background: #0a2a56;
    color: #fff;
}

.patt-navs .badge {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px !important;
    background: #e7edf4 !important;
    color: #0a2a56 !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    vertical-align: middle;
    transition: background-color 160ms ease, color 160ms ease;
}

.patt-navs>li>a:hover .badge,
.patt-navs>li>a:focus .badge,
.patt-navs>li.active>a .badge,
.patt-navs .badge:hover {
    background: #fff !important;
    color: #0a2a56 !important;
}

@media (max-width: 767px) {
    .patt-navs {
        margin-bottom: 12px;
    }

    .patt-navs>li>a {
        min-height: 30px;
        padding: 6px 9px;
    }

    .patt-navs>li.active>a,
    .patt-navs>li.active>a:hover,
    .patt-navs>li.active>a:focus {
        min-height: 33px;
        padding: 7px 10px 8px;
    }
}

.patt-breadcrumb li+li::before {
    margin: 0 4px;
    color: #c5ccd2;
    content: "/";
}

.patt-breadcrumb a {
    color: #7d8992;
    font-weight: 400;
    text-decoration: none;
    transition: color 160ms ease;
}

.patt-breadcrumb a:hover,
.patt-breadcrumb a:focus {
    color: #4f6878;
    text-decoration: none;
}

.patt-breadcrumb .active {
    color: #596d79;
    font-weight: 600;
}

/* Botoes padronizados dos dialogos SweetAlert */
.swal2-container .swal2-title {
    margin: 0;
    margin-bottom: 10px;
    padding: 0px;
    padding-bottom: 10px;
    color: #04264b;
    font-family: inherit;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
    border-bottom: 1px solid #e9ecef;
}

.swal2-container .swal2-title i {
    margin-right: 7px;
    color: #04264b;
}

.swal2-container .patt-swal-confirm,
.swal2-container .patt-swal-cancel {
    min-width: 92px;
    min-height: 36px;
    margin: 5px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.swal2-container .patt-swal-confirm {
    background: #3e5677 !important;
    color: #ffffff !important;
}

.swal2-container .patt-swal-confirm:hover,
.swal2-container .patt-swal-confirm:focus {
    background: #213d64 !important;
    color: #ffffff !important;
}

.swal2-container .patt-swal-cancel {
    border-color: #d7dde2;
    background: #eef1f3 !important;
    color: #596670 !important;
}

.swal2-container .patt-swal-cancel:hover,
.swal2-container .patt-swal-cancel:focus {
    border-color: #c4cdd4;
    background: #e2e7ea !important;
    color: #43515b !important;
}

@media (max-width: 480px) {
    .swal2-container .swal2-title {
        padding: 16px 18px 6px;
        font-size: 1.35rem;
    }
}

/* Header principal das telas */
.patt-header {
    display: flex;
    position: static !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
    width: 100% !important;
    flex: 0 0 100%;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px 10px 0px !important;
    margin: 0px !important;
}

.patt-header-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.patt-header-title h1 {
    font-size: 2.4rem;
    font-weight: 600;
    padding: 8px 0px;
    margin: 0px !important;
    color: #04264b;
}

.patt-header-title h1 i {
    margin-right: 7px;
    color: #04264b;
}

.patt-header-title p {
    font-size: 13px;
    color: gray;
    margin: 0px !important;
}

/* Header de action (Botões ao lado direito) */
.patt-header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Botões dentro do header de actions */
.patt-header-actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px;
    border: 1px solid var(--buttonSuccess);
    background-color: var(--buttonSuccess);
    color: white !important;
    font-size: 13px !important;
    border-radius: 6px;
    font-weight: 400;
    padding: 5px 10px;
    transition: all 0.2s ease-in-out;
    margin: 0px !important;

    &:hover {
        background-color: var(--hoverSuccess);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    }
}

.patt-table-actions {
    width: 7% !important;
    min-width: max-content !important;
    max-width: 200px !important;
    padding: 8px 13px !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.patt-table-actions:has(> .patt-table-button),
.patt-table-actions :has(> .patt-table-button) {
    column-gap: 6px !important;
}

.patt-table-button {
    display: inline-flex;
    align-items: center !important;
    border: none;
    background: transparent !important;
    margin: 0px !important;
    transition: all 0.2s ease-in-out;
    justify-content: center !important;
    &:hover {
        color: var(--hoverSuccess);
        transform: scale(1.1);
    }
}

.patt-table-button i {
    font-size: 17px !important;
    padding: 0px !important;
}

/* Tag minimalista como 'aberto em' e 'Alternativos' nas notificações */
.tag-small {
    border-radius: 14px;
    padding: 1px 6px;
    background: #e9e9e9;
    border: 0.5px solid #cecece;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 1px 6px;
    background: #e9e9e9;
    border: 0.5px solid #cecece;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-small-blue {
    border-radius: 14px;
    padding: 1px 6px;
    background: #e9f0ff;
    border: 0.5px solid #0c4cac;
    color: #0c4cac;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dfac {
    display: flex !important;
    align-items: center !important;
    display: flex !important;
    align-items: center !important;
}

/* a clicável padrão */
.custom-a-link {
    text-decoration: underline;
    cursor: pointer;
    color: #0a2a56;
    font-weight: 700;
    transition:
        color 200ms ease,
        transform 200ms ease;
    will-change: color, transform;
    text-decoration: underline;
    cursor: pointer;
    color: #0a2a56;
    font-weight: 700;
    transition:
        color 200ms ease,
        transform 200ms ease;
    will-change: color, transform;
}

.small-info-table {
    color: gray;
    display: block;
    font-size: 11px;
    color: gray;
    display: block;
    font-size: 11px;
}

.custom-a-link:hover,
.custom-a-link:focus {
    color: #0a2a56c2;
    transform: translateY(-1px);
    text-decoration: none;
    outline: none;
    color: #0a2a56c2;
    transform: translateY(-1px);
    text-decoration: none;
    outline: none;
}

label.labels {
    font-size: 11px;
    color: gray !important;
    font-size: 11px;
    color: gray !important;
}

/* span em vermelho */
span.red {
    color: rgb(255, 31, 31) !important;
    color: rgb(255, 31, 31) !important;
}

.blue {
    color: #0056b3;
    color: #0056b3;
}

/* Ícone de alvo personalizado */
.custom-target::after {
    font-family: 'Font Awesome 5 Free';
    /* versão do font awesome */
    font-weight: 900;
    content: '\f35d';
    /* unicode do botão */
    display: inline-block;
    margin: 0 5px 0 4px;
    font-size: 0.6em;
    vertical-align: middle;
    color: currentColor;
    /* pega a cor atual do texto */
}

.link-notificacao {
    display: inline-flex;
    align-items: center;
    border: none;
    padding: 0;
    background: transparent;
    color: var(--sidebarCatActived);
    transition: all 0.3s ease-in-out;
    /* só anima a cor */
    display: inline-flex;
    align-items: center;
    border: none;
    padding: 0;
    background: transparent;
    color: var(--sidebarCatActived);
    transition: all 0.3s ease-in-out;
    /* só anima a cor */
}

.link-notificacao:hover {
    color: #043f7e;
    letter-spacing: 0.2px;
    color: #043f7e;
    letter-spacing: 0.2px;
}

.tooltip-header {
    color: white !important;
    font-size: 13px !important;
    align-self: center !important;
    margin: 0px !important;
    transition: 3s all ease-in-out;
    color: white !important;
    font-size: 13px !important;
    align-self: center !important;
    margin: 0px !important;
    transition: 3s all ease-in-out;
}

.tooltip-header:hover {
    font-size: 14px !important;
    font-size: 14px !important;
}

/* Tag de span com o small descritivo abaixo */
.span-small {
    display: flex !important;
    flex-direction: column !important;
    line-height: normal;
    display: flex !important;
    flex-direction: column !important;
    line-height: normal;
}


/* Small texto dentro do span */
.span-small small {
    font-size: 11px !important;
    color: gray !important;
    font-size: 11px !important;
    color: gray !important;
}

/* ---------------------------------- Modal --------------------------------- */

.modal-body {
    max-height: 70vh !important;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 70vh !important;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ------------------------ Badges Customizadas -------------------------- */
.badge-bloqueado {
    background: #212221de;
    border: 1px solid #111111;
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 6px;
    color: #ffffff;
    white-space: nowrap;
    font-weight: 600;
}

.badge-true {
    background: #e6ffe6;
    border: 1px solid #b3ffb3;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 6px;
    color: #317a3c;
    white-space: nowrap;
    font-weight: 600;
}

.badge-false {
    background: #ffeaea;
    border: 1px solid #ffb3b3;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    color: #a94442;
    font-weight: 600;
}

.badge-neutral {
    background: #f0f0f0;
    border: 1px solid #d4d4d4;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 6px;
    color: #606060;
    white-space: nowrap;
    font-weight: 600;
}

.badge-gray {
    background: #f1f3f5;
    border: 1px solid #b1b2b3;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 6px;
    color: #343a40;
    white-space: nowrap;
    font-weight: 600;
}

.action-disabled {
    opacity: 0.4;
    z-index: 10;
    opacity: 0.4;
    z-index: 10;
}

.action-disabled:hover {
    cursor: not-allowed !important;
    cursor: not-allowed !important;
}

.custom-badge-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #082c57 60%, #133968 100%);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    margin: 0px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.205);
    transition:
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;
    cursor: default;
    user-select: none;
}

.custom-badge-cards,
.custom-badge-cards-editar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #082c57 60%, #133968 100%);
    color: #fff;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-weight: 100;
    margin: 3px 0 0 14px;
    vertical-align: middle;
    cursor: pointer;
    transition:
        background 0.18s,
        box-shadow 0.18s,
        transform 0.12s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.205);
    position: relative;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #082c57 60%, #133968 100%);
    color: #fff;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-weight: 100;
    margin: 3px 0 0 14px;
    vertical-align: middle;
    cursor: pointer;
    transition:
        background 0.18s,
        box-shadow 0.18s,
        transform 0.12s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.205);
    position: relative;
    border: none;
}

.custom-badge-cards::after,
.custom-badge-cards-editar::after {
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    right: -5px;
    top: -5px;
    font-weight: 900;
    content: '\f35d';
    display: inline-block;
    font-size: 0.7em;
    background: #ffffff9c;
    border: 1px solid #265fa588;
    color: #265fa5;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.247);
}

.custom-badge-cards-editar::after {
    content: '\f303';
}

.custom-badge-view:hover,
.custom-badge-cards:hover,
.custom-badge-cards-editar:hover,
.custom-badge-cards-editar:focus,
.custom-badge-cards:focus {
    background: linear-gradient(90deg, #265fa5 60%, #022c57 100%);
    box-shadow: 0 4px 16px rgba(45, 111, 192, 0.295);
    transform: scale(1.06);
    outline: none;
    cursor: pointer;
    transition: all 0.18s ease-in-out;
}

/* ---------------------- Botões ------------------------- */

.btn {
    border-radius: 3px;
    background: transparent;
    border-radius: 3px;
    background: transparent;
}

.btn-small {
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
}

button,
.buttons,
.btn,
.modal-footer .btn+.btn {
    margin-bottom: 5px;
    margin-right: 5px;
}

.con003UsuariosVigentes #ativo.btnActive {
    background: #e6ffe6 !important;
    border: 1px solid #b3ffb3 !important;
    color: #317a3c !important;
}

.con003UsuariosVigentes #inativo.btnActive {
    background: #212221de !important;
    border: 1px solid #111111 !important;
    color: #ffffff !important;
}

.con003UsuariosVigentes #bloqueado.btnActive {
    background: #ffeaea !important;
    border: 1px solid #ffb3b3 !important;
    color: #a94442 !important;
}

.btn-light {
    background: white;
    border: 1px solid var(--buttonSuccess);
    height: 3.4rem;
    color: var(--textPrimary);
    font-weight: 500;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    &:hover {
        background-color: var(--hoverLight);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    &:focus {
        outline: none;
    }
}

/* Efeitos do botão padrão */
.btn-default {
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    &:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
}

/* Botão estilo success (azul) */
.btn-success {
    background: var(--buttonSuccess) !important;
    border: none;
    height: 3.4rem;
    color: #fff;
    font-weight: 500;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    &:hover {
        background-color: var(--hoverSuccess) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    &:focus {
        outline: none;
    }

    &:focus {
        outline: none;
    }
}

/* Botão estilo danger (Vermelho) */
.btn-danger {
    background: var(--buttonDanger) !important;
    border: none;
    height: 3.4rem;
    color: #fff;
    font-weight: 500;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    &:hover {
        background-color: var(--hoverDanger) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    &:focus {
        outline: none;
    }

    &:focus {
        outline: none;
    }
}

/* Botão estilo Warning (Amarelo) */
.btn-warning {
    background: var(--buttonWarning) !important;
    border: none;
    height: 3.4rem;
    color: #fff;
    font-weight: 500;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    &:hover {
        background-color: var(--hoverWarning) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    &:focus {
        outline: none;
    }

    &:focus {
        outline: none;
    }
}

/* Botão com um contador em <span> */
.btn-com-contador {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 100;
    color: #fff;
    background: var(--primaryColor);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

.btn-com-contador span {
    color: var(--sidebarBackground);
    background-color: #fff;
    padding: 0px 6px;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: var(--sidebarBackground);
    background-color: #fff;
    padding: 0px 6px;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.btn-com-contador:hover {
    background-color: var(--hoverPrimaryColor);
    transform: scale(1.03);
    background-color: var(--hoverPrimaryColor);
    transform: scale(1.03);
}

.btn-com-contador:active {
    transform: scale(0.98);
    transform: scale(0.98);
}

/* --------------------------- Alinhamento de Div --------------------------- */
.div-right {
    display: flex;
    align-items: center;
    justify-content: end;
    display: flex;
    align-items: center;
    justify-content: end;
}

/* ----------------- Mensageria (CTF e Notificações) ---------------- */
/* Pricila 25-08*/

.mensageria {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 60px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 60px;
}

.mensageriaECentral {
    background-color: #f7f7f7 !important;
    border: 1px solid #d9dee4;
    border-radius: 0px 0px 5px 5px;
    width: 330px !important;
    background-color: #f7f7f7 !important;
    border: 1px solid #d9dee4;
    border-radius: 0px 0px 5px 5px;
    width: 330px !important;
}

.mensageriaECentral div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    padding: 5px 5px 0px 5px;
    margin: 0px 6px 0px 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    padding: 5px 5px 0px 5px;
    margin: 0px 6px 0px 6px;
}

.mensageriaECentral div li {
    margin: 7px !important;
    margin: 7px !important;
}

#not-notificacoes-sistema.active,
#not-central-tarefas.active {
    background-color: var(--hoverSuccess) !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    color: white !important;
    background-color: var(--hoverSuccess) !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    color: white !important;
}

#not-notificacoes-sistema.active a,
#not-central-tarefas.active span i,
#not-notificacoes-sistema.active span i {
    color: white !important;
    color: white !important;
}

#not-central-tarefas,
#not-notificacoes-sistema {
    background-color: white !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    border: 1px solid var(--hoverSuccess) !important;
    transition: all 0.2s ease-in-out;
    background-color: white !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    border: 1px solid var(--hoverSuccess) !important;
    transition: all 0.2s ease-in-out;
}

#not-notificacoes-sistema:hover,
#not-central-tarefas:hover {
    background-color: none;
    background-color: none;
}

.central-tarefas a,
.notificacoesSistema a {
    padding: 10px 5px 10px 5px !important;
    padding: 10px 5px 10px 5px !important;
}

/* ----------------------  Notificações ------------------------- */
#listagemMensageria {
    display: block;
    height: 400px;
    /* background: white; */
    border: 1px solid #ccc !important;
    border-radius: 8px;
    padding: 0px !important;
    margin: 3px 17px 10px 17px !important;
}

/* Barra de scroll de notificações*/
.notificacoes::-webkit-scrollbar {
    width: 3px;
    /* largura da barra de rolagem (vertical) */
    background: transparent;
    /* cor de fundo da barra */
    border-radius: 100px;
}

/* Rolagem da barra de scroll (fundo) */
.notificacoes::-webkit-scrollbar-track {
    background: transparent;
}

/* a parte arrastável do scroll */
.notificacoes::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.438);
    border-radius: 10px;
    /* cantos arredondados */
}

/* Box das notificacoes geradas pelo js */
#notificacoesGeradas {
    display: flex;
    flex-direction: column;
    padding: 0px !important;
    margin: 0px !important;
    height: 100% !important;
    overflow: hidden;
}

.notificacoes {
    width: 100% !important;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100% !important;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.div-notificacao {
    width: 100% !important;
    width: 100% !important;

    position: relative;
    cursor: grab;
    user-select: none;
    /* impede seleção de texto durante o arraste */
    transition: transform 0.2s ease;
    /* suaviza movimentos */
    position: relative;
    cursor: grab;
    user-select: none;
    /* impede seleção de texto durante o arraste */
    transition: transform 0.2s ease;
    /* suaviza movimentos */
}

.div-notificacao.dragging {
    cursor: grabbing;
    transition: none;
    /* remove a transição enquanto arrasta */
    cursor: grabbing;
    transition: none;
    /* remove a transição enquanto arrasta */
}

#spanTitulo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px !important;
    margin: 0px !important;
    height: 7px;
    font-size: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px !important;
    margin: 0px !important;
    height: 7px;
    font-size: 10px;
    font-weight: 500;
}

/* Div das notificacões */
.div-notificacao {
    display: flex;
    align-items: center;
    opacity: 1;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    opacity: 1;
    transition: all 0.2s ease-in-out;
}

.div-notificacao.visualizarNotificacao {
    padding: 7px 10px !important;
    border-bottom: 0.5px solid #cececeff;
    margin: 0px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 7px 10px !important;
    border-bottom: 0.5px solid #cececeff;
    margin: 0px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.div-notificacao .conteudo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.spanNovaNotificacao {
    position: absolute;
    right: 16px;
    margin-top: 5px;
    position: absolute;
    right: 16px;
    margin-top: 5px;
}

.spanNovaNotificacao i {
    font-size: 10px;
    color: gray !important;
    font-size: 10px;
    color: gray !important;
}

.spanApagarNotificacao {
    position: absolute;
    right: 10px;
    color: gray !important;
    cursor: pointer;
    font-size: 10px !important;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.spanApagarNotificacao:hover {
    color: var(--buttonDanger) !important;
    transform: scale(1.1);
    color: var(--buttonDanger) !important;
    transform: scale(1.1);
}

.divAcoesNotificacoes {
    padding: 5px !important;
    margin: 0px !important;
    display: flex;
    width: 100% !important;
    position: sticky;
    top: 0;
    border: none;
    border-radius: 10px 10px 0px 0px;
    z-index: 2 !important;
    padding: 5px !important;
    margin: 0px !important;
    display: flex;
    width: 100% !important;
    position: sticky;
    top: 0;
    border: none;
    border-radius: 10px 10px 0px 0px;
    z-index: 2 !important;
}

.divAcoesNotificacoes p:not(.span-notificacoes):hover {
    transition: all 0.3s ease-in-out;
    background-color: #e2e2e2b9;
    transition: all 0.3s ease-in-out;
    background-color: #e2e2e2b9;
}

/* notificações de CTF */
.div-notificacao:hover {
    background-color: #e2e2e2b9;
    cursor: pointer;
    background-color: #e2e2e2b9;
    cursor: pointer;
}

/* Botão de aceite da notificação */
.btnApagarNotificacao {
    position: absolute;
    z-index: 1;
    right: 15px;
    margin-top: 7px;
    color: rgb(138, 138, 138) !important;
    transition:
        all 0.3s ease,
        transform 0.2s ease;
}

.btnApagarNotificacao:hover {
    color: rgb(105, 105, 105) !important;
    transform: scale(1.1);
    color: rgb(105, 105, 105) !important;
    transform: scale(1.1);
}

/* Marcar todas notificações como lidas */
.marcar-todas-notificacoes,
.visualizar-todas-notificacoes,
.btnApagarTodasNotificacoes {
    margin: 0px !important;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 3px 6px !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-size: 10px;
    margin: 0px !important;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 3px 6px !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-size: 10px;
}

.span-notificacoes {
    border: none !important;
    width: 170px;
    margin: 0px !important;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 10px;
    border: none !important;
    width: 170px;
    margin: 0px !important;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 10px;
}

.span-notificacoes span.contador,
.span-notificacoes span.contador-nao-lidas {
    background-color: #ccc !important;
    border-radius: 20px;
    padding: 2px 4px;
    font-weight: 600;
    font-size: 10px;
    color: white;
    background-color: #ccc !important;
    border-radius: 20px;
    padding: 2px 4px;
    font-weight: 600;
    font-size: 10px;
    color: white;
}

.span-notificacoes:hover {
    transition: none !important;
    background-color: none !important;
    transition: none !important;
    background-color: none !important;
}

.marcar-todas-notificacoes i,
.btnApagarTodasNotificacoes i,
.visualizar-todas-notificacoes i {
    color: rgb(138, 138, 138) !important;
    color: rgb(138, 138, 138) !important;
}

/* Iniciais Usuário */
.div-icone-iniciais {
    position: relative;
    position: relative;
}

.iniciaisUsuario {
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    color: var(--sidebarBackground);
    font-size: 8px;
    font-weight: 800;
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    color: var(--sidebarBackground);
    font-size: 8px;
    font-weight: 800;
}

/* Botão Visualizar Tarefa CTF Mensageria */
.btnVisualizarTarefa {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--hoverSuccess);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--hoverSuccess);
}

.btnVisualizarTarefa i {
    font-size: 19px !important;
    transition: all 0.2s ease-in-out;
    font-size: 19px !important;
    transition: all 0.2s ease-in-out;
}

.btnVisualizarTarefa i:hover {
    transform: scale(1.2);
    transform: scale(1.2);
}

/* Dropdown Engrenagem */
.dropdown-settings {
    width: 200px !important;
    width: 200px !important;
}

.dropdown-menu li {
    border: 0px !important;
    border: 0px !important;
}

/* ------------------------------- Informações ------------------------------ */
.info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon {
    margin-left: 4px;
    color: var(--hoverSuccess);
    cursor: pointer;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.info-icon:hover {
    color: #0056b3;
    /* azul mais escuro no hover */
    transform: scale(1.1);
    /* leve zoom no hover */
    color: #0056b3;
    /* azul mais escuro no hover */
    transform: scale(1.1);
    /* leve zoom no hover */
}

/* ------------------------------ Classes Abreviadas ------------------------------ */

/* margens */
.m-0 {
    margin: 0 !important;
    margin: 0 !important;
}

.ml5 {
    margin-left: 5px !important;
}

.ml35 {
    margin-left: 35px !important;
    margin-left: 35px !important;
}


.mt10 {
    margin-top: 10px !important;
    margin-top: 10px !important;
}

.mb10 {
    margin-bottom: 10px !important;
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
    margin-bottom: 20px !important;
}

.dnone {
    display: none !important;
    display: none !important;
}

.df {
    display: flex !important;
    display: flex !important;
}

.pl40 {
    padding-left: 40px !important;
}

/* ------------------------ Estilização de tabelas gerais ----------------------------- */
/* A classe .tabela-processada é adicionada
  automaticamente via função adicionarFiltrosTabela, consequentemente adicionando
  todas as estilizações nescessárias padronizadas
*/


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

    .tabela-processada th,
    .tabela-processada td {
        padding: 6px 8px;
        font-size: 12px;
        white-space: nowrap;
    }

    .dataTables_wrapper {
        width: 100%;
        max-width: 100%;
        overflow: auto !important;
    }

    .dataTables_wrapper {
        width: 100%;
        max-width: 100%;
        overflow: auto !important;
    }

    .dataTables_wrapper .dt-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .dataTables_wrapper .dt-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: 120px;
    }
}

/* Tabela */
.tabela-processada {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #fff;
    font-size: 13px;
    border: 1px solid #d0d4db;
    border-radius: 6px;
    min-width: 0;
    width: 100% !important;
    border-collapse: collapse !important;
    background: #fff;
    font-size: 13px;
    border: 1px solid #d0d4db;
    border-radius: 6px;
    min-width: 0;
    visibility: visible;
}

.tabela-processada tbody tr:hover {
    background: #e5e7ebab;
    transform: scale(1.003);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
    transition:
        background 0.2s ease,
        border-left 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
    border: none !important;
    background: #e5e7ebab;
    transform: scale(1.003);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
    transition:
        background 0.2s ease,
        border-left 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
    border: none !important;
}

/* Cabeçalho da tabela */
.tabela-processada thead th {
    background: linear-gradient(180deg, #202a44 0%, #0a2a56 100%);
    color: #fff;
    padding: 10px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
    white-space: nowrap !important;
}

/* Células */
.tabela-processada tbody td {
    padding: 8px !important;
    border: 1px solid #e5e7eb;
    /* cinza suave */
    vertical-align: middle;
    background-color: #ffffff10;
    /* leve transparência */
    backdrop-filter: blur(2px);
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Linhas */
.tabela-processada tbody tr {
    transition:
        background-color 0.2s ease,
        transform 0.12s ease;
}

/* leve hover em linhas */
.tabela-processada tbody tr:hover {
    background: #e5e7ebab;
    transform: scale(1.001);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
    transition:
        background 0.2s ease,
        border-left 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
    border: none !important;
}

/* th -> Linha de filtros */
.tabela-processada thead .filter-row th {
    background: #f1f3f7 !important;
    border: 1px solid #d9dce2;
    padding: 5px !important;
    background: #f1f3f7 !important;
    border: 1px solid #d9dce2;
    padding: 5px !important;
}

/* Inputs de filtros inline */
.tabela-processada .column-filter {
    width: 100%;
    padding: 5px 6px !important;
    font-size: 12px;
    border: 1px solid #c9ccd3;
    border-radius: 4px !important;
}

.tabela-processada #tabelaFuncoes_filter {
    width: 100px;
    width: 100px;
}

.table-loading {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 70vh !important;
    background-color: transparent !important;
    overflow: hidden;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1;
    isolation: isolate;
    transition: all 5s ease-in-out !important;
}

.modal .table-loading {
    min-height: 300px !important;
}

/* Esconde o conteúdo durante o carregamento */
.table-loading thead,
.table-loading tbody {
    visibility: hidden;
}

.table-loading-fade-in {
    animation: table-loading-fade-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes table-loading-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Overlay */
.table-loading::after {
    content: 'Carregando...';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 152px;
    padding: 10px 14px 10px 42px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    color: #0c3c66;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(12, 60, 102, 0.08);
    border-radius: 4px;
    box-shadow: none;
    z-index: 1000;
}

/* Spinner */
.table-loading::before {
    content: '';
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 60px);

    width: 16px;
    height: 16px;

    box-sizing: border-box;
    border: 2px solid rgba(12, 60, 102, 0.18);
    border-top-color: #0c3c66;
    border-radius: 50%;

    animation: table-loading-spin 0.9s linear infinite;

    z-index: 1001;
}

@keyframes table-loading-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dataTables_processing {
    width: auto !important;
    min-width: 152px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
    color: #0c3c66 !important;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    background: #fff !important;
    background-color: #fff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(12, 60, 102, 0.08) !important;
    border-radius: 4px;
    box-shadow: none;
    z-index: 100;
}

.dataTables_processing::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    box-sizing: border-box;
    border: 2px solid rgba(12, 60, 102, 0.18);
    border-top-color: #0c3c66;
    border-radius: 50%;
    vertical-align: -3px;
    animation: table-loading-spin 0.8s linear infinite;
}

.dataTables_wrapper.datatable-initial-processing {
    min-height: 100vh;
}

.dataTables_wrapper.datatable-initial-processing .dataTables_processing {
    visibility: hidden;
    pointer-events: none;
}

.dataTables_wrapper table.dataTable.datatable-processing {
    opacity: 1;
    filter: blur(1px);
    pointer-events: none;
    transition: opacity 0.10s ease, filter 0.10s ease;
}

/* ---------------------------- filtros inline em tabela ---------------------------- */
.custom-combo {
    position: relative;
    width: 100%;
    font-size: 10px;
    position: relative;
    width: 100%;
    font-size: 10px;
}

.custom-combo-display {
    border: 1px solid #ccc;
    padding: 4px 6px;
    cursor: pointer;
    background: #fff;
    user-select: none;
    border: 1px solid #ccc;
    padding: 4px 6px;
    cursor: pointer;
    background: #fff;
    user-select: none;
}

.custom-combo-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.custom-combo-search {
    width: 98%;
    padding: 2px 4px;
    margin: 4px;
    font-size: 10px;
    border: 1px solid #ddd;
    width: 98%;
    padding: 2px 4px;
    margin: 4px;
    font-size: 10px;
    border: 1px solid #ddd;
}

.custom-combo-option {
    padding: 4px 6px;
    cursor: pointer;
    padding: 4px 6px;
    cursor: pointer;
}

.custom-combo-option:hover {
    background: #e8e8e8;
    background: #e8e8e8;
}

.filter-row th {
    padding: 0.35rem 0.5rem !important;
    background: #f7f7f9 !important;
    border-bottom: 1px solid #ddd !important;
}

/* Inputs e selects */
.filter-row th input,
.filter-row th select {
    box-sizing: border-box !important;
    padding: 0.3rem 0.5rem !important;
    font-size: 1.3rem !important;
    color: rgb(71, 69, 69) !important;
    border: 1px solid #ddd !important;
    border-radius: 0px !important;
    outline: none !important;
    height: 28px !important;
}

.column-filter.no-filter::placeholder {
    font-weight: 100;
    font-weight: 100;
}

.filter-row th input::placeholder {
    color: #999 !important;
    font-size: 1.3rem !important;
    color: #999 !important;
    font-size: 1.3rem !important;
}

/* Foco igual ao input */
.filter-row th input:focus,
.filter-row th select:focus {
    border-color: #a6c8ff !important;
    box-shadow: 0 0 0 2px #e6f0ff !important;
    border-color: #a6c8ff !important;
    box-shadow: 0 0 0 2px #e6f0ff !important;
}

/* Botões do Datatable */
.dt-buttons {
    position: absolute;
    background-color: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    top: -27px;
    right: -5px !important;
}

/* Dimensão igual para todos */
.dt-buttons .dt-button {
    width: 30px;
    height: 30px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: bold !important;
}

.dt-buttons .dt-button.sga-botao-download {
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    background: #ffffff00 !important;
    border: 1px solid var(--hoverSuccess) !important;
    border-radius: 7px;
    color: var(--hoverSuccess) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.116);
    position: relative;
    overflow: hidden;
    opacity: 80%;
    bottom: -20px;
    left: -2px;
    transition: all 0.2s ease-in-out;
}

.dt-buttons .dt-button.sga-botao-download:hover:not(:disabled) {
    background: #f9fafb !important;
    border-color: var(--hoverSuccess) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px) scale(1.02);
    opacity: 100%;
}

.dt-buttons .dt-button.sga-botao-download:active:not(:disabled) {
    transform: translateY(0) scale(0.94);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition-duration: 120ms;
}

.dt-buttons .dt-button.sga-botao-download:hover:not(:disabled) svg path:first-child,
.dt-buttons .dt-button.sga-botao-download:hover:not(:disabled) svg path:last-child {
    animation: sga-download-arrow 900ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes sga-download-arrow {

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

    45% {
        transform: translateY(3px);
        opacity: 0.55;
    }

    55% {
        transform: translateY(-1px);
        opacity: 0.9;
    }
}

/* Ripple suave ao clicar */
.dt-buttons .dt-button.sga-botao-download:active:not(:disabled)::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background-image: none !important;
    background-size: auto !important;
    border-radius: inherit;
    pointer-events: none;
    animation: sga-download-ripple 500ms ease-out;
}

@keyframes sga-download-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 61, 100, 0.35);
        opacity: 1;
    }

    100% {
        box-shadow: 0 0 0 14px rgba(33, 61, 100, 0);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dt-buttons .dt-button.sga-botao-download {
        transition: none;
    }

    .dt-buttons .dt-button.sga-botao-download:hover:not(:disabled),
    .dt-buttons .dt-button.sga-botao-download:active:not(:disabled) {
        transform: none;
    }

    .dt-buttons .dt-button.sga-botao-download:hover:not(:disabled) svg path {
        animation: none;
    }

    .dt-buttons .dt-button.sga-botao-download:active:not(:disabled)::after {
        animation: none;
    }
}

.dt-buttons .dt-button.sga-botao-download::after {
    content: none !important;
    display: none !important;
}

.dt-buttons .dt-button.sga-botao-download:focus-visible {
    outline: 2px solid var(--hoverSuccess);
    outline-offset: 3px;
}

.dt-buttons .dt-button.sga-botao-download.sga-exportando-excel span {
    visibility: hidden;
}

.dt-buttons .dt-button.sga-botao-download.sga-exportando-excel::before {
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    right: auto;
    box-sizing: border-box;
    border-top-color: var(--hoverSuccess);
}

body.sga-cursor-loading,
body.sga-cursor-loading * {
    cursor: wait !important;
}

.dt-buttons .dt-button.sga-exportando-excel {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}

.dt-buttons .dt-button.sga-exportando-excel span {
    visibility: visible;
}

.dt-buttons .dt-button.sga-exportando-excel::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #d9d9d9;
    border-top-color: rgb(40, 116, 40);
    border-radius: 50%;
    animation: table-loading-spin 0.8s linear infinite;
    top: 0;
    right: 0;
}

.dt-buttons .dt-button span {
    display: flex !important;
    flex-direction: column !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ícones — TODOS CONSISTENTES */
.dt-buttons .dt-button .iconBtn {
    font-size: 14px !important;
    margin-bottom: 4px !important;
    display: inline-block !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
    display: inline-block !important;
}

/* Excel */
.dt-button.buttons-excel .iconBtn {
    background-image: none !important;
    color: rgb(40, 116, 40) !important;
    background-image: none !important;
    color: rgb(40, 116, 40) !important;
}

/* PDF */
.dt-button.buttons-pdf .iconBtn {
    background-image: none !important;
    color: rgb(119, 37, 37) !important;
    background-image: none !important;
    color: rgb(119, 37, 37) !important;
}

/* Print */
.dt-button.buttons-print .iconBtn {
    background-image: none !important;
    color: #082c57 !important;
    background-image: none !important;
    color: #082c57 !important;
}

/* Cores do texto */
.dt-button.buttons-excel {
    color: rgb(40, 116, 40) !important;
    color: rgb(40, 116, 40) !important;
}

.dt-button.buttons-pdf {
    color: rgb(119, 37, 37) !important;
    color: rgb(119, 37, 37) !important;
}

.dt-button.buttons-print {
    color: #082c57 !important;
    color: #082c57 !important;
}

/* Campo de busca (search) */
.dataTables_filter input {
    box-sizing: border-box !important;
    padding: 0.3rem 0.5rem !important;
    font-size: 1.2rem !important;
    color: rgb(71, 69, 69) !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    outline: none !important;
    background: #fafafa !important;
    transition: 0.2s ease !important;
    margin-top: 15px !important;
    box-sizing: border-box !important;
    padding: 0.3rem 0.5rem !important;
    font-size: 1.2rem !important;
    color: rgb(71, 69, 69) !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    outline: none !important;
    background: #fafafa !important;
    transition: 0.2s ease !important;
    margin-top: 15px !important;
}

/* ---------------------- Loading Minimalista ---------------------- */
.app-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 80px;
    background: transparent;
    color: #5a6c86;
    font-size: 13px;
}

.app-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(72, 112, 180, 0.18);
    border-top-color: #4870b4;
    border-radius: 50%;
    animation: app-spin 0.9s linear infinite;
}

@keyframes app-spin {
    to {
        transform: rotate(360deg);
    }
}

.dataTables_filter input:focus {
    border-color: #6aa6ff !important;
    box-shadow: 0 0 0 2px rgba(106, 166, 255, 0.25) !important;
    border-color: #6aa6ff !important;
    box-shadow: 0 0 0 2px rgba(106, 166, 255, 0.25) !important;
}

/* Label “Buscar:” */
div.dataTables_wrapper div.dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    margin: 0;
    margin-top: 20px;
    color: #7b8792 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_filter label input {
    height: 23px;
    margin: 0 0 0 2px !important;
    padding: 4px 8px;
    border: 1px solid #d8dee3 !important;
    border-radius: 4px;
    background: #fff !important;
    color: #596670;
    font-size: 12px !important;
    box-shadow: none !important;
}

div.dataTables_wrapper div.dataTables_filter label input:focus {
    border-color: none !important;
    box-shadow: none !important;
    outline: none !important;
}

div.dataTables_wrapper div.dataTables_info {
    color: #7b8792 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    margin: 15px 0px !important;
}

/* Select “resultados por página” */
.dataTables_length select {
    box-sizing: border-box !important;
    padding: 0.3rem 0.5rem !important;
    font-size: 1.2rem !important;
    color: rgb(71, 69, 69) !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    background: #fafafa !important;
    outline: none !important;
    transition: 0.2s ease !important;
}

.dataTables_length select:focus {
    border-color: #6aa6ff !important;
    box-shadow: 0 0 0 2px rgba(106, 166, 255, 0.25) !important;
}

/* Label do select */
div.dataTables_wrapper div.dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #7b8792 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_length label select {
    width: 53px;
    margin: 0;
    padding: 3px 22px 3px 8px;
    border: none !important;
    border-radius: 4px;
    background-color: #fff;
    color: #596670;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

div.dataTables_wrapper div.dataTables_length label select:hover {
    border-color: #b8c5ce !important;
    background-color: #fbfcfd;
}

div.dataTables_wrapper div.dataTables_length label select:focus {
    border-color: #91aabd !important;
    box-shadow: 0 0 0 2px rgba(4, 38, 75, 0.1) !important;
    outline: none;
}

/* Organização horizontal */
.dataTables_filter {
    margin-bottom: 10px !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    margin-top: 15px !important;
}

.dataTables_length {
    position: absolute;
    top: 12px;
    left: 6px;
}

/* --------------------------------- Footer --------------------------------- */
:root {
    --footer-bg: #0b2954;
    --text-muted: #94a3b8;
    --primary: #ffffff;
    --footer-bg: #0b2954;
    --text-muted: #94a3b8;
    --primary: #ffffff;
}

.main-footer-container {
    padding: 6px 30px 6px 117px;
    font-size: 14px;
    background: var(--footer-bg);
    color: var(--text-muted);
    font-family: var(--font-display), sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    padding: 6px 30px 6px 117px;
    font-size: 14px;
    background: var(--footer-bg);
    color: var(--text-muted);
    font-family: var(--font-display), sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand.system-name> :first-child {
    margin-bottom: 5px;
}

.system-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.system-name small {
    font-weight: 400;
    font-size: 14px;
    opacity: 0.6;
    font-weight: 400;
    font-size: 14px;
    opacity: 0.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    gap: 5px;
    justify-content: center;
    align-items: end;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    gap: 5px;
    justify-content: center;
    align-items: end;
}

.footer-nav a,
.footer-copy a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.4s;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.4s;
}

.footer-nav a:hover,
.footer-copy a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}


.php-versions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    width: 30%;
}

.php-versions p {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 9px;
}

.php-versions i {
    font-size: 18px !important;
    opacity: 0.85;
    margin-right: 5px;
}

/* rótulos */
.php-label {
    opacity: 0.75;
}

/* destaque da versão */
.php-version {
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* versão atual */
.php-version.current {
    background-color: rgba(58, 123, 224, 0.15);
    /* destaque suave */
    background-color: rgba(58, 123, 224, 0.15);
    /* destaque suave */
    margin-left: 4px;
    opacity: 0.85;
}

/* mínimo requerido */
.php-version.required-v {
    background-color: rgba(35, 81, 162, 0.15);
    margin-left: 4px;
    opacity: 0.85;
}

.footer-copy {
    font-size: 12px;
    text-align: center;
    align-self: center;
    margin: 0 auto;
    padding: 0 280px 0 0;
    font-size: 12px;
    text-align: center;
    align-self: center;
    margin: 0 auto;
    padding: 0 280px 0 0;
}

/* --------------------------------- Padronização do sistema --------------------------------- */

.sga-acoes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    margin-bottom: -25px;
}

.sga-icone-label-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #315074;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.sga-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid #d6e5f7;
    border-radius: 50%;
    background: #ffffff85;
    box-shadow: 0 2px 5px rgba(31, 95, 168, 0.08);
    color: #1f5fa8;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sga-btn-action i {
    font-size: 12px;
}

.sga-btn-action:hover,
.sga-btn-action:focus {
    border-color: #9ec4eb;
    background: #eef6ff;
    color: #174a85;
}

.sga-acao-excluir {
    border-color: #f2c8cc;
    color: #c82333;
}

.sga-acao-excluir:hover,
.sga-acao-excluir:focus {
    border-color: #e6a8ae;
    background: #fff1f2;
    color: #a71d2a;
}

.sga-excluir-label {
    color: #b02a37;
}

.sga-btn-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.sga-btn-action:disabled+.sga-excluir-label {
    color: #a8adb5;
}


.panel-container {
    padding: 0px 30px !important;
    margin: 0px !important;
}

.panel-cabecalho {
    color: #fff;
    padding: 10px 0px;
    border-radius: 6px 6px 0px 0px;
}

.panel-cabecalho .titulo {
    font-size: 25px;
    font-weight: 500;
    color: #0b2954;
}

/* Seletor de status para o PHP */
.status-warning .php-icon {
    color: #ef4444;
    font-weight: bold;
}

/* Seletor de status para o PHP */
.status-warning .php-icon {
    color: #ef4444;
    font-weight: bold;
}

.status-ok .php-icon {
    opacity: 0.5;
}
