html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* font-family: 'Poppins', sans-serif;*/
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3 {
    font-weight: 600;
}

p,
span,
input,
button {
    font-weight: 400;
}

strong {
    font-weight: 700;
}

.wrapper {
    flex-grow: 1;
}

.footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}


@media (max-width: 768px) {
    .footer {
        padding: 15px 0;
    }
}

.loader-bg {
    position: fixed;
    z-index: 999999;
    background: rgba(255, 255, 255, .8);
    width: 100%;
    height: 100%;
}

.loader-p {
    border: 0 solid transparent;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    position: absolute;
    top: calc(50vh - 75px);
    left: calc(50vw - 75px);
}

.loader-p:before,
.loader-p:after {
    content: '';
    border: 1em solid #015508;
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: loader 1s linear infinite;
    opacity: 0;
}

.loader-p:before {
    animation-delay: 0.5s;
}

@keyframes loader {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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

.btn-outline-default {
    background-color: transparent;
    border: 1px solid #015508;
    color: #015508;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover/focus no botão */
.btn-outline-default:hover,
.btn-outline-default:focus {
    background-color: #015508;
    color: white;
    border-color: #015508;
}

/* Forçar que tudo DENTRO do botão (filhos) também fique branco no hover/focus */
.btn-outline-default:hover *,
.btn-outline-default:focus * {
    color: white !important;
}

.primary-bg {
    background-color: #015508 !important;
}

.text-primary {
    color: #015508 !important;
}

label {
    color: #015508 !important;
}

.table thead tr th {
    background-color: #015508;
    color: #fff;
}

.table tbody tr:hover {
    cursor: pointer;
}

label .required {
    color: #d40707;
    font-weight: 600;
}

.form-control {
    outline: none;
}

.form-control:focus {
    outline: 0;
    border-color: solid #0685ec;
    box-shadow: none;
}

.search-icon {
    color: #747677;
}

.error-field {

    font-size: 9pt;
    margin: 0;
    color: #d40707;
}

.truncated {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.label {
    text-align: justify;
}

.select2-container {
    width: 100% !important;
}

.select2-dropdown {
    z-index: 1050;
}

/* Tamanhos Padrão */
.modal-size-0 {
    max-width: 60% !important;
    width: 60% !important;
}

.modal-size-1 {
    max-width: 75% !important;
    width: 75% !important;
}

.modal-size-2 {
    max-width: 80% !important;
    width: 80% !important;
}

.modal-size-3 {
    max-width: 88% !important;
    width: 88% !important;
}


@media (max-width: 992px) {

    .modal-size-0,
    .modal-size-1,
    .modal-size-2,
    .modal-size-3 {
        max-width: 90% !important;
        width: 90% !important;
    }
}


@media (max-width: 768px) {

    .modal-size-0,
    .modal-size-1,
    .modal-size-2,
    .modal-size-3 {
        max-width: 95% !important;
        width: 95% !important;
        margin: 0 10px !important;
    }
}


@media (max-width: 576px) {

    .modal-size-0,
    .modal-size-1,
    .modal-size-2,
    .modal-size-3 {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 10px !important;
    }
}


.bg-secondary-light {
    background-color: rgba(151, 156, 161, 0.5);

}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

.filterForm {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(-10px);
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.7);
}


.filterForm.show {
    opacity: 1;
    transform: translateY(0);
}

.pagination {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
}

.pagination .page-item {
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.pagination .page-item .page-link {
    color: #5a6268 !important;
    border: none;
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease-in-out, box-shadow 0.2s ease-in-out;
    font-weight: 500;
}

.pagination .page-item .page-link:hover {
    background-color: rgba(90, 98, 104, 0.2) !important;
    color: #343a40 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pagination .page-item.active .page-link {
    background-color: #015508 !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.btn-default {
    background-color: #015508;
    color: white;
    border: none;
}

.btn-default:hover {
    background-color: #014307;
    color: white;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {

    width: 40px;
    height: 30px;
    font-size: 12px;
    background-color: #e9ecef;
    transition: all 0.3s ease-in-out;
}


.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
    background-color: #015508 !important;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.form-control {
    border: none;
    border-bottom: 1.5px solid #a1a1a1;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    transition: border-color 0.3s ease-in-out;
    font-size: 13px;
    padding-left: 5px;
}


.form-control:focus {
    border-bottom-color: #dc3545;
    outline: none;
    box-shadow: none;
    background-color: transparent;
}


.input-group .form-control {
    border-right: none;
    padding-left: 5px;
}


.form-group label {
    font-weight: 300;
    color: #015508;
    font-size: 14px;
}

.bg-default {
    background-color: #015508 !important;
    color: #fff;
}

.bg-default * {
    color: #fff !important;
}

.chart-canvas {
    height: 250px !important;
    max-height: 300px;
}

.toast-middle-right {
    top: 20%;
    right: 12px;
    transform: translateY(-50%);
    position: fixed;
}

.secondary-bg {
    background-color: #f8f9fa !important
}


.hover-effect:hover {
    background-color: #015508;
    cursor: pointer;
    color: white;
}

.hover-effect:hover .text-muted {
    background-color: #015508;
    color: white !important;
}


.select2-container--bootstrap4 .select2-selection {
    border: none !important;
    border-bottom: 1px solid #a1a1a1 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;

}


.select2-container--bootstrap4 .select2-selection__rendered {
    color: #495057 !important;
    font-weight: 400 !important;
    font-size: 11pt !important;
    padding-left: 5px !important;
}

.select2-container--bootstrap4 .select2-selection--single {
    pointer-events: auto !important;
    opacity: 1 !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-bottom: 1px solid #dc3545 !important;
}


.select2-container--bootstrap4 .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 5px !important;
}


.select2-container--bootstrap4 .select2-results__option {

    font-family: 'Inter', sans-serif;
    font-size: 11pt !important;
    color: #6c757d !important;
    padding-left: 5px !important;

}


.select2-container--bootstrap4 .select2-results__option--highlighted {
    background-color: #015508 !important;
    color: white !important;
    border-radius: 5px;
    margin: 0 5px !important;
    padding-left: 5px !important;

}


.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
    border: none !important;
    border-bottom: 1px solid #a1a1a1 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #495057 !important;
    font-weight: 300 !important;
    font-size: 11pt !important;
    padding: 5px 0 !important;
    outline: none !important;
    width: 100% !important;
}


.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field:focus {
    border-bottom: 1px solid #dc3545 !important;
}


.select2-dropdown {
    border: none !important;
}


.select2-container--bootstrap4 .select2-search--dropdown {
    padding: 0 !important;
}


.select2-container--bootstrap4.select2-container--open .select2-selection {
    border-bottom: none !important;
}


.select2-container--bootstrap4.select2-dropdown {
    border: none !important;
}

.designation {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-clamp: 2;
}

.table-service-project td {
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 1px;
}