.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
    background-color: transparent;
}

@keyframes fadeIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.active {
    display: flex;
    z-index: 2009;
    background-color: hsla(0, 0%, 100%, 0.65);
    transition: background-color 0.05s;
}

.modal.active>div {
    position: relative;
    opacity: 1;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.05s ease-out;
    animation: fadeIn 0.5s ease-in-out;
}

.modal.active>.modalPagamentoHeight {
    /* height: 35.625rem; */
    overflow-y: scroll;
    scrollbar-width: none;
}

#modalPagamento.active {
    display: flex;
}

.modal>div .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    z-index: 2;
    cursor: pointer;
}

.modal>div .close svg {
    width: 16px;
    height: 16px;
}

.modal>div,
.modal>div>div {
    display: flex;
    position: relative;
}

.modal>div>div {
    flex: 1;
    flex-direction: column;
    padding: 2.25rem;
    z-index: 1;
}

.modal>div {
    flex-direction: column;
    cursor: auto;
    width: 90%;
    max-width: 500px;
    opacity: 0;
    border-radius: 36px;
    transition: transform 0.35s, opacity 0.2s;
    background-color: #fff;
    box-shadow: 0 10px 150px rgba(0, 0, 0, 0.25);
}

.mwt {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0 !important;
}

.mwt .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.mwt .titleLogin {
    padding: 1.4rem;
    font-size: 1.25rem;
}

.mwt .title,
.mwt button {
    box-shadow: 0 3px 20px rgba(118, 145, 255, 0.5);
}

.bg-secondary {
    background-color: #17ced3 !important;
    color: #fff;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.text-primary {
    color: #3f87f3;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
}

form {
    display: block;
    width: 100%;
    margin-bottom: 0;
}

.input-block {
    position: relative;
}

label {
    display: block;
    text-transform: capitalize;
    font-size: 0.85rem;
    line-height: 1.3;
    letter-spacing: 1px;
    font-weight: 500;
    color: #868686;
}

.dot {
    display: inline-block;
    background-color: #3f87f3;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    margin-right: 1rem;
}

.input:not(.checkbox),
.select {
    padding: 0.75rem 1.5rem;
}

.input:not(.checkbox),
.select {
    background-color: initial;
    display: block;
    padding: 1rem;
    border: 1px solid #d1d1d7;
    color: #222;
    width: 100%;
    font-weight: 500;
    border-radius: 0.25rem;
    outline: none;
    font-size: 0.9rem;
}

label+.input,
label+.select {
    margin-top: 0.75rem;
}

button,
input {
    overflow: visible;
}

.input::placeholder {
    color: #868686a4;
}

.input:not(.checkbox):focus {
    border-color: #3f87f3;
}

.checkbox-block {
    display: flex;
    align-items: center;
}

.mt-15 {
    margin-top: 1.5rem;
}

.checkbox {
    margin-bottom: 0 !important;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 18px;
    flex: 0 0 18px;
    height: 18px;
    overflow: hidden;
    margin-top: 0 !important;
    cursor: pointer;
}

.checkbox:before {
    content: "";
    position: absolute;
    border: 2px solid #d1d1d7;
    border-radius: 0.25rem;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.checkbox:after {
    position: absolute;
    content: "";
    background-color: #d1d1d7;
    border-radius: 3px;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    z-index: 2;
}

.checkbox:checked:after {
    background-color: #3f87f3;
}

.checkbox:checked:before {
    border-color: #3f87f3;
}

.checkbox-block label {
    margin-left: 0.75rem;
}

.checkbox-block label a {
    text-decoration: underline;
    color: #868686;
    margin-left: -0.3rem;
}

.btn.sh.bg-primary {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15),
        0 2px 30px rgba(118, 145, 255, 0.4);
    background-color: #3f87f3;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5rem;
    text-transform: capitalize;
    font-size: 0.85rem;
    line-height: 1.3;
    letter-spacing: 1px;
}

.btn.block {
    display: flex;
    width: 100%;
}

.modal .loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 36px;
    z-index: 200;
}

.loader {
    background-color: hsla(0, 0%, 100%, 0.85);
}

.loader>span:first-child {
    background-color: rgba(118, 145, 255, 0.25);
    animation: loader2 1.2s ease-in-out infinite both;
    margin-left: -20px;
    margin-top: -20px;
    width: 40px;
    height: 40px;
}

.loader>span {
    display: block;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
}

.loader>span:nth-child(2) {
    border: 2px solid #7691ff;
    animation-delay: 0.5s;
    animation: loader 1.2s ease-in-out infinite both;
    margin-left: -30px;
    margin-top: -30px;
    width: 60px;
    height: 60px;
}

.loader>span:nth-child(3) {
    background-color: #7691ff;
    margin-left: -3px;
    margin-top: -3px;
    width: 6px;
    height: 6px;
}

@keyframes loader2 {

    0%,
    100% {
        transform: scale(0.5);
    }

    40% {
        transform: scale(0.9);
    }
}

@keyframes loader {

    0%,
    100% {
        transform: scale(0.25);
    }

    40% {
        transform: scale(1);
    }
}


.formLogin {
    margin-top: 2rem;
}

.input-block-login {
    margin-bottom: 1.5rem;
}

.forgotPassword {
    text-transform: none;
    text-decoration: none;
}

.lang-select {
    padding: 2.25rem 0;
}

.lang-select h4 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #689ff2;
    text-align: center;
    font-weight: 500;
}

.lang-select img {
    width: 20px;
}

.flags-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 2.25rem;
    max-height: 620px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.flags-items .active {
    border: 0;
    border-radius: 0.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #689ff2;
    color: #fff !important;
}

.flags-items a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    padding: 0.6rem 1rem;
    border-top: 1px solid #f1f1f5;
}

.flags-items span {
    margin-left: 1rem;
}

.flags-items a:hover {
    color: #689ff2;
}

#payment-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#payment-form .heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.heading p {
    text-align: right;
}

.text-dark {
    font-weight: 600;
}

#payment-form .btnPrimary {
    margin-top: 2rem;
    margin-left: 0;
    cursor: pointer;
}

.errorActive {
    flex-wrap: wrap;
    gap: 5px;
    display: flex;
}
