.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: flex;

    & h2 {
        font-weight: bold;
        letter-spacing: -1px;
        font-size: 24px;
        color: var(--azulescuro);
    }

    & .modal-default {
        width: 800px;
        background: #fff;
        border-radius: 15px;
        z-index: 2;
        padding: 20px;
        box-shadow: 0 10px 40px #00000020;
        position: relative;
    }

    & .modal-close {
        color: #00000090;
        font-size: 14px;
        position: absolute;
        text-decoration: none;
        font-weight: bold;
        z-index: 3;
        background: #fff;
        background: radial-gradient(circle, #fff 34%, #eee 62%);
        color: #777777;
        padding: 5px 10px;
        border-radius: 20px;
        border: 1px solid #cdcdcd;
        box-shadow: 0px 5px 5px #00000010;
    }

    & .modal-close:hover {
        color: #353535;
        transition: all 0.5s;
    }

    & h1 {
        font-size: 24px;
        font-weight: bold;
    }

    & .modal-content {
        overflow: auto;
    }

    & .modal-mask {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #00000080;
    }

    & p {
        font-size: 13px;
    }

    & h3 {
        font-size: 20px;
        border-bottom: 1px dashed #ccc;
        padding-bottom: 10px;
        margin-bottom: 20px;
        letter-spacing: -0.5px;
    }

    & h1 {
        font-size: 24px;
        color: var(--azulescuro);
    }

    & table td,
    tr,
    th {
        text-align: left;
        padding: 5px;
    }

    & button {
        font-size: 16px;
        border-radius: 5px;
        border: 0;
        font-weight: bold;
    }

    & .btn-cadastrar {
        color: #fff;
        background: var(--azulescuro);
        box-shadow: 0px 5px 5px #00000020;
    }

    & .btn-cancelar {
        color: var(--cinzaescuro);
        background: var(--cinzaclaro);
    }

    & button:hover {
        background: #288609;
        color: #fff;
        transition: all 1s;
    }

    & .btn-utilizar {
        margin-top: 10px;
        border: 0;
        padding: 7px 16px;
        border-radius: 5px;
    }

    /* TOASTS */
    & .modal-toast-default {
        background: #fff;
        border-radius: 15px;
        z-index: 2;
        box-shadow: 0 10px 40px #00000020;
        position: relative;
        display: flex;
        align-items: center;
        padding: 20px 20px 20px 90px;
        min-height: 80px;
        font-weight: 600;

        & p {
            margin: 0;
            font-size: 14px;
        }
    }

    .modal-toast-default::before {
        content: '';
        width: 60px;
        height: 60px;
        position: absolute;
        top: 10px;
        left: 10px;
        border-radius: 10px;
    }

    .modal-toast-success::before {
        background: url('../img/icones/ok.svg') #E1F2DB no-repeat center center;
        background-size: 50%;
    }

    .modal-toast-alert::before {
        background: url('../img/icones/alert.svg') #FDF7E4 no-repeat center center;
        background-size: 50%;
    }

    .modal-toast-danger::before {
        background: url('../img/icones/close.svg') #F4E2E2 no-repeat center center;
        background-size: 50%;
    }

    .modal-toast-default .modal-close {
        border: 0;
        background: #fff;
        top: -5px;
        right: -5px;
    }

    .modal-toast-default .modal-close:hover {
        color: #000;
    }

    .modal-msg {
        position: relative;
    }
}

/* loadermodal */
.modal-msg .loader {
    margin: 50px auto;
}

/*  */
.modal-msg .msg-toast {
    text-align: center;
}

.modal-msg h1 {
    color: #333;
}

.modal-msg .msg-toast p {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.modal-msg .msg-toast .ico {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    margin: auto;
}

.modal-msg .toast-success .ico {
    background: url('../img/icones/ok.svg') #E1F2DB no-repeat center center;
    background-size: 50%;
}

.modal-msg .toast-error .ico {
    background: url('../img/icones/close.svg') #F4E2E2 no-repeat center center;
    background-size: 50%;
}

.modal-msg .modal-close {
    position: absolute;
    border: 0;
    background: #fff;
    top: -5px;
    right: -5px;
}

.modal-msg .modal-close:hover {
    color: #000;
}

/*  */
.modal-toast {
    align-items: flex-start;
    justify-content: flex-end;
    /* margin-top: 20px;
    margin-left: -20px; */
    margin-top: 170px;
    margin-left: -40px;
}

.modal-center {
    align-items: center;
    justify-content: center;
}

.modal-right {
    align-items: stretch;
    justify-content: flex-end;

    & .modal-default {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}

/* .modal-msg .modal-default {
    min-height: 200px;
} */

.modal-container .actions a {
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 5px;
    margin: 5px;
    border: 0;
}

.modal-container .actions a.btn-cancelar:hover {
    background: #dbdbdb;
    transition: all 0.3s;
}

.modal-msg-danger .modal-default {
    border: 2px solid #F4E2E2;
}

.modal-msg-danger h1 {
    color: #C80000;
}

.modal-msg-danger .actions a.btn-continuar {
    background-color: #C80000;
    color: #fff;
    font-weight: bold;
}

.modal-msg-danger .actions a.btn-continuar:hover {
    background: #9e0000;
    transition: all 1s;
}

.modal-msg-danger strong {
    color: #C80000;
    font-weight: bold;
    font-size: 16px;
}

.modal-msg-default h1 {
    color: #595959;
}

.modal-msg-default .actions a.btn-continuar {
    background-color: var(--azulroyal);
    color: #fff;
    font-weight: bold;
}

.modal-msg-default .actions a.btn-continuar:hover {
    background: var(--azulescuro);
    transition: all 1s;
}
.modal-left {
    align-items: stretch;
    justify-content: flex-start;

    & .modal-default {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

@media(min-width: 1200px) {
    .modal-right {
        & .modal-default {
            width: 900px;
            height: 100%;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }
    }

    .modal-center {
        & .modal-close {
            right: -5px;
            top: -5px;
        }
    }

    .modal-right {
        & .modal-close {
            top: 5px;
            left: 5px;
        }
    }

    .modal-left {
        & .modal-close {
            top: 5px;
            right: 5px;
        }
    }
}

/** Fixed Headers tables **/
.modal-container table {
    width: 100%;
    position: relative;
    z-index: 0;
}

.modal-container th {
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    z-index: 1;
    background: var(--azulescuro);
}

.modal-container th[scope=row] {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--azulescuro);
}

.modal-center div[tabindex="0"][aria-labelledby][role=page] {
    overflow: auto;
}

@media(min-width: 990px) {
    .modal-center div[tabindex="0"][aria-labelledby][role=page] {
        max-height: 350px;
    }
}

.modal-center iframe {
    height: 100%;
    width: 100%;
}

.modal-right div[tabindex="0"][aria-labelledby][role=page] {
    overflow: auto;
    max-height: 700px;
    padding-bottom: 50px;
}

.modal-right .modal-default {
    padding: 30px 15px 30px 20px;
}

.modal-right .modal-content {
    padding-right: 20px;
}

.modal-detalhe {
    display: none;
}

.modal-bcComposicao {
    display: none;
}
.modal-referencia-fields{
    height: 500px;
}
@media(max-width: 1280px){
    .modal-referencia-fields{
        height: 500px;
    }
}
#modal-doublecheck .actions{
    margin: 20px 0 0 0;
}
#modal-doublecheck .modal-default{
    width: 640px;
}
#modal-doublecheck .actions button{
    margin-right: 10px;
    font-size: 14px;
    font-weight: 500;
}
#modal-doublecheck .actions #btn-aprovar{
    background: var(--verdeescuro);
    border: 1px solid var(--verdeescuro);
}
#modal-doublecheck .actions #btn-rejeitar{
    background: var(--cinzaclaro);
    border: 1px solid var(--cinzaclaro);
    color: #000;
}
#modal-doublecheck .actions #btn-aprovar:hover{
    background: #2a8a0b;
}
#modal-doublecheck .actions #btn-rejeitar:hover{
    background: var(--cinzaclaro);
    border: 1px solid #ccc
}
#modal-doublecheck .actions:hover{
    transition: all 0.5s;
}
#modal-doublecheck #modalFinalMessage{
    text-align: center;
    font-size: 20px;
    padding: 0px 20px 10px 20px;
    font-weight: bold;
    letter-spacing: -0.3px;
}

#modal-doublecheck .toast-success{
    background: #E1F2DB;
    padding: 10px;
    border-radius: 12px;
}
#modal-doublecheck .toast-success .ico{
    width: 50px;
    height: 50px;
    margin: 20px auto;
    background: url('../img/icones/ok.svg') no-repeat center center;
    background-size: 40px;
}

#modal-doublecheck .toast-error{
    background: #F4E2E2;
    padding: 10px;
    border-radius: 12px;
}
#modal-doublecheck .toast-error .ico{
    width: 50px;
    height: 50px;
    margin: 20px auto;
    background: url('../img/icones/close.svg') no-repeat center center;
    background-size: 40px;
}

.modal-detalhe .modal-default{
    height: 600px;
}

@media(max-width: 1280px){
    .modal-detalhe .modal-default{
        height: 540px;
    }  
}
.modal-status .modal-default{
    padding-top: 70px;
}
.modal-status h1{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    padding: 10px;
    background: var(--azulescuro);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-size: 20px;
}
.modal-status p{
    font-weight: bold;
    margin-bottom: 30px;
}
.modal-status ul li{
    padding: 10px 8px 10px 43px;
    margin-bottom: 10px;
    border-radius: 10px;
}
.modal-status li.ok{
    background: url('../img/icones/ok_status.svg') no-repeat #E1EEDD 4px center;
    border: 1px solid #B8DFAC;
}
.modal-status li.ok strong{
    color: var(--verdeescuro);
}
.modal-status hr{
    border: 1px dashed #bcbcbc;
    margin-top: 60px;
}