/* =================== GERAL ================= */
.w__392 {
    max-width: 24.5rem;
    margin: 0 auto;
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    background: rgba(0, 0, 0, .7);
}

@media (min-width: 768px) and (max-width: 991px) {
    .w__md__332 {
        max-width: 20.75rem;
        margin: 0 auto;
    }
}

.forms__cart {
    border-radius: 1.5rem;
    background-color: var(--color-white-light);
}

/* =================== GERAL ================= */

/* =================== HEADER TOP ======================= */
.forms__top {
    border-bottom: 0.063rem solid var(--color-gray-light);
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.forms__top span {
    font-size: 1rem;
    color: var(--color-gray);
}

.forms__top .type-plan {
    color: var(--color-blue);
    transition: .2s;
}

.forms__top .type-plan:hover {
    color: var(--color-blue-dark);
}

.forms__progress {
    gap: 2rem;
}

.forms__top .progress__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: var(--color-gray-light);
    counter-increment: steps;
}

.forms__top .progress__item:before {
    content: counter(steps);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: var(--color-gray-light);
    border-radius: 50%;
    margin-bottom: 0.313rem;
    color: var(--color-white-light);
    font-weight: bold;
    font-size: 1rem;
    z-index: 9;
    position: relative;
}

.forms__top .progress__item:not(:first-of-type):after {
    content: '';
    display: block;
    width: 5.313rem;
    height: 0.188rem;
    background-color: var(--color-gray-light);
    position: absolute;
    top: 0.75rem;
    left: -3.75rem;
}

.forms__top .progress__item--active {
    color: var(--color-blue);
}

.forms__top .progress__item--active:before {
    background-color: var(--color-blue);
}

.forms__top .progress__item:has(~ .progress__item--active) {
    color: var(--color-blue-dark);
}

.forms__top .progress__item:has(~ .progress__item--active)::before {
    color: var(--color-gray-light);
    background-color: var(--color-blue-dark);
}

.forms__top .progress__item:has(~ .progress__item--active)::after,
.forms__top .progress__item--active::after {
    background-color: var(--color-blue-dark) !important;
}

/* =================== HEADER TOP ======================= */

/* =================== CAMPOS DO FORMS ================= */
.forms__standard {
    font-size: 1rem;
    padding: 1.5rem 1.5rem 3.5rem;
    color: var(--color-gray-dark);
}

.forms__group input {
    border: 0.063rem solid var(--color-gray-light);
    height: 2.5rem;
    outline: none;
    border-radius: 0.25rem;
    padding-left: 0.625rem;
    transition: .2s;
}

.forms__group input:focus {
    background-color: var(--color-yellow);
}

.forms__group input.focus__input {
    background-color: var(--color-yellow);
}

.forms__group input::-webkit-input-placeholder {
    color: var(--color-gray-light);
}

.forms__group__password div:nth-child(1) {
    width: 65% !important;
}

.forms__group .password__input {
    border: 0.063rem solid var(--color-gray-light);
    border-right: 0;
    border-radius: 0.25rem 0 0 0.25rem;
}

.forms__group__btn {
    border: 0.063rem solid #ccc;
    background-color: #fff;
    border-left: 0;
    border-radius: 0 0.25rem 0.25rem 0;
    height: 2.5rem;
    width: 35%;
    gap: 0.625rem;
    cursor: pointer;
}

.forms__group__btn::after {
    content: 'exibir';
    display: inline-block;
    width: 2.813rem;
    font-weight: bold;
    transition: .2s;
}

.forms__group__btn:hover::after {
    color: var(--color-blue);
}

.forms__group__btn.hide::after {
    content: 'ocultar';
    color: var(--color-blue);
}

.forms__group__btn button {
    background-image: url(../../img/icons/icon-hide.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 1rem;
    height: 0.938rem;
    font-size: 0;
    border: 0;
    background-color: transparent;
    transition: .2s;
}

.forms__group__btn:hover button {
    background-image: url(../../img/icons/icon-show.svg);
}

.forms__group__btn.hide button {
    background-image: url(../../img/icons/icon-show.svg);
}

/* Hide the browser's default checkbox */
.forms__enrollment input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.forms__enrollment .checkmark {
    position: relative;
    display: inline-block;
    top: 0;
    left: 0;
    height: 1.5rem;
    width: 1.5rem;
    background-color: #eee;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: .1s;
}

/* On mouse-over, add a grey background color */
.forms__enrollment .checkmark:hover {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.forms__enrollment input:checked~.checkmark {
    background-color: var(--color-blue);
    background-image: url(../../img/icons/check.svg);
    background-repeat: no-repeat;
    background-position: 0.313rem 0.438rem;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Style the checkmark/indicator */

.forms__enrollment input:checked~.checkmark:after {
    display: block;
}

.forms__btn button {
    height: 2.5rem;
    width: 100%;
    border: 0;
    border-radius: 0.25rem;
    background-color: var(--color-blue);
    color: var(--color-white-light);
    transition: .2s;
}

.forms__btn button:hover {
    background-color: var(--color-blue-faint);
    color: var(--color-dark);
}

.forms__register a {
    color: var(--color-blue);
}

.forms__have__account span:first-of-type {
    font-size: 0.813rem;
}

.forms__btn__google a {
    border: 0.125rem solid var(--color-blue);
    border-radius: 0.25rem;
    color: var(--color-dark);
    transition: .2s;
    padding: .438rem;
    border-radius: 2rem;
}

.forms__btn__google a:hover {
    border-color: var(--color-blue-light);
    color: var(--color-blue-light);
}

.forms__group input.forms__input--error {
    border: 0.063rem solid var(--color-red);
    background: var(--color-yellow);
}

.forms__error {
    color: var(--color-red);
    height: 0;
    overflow: hidden;
    transition: height .3s ease-in-out;
}

.forms__error.show {
    height: 1.188rem;
    margin-top: .5rem;
}

.forms__error__password.show {
    height: 4.5rem;
}

/* AJUSTES ESTADO DE ERRO PARA INPUT DE SENHA */
.forms__group input.forms__input--error.password__input {
    border-right: 0;
}

.forms__group__btn.forms__group__btn--error {
    border: 0.063rem solid var(--color-red);
    border-left: 0;
}

/* AJUSTES ESTADO DE ERRO PARA INPUT DE SENHA */

/* =================== CAMPOS DO FORMS ================= */

/* ================== PAGAMENTO ================ */
.forms__group div:not(.forms__group__btn) {
    width: 100%;
}

.forms__group__double .forms__group {
    max-width: 47.5%;
}

.forms__input__card__details {
    position: relative;
    border: 0.063rem solid var(--color-gray-light);
    border-radius: 0.25rem;
    gap: 0.625rem;
    transition: .2s;
}

.forms__input__card__details--error {
    border: 0.063rem solid var(--color-red);
    background-color: var(--color-yellow);
}

.forms__input__card__details::after {
    content: '';
    position: absolute;
    bottom: 0.625rem;
    left: 0.5rem;
    width: 1.75rem;
    height: 1.188rem;
    background-color: var(--color-gray-light);
    border: 0.063rem solid #707070;
    border-radius: 0.25rem;
    background-size: cover;
    background-position: center;
}

.cardVisa::after {
    background-image: url(../../img/icons/visa.png);
    border: 0;
}

.cardMaster::after {
    background-image: url(../../img/icons/master.png);
    border: 0;
}

.cardDiners::after {
    background-image: url(../../img/icons/diners.png);
    border: 0;
}

.cardAmerica::after {
    background-image: url(../../img/icons/amex.png);
    border: 0;
}

.cardHipercard::after {
    background-image: url(../../img/icons/hipercard.png);
    border: 0;
}

.cardElo::after {
    background-image: url(../../img/icons/elo.png);
    border: 0;
}

.forms__input__card__details input {
    padding-left: 0;
    border: none;
}

.forms__input__card__details--error input {
    background-color: var(--color-yellow);
}

.forms__input__card__details input:nth-child(1) {
    margin-left: 2.75rem;
    max-width: 8.75rem;
}

.forms__input__card__details input:nth-child(2) {
    max-width: 3.125rem;
}

.forms__input__card__details input:nth-child(3) {
    max-width: 1.875rem;
}

.forms__input__card__details:focus-within {
    background-color: var(--color-yellow);
}

.forms__next__prev .prev {
    background-color: transparent;
    color: var(--color-blue);
    text-decoration: underline;
}

.forms__next__prev .prev:hover {
    background-color: transparent;
    color: #0f0f0f;
}

.forms__next__prev button {
    padding: .469rem 1.263rem;
    background-color: var(--color-blue);
    color: #fff;
    border-radius: 0.25rem;
    transition: .2s;
}

.forms__next__prev button:hover {
    background-color: var(--color-blue-faint);
    color: var(--color-dark);
}

.forms__next__prev .net {
    padding: .469rem 1.307rem;
}

/* ================== PAGAMENTO ================ */


/* ================ OBRIGADO ============= */
.forms__thanks {
    color: var(--color-dark);
}

.forms__thanks P {
    font-size: 2.5rem;
    line-height: 3rem;
}

.forms__thanks span {
    max-width: 14.688rem;
    margin: auto;
}

/* ================ OBRIGADO ============= */

/* =========== POPUP ERROR ============ */
.popup__error{
    background-color: var(--color-gray-cement);
    top: 12.1875rem;
    border-radius: 0.625rem;
    padding: 1.5rem 1rem 2rem 1rem;
    color: var(--color-dark);
        width: 100%;
    max-width: 392px;
    z-index: 12;
}
.popup__error .plan__close__btn{
    top: -3rem;
    right: 0;
    background-color: var(--color-red);
}
.popup__error p{
    font-size: 1.5rem;
    margin-bottom: .5rem;
}
/* =========== POPUP ERROR ============ */

/* ============== PLANO ============== */
.plan__description {
    background-color: var(--color-gray-cement);
    color: var(--color-dark);
    position: fixed;
    height: 100vh;
    max-width: 29.688rem;
    width: 100%;
    top: 0;
    right: -29.688rem;
    transition: .2s;
    padding-top: 6.563rem;
    z-index: 12;
}

.plan__description.active {
    right: 0;
    box-shadow: 0px 5px 10px var(--color-gray-average);
}

.plan__description div {
    max-width: 18.125rem;
    margin: auto;
    padding: 1.25rem;
    border: 0.063rem solid #6D6D6D;
    border-radius: 0.5rem;
}

.plan__close__btn {
    display: block;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-gray-dark);
    position: absolute;
    right: 5.938rem;
    top: 3.75rem;
    cursor: pointer;
    transition: .2s;
}

.plan__close__btn::after,
.plan__close__btn::before {
    content: '';
    display: block;
    position: absolute;
    width: 0.125rem;
    height: 1.25rem;
    background-color: var(--color-white-light);
}

.plan__close__btn::after {
    transform: rotate(45deg);
}

.plan__close__btn::before {
    transform: rotate(140deg);
}

.plan__description .price {
    font-size: 2rem;
    line-height: 2.5rem;
    color: var(--color-blue-price);
}

.change__plan {
    max-width: 18.125rem;
    margin: auto;
}

.change__plan a {
    color: var(--color-blue);
    transition: .2s;
}

.change__plan a:hover {
    color: var(--color-blue-dark);
}

/* ============== PLANO ============== */

/* ============== IMPRESSO ============== */
.forms__group__cep__verify {
    height: 0;
    overflow: hidden;
    transition: height .3s ease-in-out;
    margin-top: 1rem;
    border-top: 0.063rem solid var(--color-gray-light);
    border-right: 0;
    border-left: 0;
    max-height: 580px;
}

.forms__group__cep__verify.active {
    height: 28.188rem;
    padding: 1.5rem 0 1rem;
    border-bottom: 0.063rem solid var(--color-gray-light);
}

.forms__group__cep__verify .forms__group__double .forms__group {
    max-width: 30%;
}

.forms__group__cep__verify .forms__group__double .forms__group:nth-child(2) {
    max-width: 70%;
}

/* ============== IMPRESSO ============== */

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
}


/*============ LOADING ==========*/

.container-load {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.btn-load.loading {
    pointer-events: none;
    color: transparent;
    font-size: 0;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 60px;
    background-color: #2179CE;
}

.btn-load.loading:before {
    border: 2px solid #1B406D;;
}

.btn-load.loading {
    -webkit-box-shadow: 0 0 5px 1px #2179CE;
    box-shadow: 0 0 5px 1px #2179CE;
}

.btn-load.loading:before {
    content: '';
    position: absolute;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
    border-top-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    -webkit-animation-delay: 1s;
    -webkit-animation: spin 1s ease infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*============ LOADING ==========*/


@media (max-width: 991px) {
    .forms__group__cep__verify .forms__group__double .forms__group:nth-child(2) {
        width: 54.5%;
    }

    .forms__group__cep__verify .forms__group__double .forms__group {
        width: 40%;
        max-width: inherit;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .forms__group__double .forms__group {
        max-width: 47.2%;
    }

    .plan__description {
        max-width: 22.75rem;
    }

    .plan__close__btn {
        right: 2.375rem;
    }

    .forms__input__card__details {
        gap: .5rem;
    }
}

@media (max-width: 767px) {
    .forms__group__double .forms__group {
        max-width: 47.4%;
    }

    .plan__description {
        max-width: 16.875rem;
    }

    .plan__close__btn {
        right: 1rem;
    }
    .popup__error{
        left: calc(50% - 9.0625rem);
        width: 100%;
        max-width: 18.125rem;
    }
}

/* ADICIONAL PARA CONTEMPLAR SELECT DE PAGAMENTO */
.forms__input__options {
    cursor: pointer;
    padding-right: 1.85rem !important;
}

.forms__group:has(.forms__input__options)::after {
    content: '';
    display: inline-block;
    background-image: url('../../img/icons/arrow-neutral-medium.svg');
    width: 0.875rem;
    height: 0.5625rem;
    position: absolute;
    top: 2.5rem;
    right: 0.75rem;
    transition: .3s;
}

.forms__group:has(.forms__input__options.open)::after {
    transform: rotate(180deg);
}

.c-options__select__list {
    max-width: 21.5rem;
    top: 4.6875rem;
    box-shadow: 0 0 8px 0 rgba(30, 30, 30, 0.25);
}

.forms__group__secondary .c-options__select__list {
    top: 3.125rem;
}

.dropdown__menu {
    max-height: 20rem;
    max-width: 21.5rem;
    overflow: auto;
    background: #FFF;
    z-index: 1;
    position: relative;
}

.c-options__select__list {
    max-width: 21.5rem;
    top: 4.6875rem;
    box-shadow: 0 0 8px 0 rgba(30, 30, 30, 0.25);
}

.forms__group__secondary .c-options__select__list {
    top: 3.125rem;
}

.dropdown__menu {
    max-height: 20rem;
    max-width: 21.5rem;
    overflow: auto;
    background: #FFF;
    z-index: 1;
    position: relative;
}



.dropdown__menu__vector {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    transform: rotate(45deg);
    background: var(--vox-color-fdr-neutral-lighter);
    left: 50%;
    top: -0.25rem;
    display: inline-block;
    z-index: 1;
    box-shadow: 0 0 0.5rem 0 rgba(30, 30, 30, 0.25);
}

.dropdown__menu__item {
    height: 2.5rem;
    line-height: 2.5rem;
    color: #1e1e1e;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0 4px;
    transition: .3s;
    border-radius: .25rem;
    cursor: pointer;
}

.dropdown__menu__item:hover {
    background-color: #1B406D;
    color: #fff;
}

.dropdown__menu__item.active {
    background-color: #04254E;
    color: #FFF;
}

.pix__input__code {
    background-color: #F3F3F3;
}

.pix__code {
    border: 0;
    background: none;
    width: 100%;
    max-width: 19.375rem;
    outline: none;
    height: 2.5rem;
    padding: 0.625rem 0.1875rem 0.625rem 0.75rem;
}

.copy-btn {
    position: absolute;
    right: 0.75rem;
    top: 0.6875rem;
    background-color: transparent;
    border: 0;
    outline: none;
    background-image: url(../../img/icons/icon_copy.svg);
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
}

.copy__tooltip {
    visibility: hidden;
    opacity: 0;
    transition: .2s;
    position: absolute;
    top: -30px;
    right: -9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #17254D;
    color: #FFFFFF;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 4px;
    width: 56px;
}

.copy__tooltip.copied {
    visibility: visible;
    opacity: 1;
}

.copy__tooltip:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #17254D;
    position: absolute;
    bottom: -8px;
}


.forms__step .btn {
    padding: .688rem .966rem;
    font-size: 1rem;
}

.btn__secundary {
    border: 1px solid #2179CE !important;
    color: #2179CE !important;
    background-color: transparent !important;
    font-weight: bold !important;
    transition: .3s !important;
}

.btn__secundary:hover {
    background-color: #2179CE !important;
    color: #eee !important;
}

.btn__primary {
    background-color: #2179CE !important;
    color: #FFF !important;
    font-weight: bold !important;
    transition: .3s !important;
}

.btn__primary:hover {
    background-color: var(--color-blue-faint) !important;
    color: var(--color-dark) !important;
}

.pix__expired strong {
    color:#DB2534;
}

.pix__steps__success figure, .pix__steps__error figure {
    height: 10rem;
}

.btn__new__pix {
    border: 0;
    outline: none;
    background-color: transparent;
    color: #2179CE;
}
