﻿/* Arquivo de sobreposição para o desenvolvedor */
[data-plugin="formsteps"] [data-step] + [data-step]:not(.active) {
    display: none;
}

[data-plugin="formsteps"]:not(.plugin-loaded) .formsteps-btn-finish,
[data-plugin="formsteps"]:not(.plugin-loaded) .formsteps-btn-prev {
    display: none;
}

/* Customizando o campo de data */
/*.custom-date {
    background-color: #fff;*/ /* roxo lilás */
    /*color: #ffffff;
    border: 2px solid #4e3c7c;*/ /* roxo mais escuro */
/*}

.custom-date:focus {
    background-color: #5b3e8b;*/ /* roxo mais escuro ao focar */
    /*border-color: #3b2e64;
    box-shadow: 0 0 0 0.2rem rgba(91, 62, 139, 0.25);
}

.custom-date::-webkit-datetime-edit {
    color: #ffffff;
}*/

strong {
    font-weight: bold;
}


/* CSS personalizado para o loader */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader {
    width: 50px;
    height: 50px;
    background-image: url('https://i.imgur.com/llF5iyg.gif'); /* Gif de loading */
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

/* Estilo do overlay */
.custom-modal-overlay {
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    .alert .btn-close.white {
        filter: invert(1) !important;
    }

    .alert .btn-close:focus {
        box-shadow: none;
    }

/* Estilo do modal */
.custom-modal {
    background: #F00592 !important;
    color: #fff !important;
    width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* Cabeçalho do modal */
/* Cabeçalho do modal */
.custom-modal-header {
    padding: 20px;
    background: #F00592 !important;
    color: white;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Botão de fechar */
.close-modal {
    position: absolute !important;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

    /* Previne o botão de se mover ao ser clicado */
    /*.close-modal:focus {
        outline: none;
    }*/


/* Título do modal */
.custom-modal-title {
    font-size: 18px;
    margin: 20px 0 0 0; /* Espaço abaixo do botão de fechar */
    color: white;
    font-weight: bold;
}

/* Corpo do modal */
.custom-modal-body {
    overflow: auto;
    padding: 20px;
    font-size: 16px;
    color: #fff !important;
}

/* Rodapé do modal */
.custom-modal-footer {
    padding: 15px;
    background: #f1f1f1;
    text-align: right;
}

    /* Botão no rodapé */
    .custom-modal-footer .btn {
        padding: 8px 15px;
        border: none;
        border-radius: 5px;
        background: #007bff;
        color: white;
        cursor: pointer;
    }

    /* Botão de fechar no rodapé */
    .custom-modal-footer .close-btn {
        background: #dc3545;
    }

 /*   .custom-modal-footer .btn:hover {
        opacity: 0.9;
    }*/

label.error {
    color: red !important;
}

/* Animação de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Select2 */
.select2-container {
    display: block !important;
    width: auto !important;
}

.select2-container--default .select2-selection--single:focus {
    outline-color: #ffd998;
}

.select2-container--default .select2-selection--single {
    padding: 0.57rem !important;
    height: auto !important;
    border-radius: var(--bs-border-radius) !important;
    border: 2px solid rgba(0.443, 0.49, 0.467, 0.2) !important;
    outline-color: #069B50;
    background: #fff !important;
    margin: 15px 0px 6px 0px !important;
    font-size: 1rem !important;
    line-height: 1.1rem !important;
    /*background: var(--c-gray) !important;*/
    font-weight: 400 !important;
    color: #717D77 !important;
    width: 100%;
    overflow: hidden;
    outline-width: 0;
    outline-offset: 0;
    outline-style: solid;
    transition: all 0.3s ease-in-out;
}

.select2-container--open .select2-dropdown {
    top: -1px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    word-break: break-all !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    font-weight: 400;
    font-size: 18px;
    border-radius: var(--bs-border-radius);
    border: 2px solid rgba(0.443, 0.49, 0.467, 0.2);
    background: #e9e9e9;
    outline: none;
    padding: 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    position: relative;
    /*    top: -7px;*/
    color: #717D77 !important;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    text-shadow: none;
    text-transform: none;
    letter-spacing: var(--form-control-letter-spacing);
    text-align: left;
    padding-left: 0 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    overflow: hidden;
    word-break: break-all;
    white-space: initial;
}

.select2-container--default .select2-results__option--disabled {
    color: var(--c-black) !important;
    background: var(--c-gray2) !important;
    /*padding: 1rem !important;*/
    font-weight: 400 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    opacity: 0;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    color: var(--c-black) !important;
    background: var(--c-yellow1) !important;
    /*padding: 1rem !important;*/
    font-weight: 400 !important;
}

.select2-results__option--selectable {
    color: var(--c-black);
    font-size: 14px;
    /*padding: 1rem !important;*/
    font-weight: 400 !important;
}

.select2-results__option {
    color: var(--c-black);
    font-weight: 400;
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 1;
    text-shadow: none;
    text-transform: none;
}

.select2-dropdown {
    border: 1px solid #717D77 !important;
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    z-index: 2001 !important;
}

.select2-results ::-webkit-scrollbar-thumb {
    background: var(--c-yellow1) !important;
    border-radius: var(--bs-border-radius) !important;
}

.barra-container {
    background: #eee;
    height: 20px;
    border-radius: 4px;
    margin-top: 2px;
    width: 100%;
}

.barra-preenchida {
    height: 100%;
    border-radius: 4px;
    color: #000;
    padding-top: 3px;
}
