.imgsvg{
    width: 70%;
    margin: auto;
    display: block;
}
.home-back{
    background: url("../img/bgUB.jpeg") no-repeat center;
    height: inherit;
    opacity: 20%;
}
.panel-header-lg-cs {
    height: 89%;
}
.pesq{
    padding-top: 10px;
}
.card-search{
    margin-bottom: 1%;
}
.card-chart .dropdown {
    right: 10px;
    top: 10px;
}
.cat-card {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
#tooltip{
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
}
#tooltip[data-popper-placement^='top'] > #arrow {
    bottom: -4px;
}
#arrow,
#arrow::before {
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
}

#arrow {
    visibility: hidden;
}

#arrow::before {
    visibility: visible;
    content: '';
    transform: rotate(45deg);
}
.input-senhas{
    border-color: transparent;
    background-color: transparent;
    color: black;
    font-weight: 600;
    text-align: center;
}
.i-icon{
    font-size: 25px!important;
}
.i-icon-big{
    font-size: 10em!important;
}
.icon-btn-info{
    margin-bottom: -15%;
}
.gb_h {
    -webkit-background-size: 32px 32px;
    background-size: 32px 32px;
    border: 0;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: block;
    margin: 0px;
    position: relative;
    height: 32px;
    width: 32px;
    z-index: 0;
}
.txt-init{
    margin: 8% auto;
    text-transform: uppercase;
    font: caption;
    font-weight: bold;
}
.btn-insc{
    font-weight: bold;
    text-align: center;
    margin: 0!important;
    padding: 0px;
    background-color: #fff0!important;
    color: #ff6900!important;
    font-size: 1em;
}
.btn-insc:hover, btn-insc:active, btn-insc:hover, btn-insc:focus,
btn-insc:visited{
    background-color: #fff0!important;
    color: #ff6900!important;
    box-shadow: none!important;
}
.i-icon-confirm{
    font-size: 2em;
    color: #02bd02;
}
.i-icon-not{
    font-size: 2em;
    color: #c50505;
}
.i-icon-alert{
    font-size: 2em;
    color: #f0ef03;
}
.form-dd-custom{
    border: 0;
    font-size: medium;
}
.txt-cusos-card-header{
     background-color: #343a40!important;
     color: #fff;
     text-align: center;
     font-size: 2em;
 }
.txt-tt-card-header{
    background-color: #720b0b!important;
    color: #fff;
    text-align: center;
    font-size: 2em;
}
.panel-header {
    background: linear-gradient(to right, #a81927 0%, #680610 60%, #9c0f1d 100%);
}
.card .card-body {
    padding: 0px 15px 10px 15px;
}
.btn-hist{
    margin: 10px;
    justify-content: center;
}
.icon-hist{
    font-size: xxx-large;
    color: green;
    float: left;
}
.text-painel{
    text-align: center;
    display: block;
    color: white;
    font-size: smaller;
}
.nav-tabs {
    background-color: #585252;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #585252;
    background-color: white;
}
.nav-link {
    color: white;
}
.login-page .card-login .logo-container {
    width: 200px;
    margin-bottom: 30px;
}
.sidebar[data-color="red"]:after, .off-canvas-sidebar[data-color="red"]:after {
    background: #343a40!important;
}
.glogo{
    width: 1.5rem;
}
.btn-glogo {
    background-color: #fff;
    color: #555555;
}
.txt-acessos p{
    background: linear-gradient(45deg, #e3e3e3, transparent);
    font-size: 5em;
    font-weight: bold;
    text-align: center;
    margin: 0!important;
}
.txt-dash p{
    font-size: 5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0!important;
    white-space: nowrap;
}
.txt-com{
   margin-top: -20px;
}
.rs-data-dia{
    font-size: xxx-large;
    font-weight: 700;
    margin-bottom: -18px;
    margin-top: -20px;
    text-align: center;
}
.rs-data-ano{
    text-align: center;
    font-size: 1.7rem;
    font-weight: 100;
    margin-top: -10px;
}
.rs-data-mes{
    text-align: center;
}
.txt-tt-card{
    margin-bottom: -15px;
}
.card-title-nav{
    padding-top: 7px!important;
}
.txt-dash-d p{
    color: #ce1c14;
}
.txt-bdh-n{
     color: #ce1c14;
 }
.txt-bdh{
    background-color: #c7c3c6;
}
.chart{
    height: 370px;
}
.footer-card-rh{
    margin-top: -30px;
}
.panel-header-pages {
    height: 130px!important;
}
.panel-header-rh-dash{
    height: 275px;
}
.panel-header-edu{
    height: auto;
}
.panel-header-com{
    height: 1350px;
}
.card-com{
    background-color: #343a40!important;
}
.txt-card-menor{
    font-size: 0.7385em!important;
}
.txt-card-medio{
    font-size: 96%!important;
}
.sidebar .nav .caret, .off-canvas-sidebar .nav .caret {
    right: 0px!important;
}
@media only screen and (max-device-width : 1322px) {
    .txt-resp h6{
        font-size: 96%;
    }
    .txt-card-medio{
        font-size: 90%!important;
    }
}
@media only screen and (max-device-width : 1310px) {
    .txt-dash p{
        font-size: 4.5em;
    }
    .txt-resp h6{
        font-size: 90%;
    }
}
@media only screen and (max-device-width : 1258px) {
    .txt-resp h6{
        font-size: 85%;
    }
    .txt-card-medio{
        font-size: 85%!important;
    }
}
@media only screen and (max-device-width : 1241px) {
    .txt-dash p{
        font-size: 4em;
    }
    .txt-resp h6{
        font-size: 80%;
    }
    .txt-card-medio{
        font-size: 80%!important;
    }
}
@media only screen and (max-device-width : 1194px) {
    .txt-resp h6{
        font-size: 75%;
    }
    .txt-card-medio{
        font-size: 75%!important;
    }
    .txt-card-menor{
        font-size: 65%!important;
    }
}
@media only screen and (max-device-width : 1172px) {
    .txt-dash p{
        font-size: 3.5em;
    }
    .txt-resp h6{
        font-size: 70%;
    }
}
@media only screen and (max-device-width : 1129px) {
    .txt-resp h6{
        font-size: 60%;
    }
}
@media only screen and (max-device-width : 1103px) {
    .txt-dash p{
        font-size: 3em;
    }

}
@media only screen and (max-device-width : 1065px) {
    .txt-resp h6{
        font-size: 50%;
    }
    .txt-card-menor{
        font-size: 55%!important;
    }
}
@media only screen and (max-device-width : 1034px) {
    .txt-dash p{
        font-size: 2.5em;
    }
}
@media only screen and (max-device-width : 1024px) {
    .txt-dash p{
        font-size: 4.5em;
    }
    .txt-card-menor{
        font-size: 60%!important;
    }
    .txt-resp h6{
        font-size: 88%;
    }
}
@media only screen and (max-device-width : 991px) {
    .panel-header-rh-dash{
        height: auto;
    }
    /*.panel-header-edu{
        height: auto;
    }*/
    .panel-header-com{
        height: auto;
    }
    .txt-dash p{
        font-size: 5em;
    }
    .txt-card-menor{
        font-size: 100%!important;
    }
    .txt-resp h6{
        font-size: 100%;
    }
    .txt-card-medio{
        font-size: 100%!important;
    }
}
@media only screen and (max-device-width : 767px) {
    .panel-header-com{
        height: auto;
    }
}
@media only screen and (max-device-width : 575px) {
    .panel-header-rh-dash{
        height: auto;
    }
    .panel-header-edu{
        height: auto;
    }
    .panel-header-com{
        height: auto;
    }
}
/* Estilos da Modal de Mensagens */
.modal-content {
    max-width: 500px;
    margin: 0 auto;
}
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    word-wrap: break-word;
    /*white-space: pre-wrap;*/
}
.modal-body p {
    margin-bottom: 0;
    line-height: 1.5;
}
.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}
.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}
.modal-footer {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}
.modal-success .modal-content {
    border-color: #28a745;
}
.modal-success .modal-header {
    background-color: #28a745;
    color: white;
}
.modal-danger .modal-content {
    border-color: #dc3545;
}
.modal-danger .modal-header {
    background-color: #dc3545;
    color: white;
}
.modal-warning .modal-content {
    border-color: #ffc107;
}
.modal-warning .modal-header {
    background-color: #ffc107;
    color: black;
}
.modal-info .modal-content {
    border-color: #17a2b8;
}
.modal-info .modal-header {
    background-color: #17a2b8;
    color: white;
}
#redirectModal .modal-content {
    border-color: #17a2b8;
}
#redirectModal .modal-header {
    background-color: #17a2b8;
    color: white;
}
#redirectModal .modal-body {
    text-align: center;
    padding: 2rem;
}
#redirectModal .modal-body p {
    margin-bottom: 1rem;
}

/* Estilos da Tabela */
.table {
    margin-bottom: 0;
}
.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1rem;
}
.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}
.table tbody tr:hover {
    background-color: #f8f9fa;
}
.table .badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}
.table .btn-group .btn {
    padding: 0.375rem 0.75rem;
    margin: 0 0.125rem;
}
.table .btn-group .btn i {
    font-size: 0.875rem;
}

/* Estilos do DataTables */
.dataTables_wrapper .dataTables_length select {
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    margin: 0 0.5rem;
    font-size: 0.875rem;
    background-color: #fff;
}
.dataTables_wrapper .dataTables_paginate {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.25rem 0.5rem;
    margin: 0 0.125rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
    font-size: 0.75rem;
    min-width: 30px;
    text-align: center;
    background: transparent !important;
    color: #6c757d !important;
    border: none !important;
    position: relative;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: transparent !important;
    color: #007bff !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover:after {
    width: 80%;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: transparent !important;
    color: #007bff !important;
    font-weight: 600;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current:after {
    width: 80%;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: #adb5bd !important;
    cursor: not-allowed;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:after {
    display: none;
}
.dataTables_wrapper .dataTables_info {
    padding-top: 0.75rem;
    color: #6c757d;
    font-size: 0.875rem;
}
.dataTables_wrapper .dataTables_length {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Estilos do Campo de Pesquisa */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}
.input-group .form-control {
    border-left: none;
}
.input-group .form-control:focus {
    border-color: #ced4da;
}
.input-group:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Overlay de Carregamento */
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
#loadingOverlay .spinner-border {
    width: 3rem;
    height: 3rem;
}
#loadingOverlay .loading-text {
    margin-top: 1rem;
    color: #495057;
    font-size: 1rem;
}

/* Estilos dos Cards de Estatísticas */
.card-stats {
    height: 100%;
    min-height: 160px;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: transparent !important;
}
.card-stats:hover {
    transform: translateY(-5px);
}
.card-stats .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent !important;
}
.card-stats .icon-big {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}
.card-stats .icon-big i {
    font-size: 2.5rem;
}
.card-stats .numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.card-stats .card-category {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.2;
}
.card-stats .card-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: #2c3e50;
    margin-left: 0.5rem;
}
.card-stats .icon-warning i {
    color: #ffc107;
}
.card-stats .icon-success i {
    color: #28a745;
}
.card-stats .icon-danger i {
    color: #dc3545;
}
.card-stats .icon-info i {
    color: #17a2b8;
}
.card-stats .icon-primary i {
    color: #007bff;
}

/* Estilos dos Botões de Filtro */
.btn-group .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-group .btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.btn-group .btn:hover::after {
    width: 80%;
}
.btn-group .btn.active::after {
    width: 80%;
}
.btn-group .btn-outline-secondary {
    color: #6c757d;
    border-color: #dee2e6;
}
.btn-group .btn-outline-secondary:hover,
.btn-group .btn-outline-secondary:focus {
    color: #6c757d;
    background-color: rgba(108, 117, 125, 0.1);
    border-color: #6c757d;
}
.btn-group .btn-outline-secondary.active {
    color: #6c757d;
    background-color: rgba(108, 117, 125, 0.1);
    border-color: #6c757d;
    font-weight: 600;
}
.btn-group .btn-outline-success {
    color: #28a745;
    border-color: #28a745;
}
.btn-group .btn-outline-success:hover,
.btn-group .btn-outline-success:focus {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
}
.btn-group .btn-outline-success.active {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    font-weight: 600;
}
.btn-group .btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}
.btn-group .btn-outline-danger:hover,
.btn-group .btn-outline-danger:focus {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}
.btn-group .btn-outline-danger.active {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    font-weight: 600;
}

/* Estilos gerais dos modais */
.modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.5rem;
}

.modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    font-size: 1.5rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
    background-color: #fff;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    padding: 1rem 1.5rem;
}

/* Estilos dos formulários */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.375rem;
}

/*.form-control {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    height: calc(1.5em + 0.75rem + 2px);
    font-size: 0.875rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}*/

/* Estilos dos botões */
.modal-footer .btn {
    padding: 0.375rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-footer .btn-secondary {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #495057;
}

.modal-footer .btn-secondary:hover {
    background-color: #dde1e5;
    border-color: #dde1e5;
}

.modal-footer .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.modal-footer .btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* Estilos específicos para selects */
.org-unit-cascade {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.org-unit-level select {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    width: 100%;
    transition: all 0.2s;
}

.org-unit-level select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

/* Estilos para inputs com ícones */
.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }
}

/* Animações */
.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.2s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Ajustes para o modal de mensagem */
#messageModal .modal-content {
    max-width: 400px;
    margin: 0 auto;
}

#messageModal .modal-body {
    text-align: center;
    padding: 2rem 1.5rem;
}

/* Ajustes para o modal de redirecionamento */
#redirectModal .modal-content {
    max-width: 400px;
    margin: 0 auto;
}

#redirectModal .modal-body {
    text-align: center;
    padding: 2rem 1.5rem;
}

/* Ajustes para o botão de adicionar usuário */
/*.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.btn-primary i {
    font-size: 1.1rem;
}*/

/* Ajustes para o modal lateral */
.modal-dialog-right {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    max-width: 800px;
}

.modal-dialog-right .modal-content {
    height: 100%;
    border-radius: 0;
}

.modal-dialog-right .modal-body {
    padding: 1rem;
    overflow-y: auto;
}

/* Ajustes para o formulário */
.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

/*.form-control {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.375rem 0.75rem!important;
}*/

.row {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.col-md-4, .col-md-6, .col-md-8, .col-md-12 {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

/* Ajustes para o modal de edição */
#editUserModal .modal-body {
    padding: 1rem;
}

#editUserModal .form-group {
    margin-bottom: 0.5rem;
}

#editUserModal .form-control {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.375rem 0.75rem;
}
.table-responsive {
    overflow: initial !important;
    max-height: none !important;
}

.dataTables_wrapper {
    width: 100%;
    overflow: initial !important;
}

.dataTables_scrollBody {
    overflow: initial !important;
    max-height: none !important;
}

#usersTable {
    margin-bottom: 0;
    width: 100% !important;
}

#usersTable td {
    vertical-align: middle;
}

#usersTable td:nth-child(2) {
    max-width: 400px;
    white-space: normal;
    word-wrap: break-word;
}

.btn-group {
    white-space: nowrap;
}

/* Estilização da barra de rolagem */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
