
body {
    background-color: #F5F7FF;
    font-family: Poppins, sans-serif;
}

.nav-link{
    margin-bottom: 0.8rem;
}

.nav-link.active {
    background-color: #EDEDFC !important;
    color: #4F50E3 !important;
    border-radius: 1rem;
}
.nav-link.active.submenu {
    background-color: #ffffff !important;
    color: #4F50E3 !important;
    border-radius: 1rem;
}

.border-right {
    border-right: 1px solid #F5F5F5;
}
.form-control {
    border-radius: 2rem !important;
    background-color: #F5F5F5 !important;
    
    /* Add other styles if necessary to ensure visibility */
}

.form-control:disabled {
    background-color: #dbdbdb !important;
    cursor: not-allowed !important;
}

.custom-keyword,
.custom-keyword:hover,
.custom-keyword:active {
    background-color: #f39200 !important;
    cursor: default !important;
}

.keyword-button,
.custom-keyword {
    line-height: 12px;
    padding: 4px 10px;
    text-align: start;
}

.delete-keyword-buttom {
    cursor: pointer !important;
}

.delete-keyword-buttom:hover {
    cursor: pointer !important;
    scale: 1.1;
}


.btn-custom-primary {
    background-color: #F15921;
    color: white;
    border-width: 0cap;
    border-radius: 2rem;
}

.btn-custom-primary:hover {
    background-color: #D1481B;
    color: white;
}

.btn-custom-primary:active {
    background-color: #e0653c !important;
}

.btn-custom-primary:disabled {
    color: white;
    background-color: #acacac !important;
}

.btn-custom-light {
    border-color: dimgray;
    border-radius: 2rem;
}

.btn-custom-light:hover {
    border-color: dimgray;
    background-color: #f1f1f1;
}

.btn-custom-light:active {
    background-color: #f1f1f1 !important;
}

.btn {
    border-radius: 2rem;
}

.btn-instancia {
    font-size: 0.75rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    line-height: normal;
}

.form-select {
    border-radius: 2rem !important;
    background-color: #F5F5F5 !important;
    
    /* Add other styles if necessary to ensure visibility */
}


body, html {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto; /* Ensures footer stays at bottom */
    font-size: 0.8rem;
}
/* Make main content area grow to fill available space */
.content-wrapper {
    flex: 1;
}
.nav-item {
    font-size: 0.9rem;
    font-weight: bold;
    
    margin-right: 1rem;

}

@media (min-width: 1200px) {
    .container-small {
        width: 1200px;
    }
    .container-large {
        width: 1500px;
    } 
}

.container-small, .container-large {
    max-width: 100%;
}
.fa-brands {
    font-size: 1.5rem;
}
.progress, .progress-bar {
    margin: 0;
    padding: 0;
}

.instancia.fade {
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
    height: 0px;
}

.instancia.show {
    transition: opacity 0.5s ease-in-out;
    visibility: visible;
    height: auto;
}

.custom_fade {
    height: 0px !important;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    filter: blur(1.5rem);
    margin: 0 !important;
    padding: 0 !important;
}

.custom_show {
    transition: filter 0.2s ease-in-out, opacity 0.2s ease-in-out;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    filter: blur(0rem);

}

.tabela-eventos .btn {
    font-size: 0.7rem;
}

.tabela-eventos .text-strong {
    font-weight: bold;
}

.tabela-eventos td {
    background-color: #fafafa;
}

.tabela-eventos,
.tabela-processos {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ddd;
}

.tabela-eventos th,
.tabela-eventos td,
.tabela-processos th,
.tabela-processos td  {
    padding: 1rem 1rem;
    vertical-align: middle;
    margin-bottom: 0;
}

.tabela-eventos th,
.tabela-processos th {
    background: #f4f4f4;
}

.tabela-processos .form-switch {
    display: inline-block;
}

.tabela-processos .form-switch > input {
    width: 50px;
    height: 25px;
}

.tabela-processos thead th input:first-child,
.tabela-processos tr > td > input:first-child {
    margin-left: 0.5rem;
    accent-color: #000;
    scale: 1.5;
}

.origem {
    background-repeat: no-repeat;
    background-position: center left;
    padding: 2px 0 2px 25px;
    font-size: 0.65rem;
}

.origem.origem-manual {
    background-image: url('/static/novo_portal/img/manual_mini.png');
}

.origem.origem-manual:after {
    content: "Manual"
}

.origem.origem-automatico {
    background-image: url('/static/novo_portal/img/automatico_mini.png');
}

.origem.origem-automatico:after {
    content: "Automático"
}


/* Style all pagination buttons with basic styles */
.dataTables_paginate .paginate_button {
    background-color: #007bff;  /* Button color */
    color: white;
    border: none;
    margin: 0 5px;
    padding: 5px 12px;
    cursor: pointer;
}

/* Style the Previous button with rounded left edge */
.dataTables_paginate .paginate_button.previous {
    border-radius: 15px 0 0 15px; /* Rounded left edge for half-circle effect */
}

/* Style the Next button with rounded right edge */
.dataTables_paginate .paginate_button.next {
    border-radius: 0 15px 15px 0; /* Rounded right edge for half-circle effect */
}

/* Change button color on hover */
.dataTables_paginate .paginate_button:hover {
    background-color: #0056b3;
}

/* Style the active page button to make it distinct */
.dataTables_paginate .paginate_button.current {
    background-color: #0056b3; /* Active button color */
    color: white;
}
td .form-check-input:checked {
    background-color: #28a745 !important; /* Green color */
    border-color: #28a745 !important; /* Green color */
}

td .form-check-input {
    background-color: #e9ecef; /* Optional: Customize unchecked color */
}

#processTable {
    width: 100% !important;
}

#processTable thead th {
    width: auto !important;
}

tr.child {
    border-bottom: 1px solid black;
}

.alert > .btn-close {
    padding: 8px;
}

@media (max-width: 768px) {
    .row > .col-lg-10 {
        padding: 1rem !important;
    }
}

/* Estilos de tabela para dispositivos móveis */
@media (max-width: 1200px) {
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    thead tr {
        display: none; /* Oculta o cabeçalho */
    }

    tr {
        margin-bottom: 0;
    }

    tr > td:last-child {
        border-bottom: 3px double #979797;
    }

    table tr:last-child > td:last-child {
        border-bottom: 0;
    }

    /* Adiciona o conteúdo do cabeçalho antes de cada célula */
    td::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        text-align: left;
    }

    .tabela-processos .form-switch,
    .tabela-processos .badge,
    .tabela-processos .origem {
        margin-left: 0.3rem;
    }
}

.destaque-busca {
    background-color: #ccc;
}

.destaque-termo-chave {
    background-color: #26ff00;
}

.forca-senha {
    font-size: 0.9rem;
}

.forca-senha .forca-senha__requisito {
    font-size: 0.8rem;
    color: var(--bs-gray);
}

.forca-senha .forca-senha__requisito::before {
    font-family: "Font Awesome 6 Free";
    content: "\f00d";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-weight: 900;
}

.forca-senha .forca-senha__requisito.forca-senha__requisito__ok {
    color: var(--bs-success);
}

.forca-senha .forca-senha__requisito.forca-senha__requisito__ok::before {
    font-family: "Font Awesome 6 Free";
    content: "\f00c";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-weight: 900;
}

.forca-senha .progress {
    --bs-progress-height: 3px;
}

.forca-senha .progress .progress-bar[data-forca=""] {
    --bs-progress-bar-bg: var(--bs-red);
    width: 0%;
}

.forca-senha .progress .progress-bar[data-forca="muito fraca"] {
    --bs-progress-bar-bg: var(--bs-red);
    width: 16.666%;
}

.forca-senha .progress .progress-bar[data-forca="fraca"] {
    --bs-progress-bar-bg: var(--bs-gray);
    width: 33.333%;
}

.forca-senha .progress .progress-bar[data-forca="média"] {
    --bs-progress-bar-bg: var(--bs-yellow);
    width: 66.666%;
}

.forca-senha .progress .progress-bar[data-forca="forte"] {
    --bs-progress-bar-bg: var(--bs-green);
    width: 100%;
}
