.azul-preform {
    max-width: 60rem;
    margin: 2rem auto;
    font-family:'Poppins', sans-serif;
}

.azul-preform .order-cancelled {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.azul-preform h3 {
    background: #ffe4e6;
    padding: 1rem 3rem;
    border-radius: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #90242b
}

.azul-preform h4 {
    background: var(--secondary-light);
    padding: 3rem;
    border-radius: 1rem;
    font-size: 1.9rem;
    font-weight: 600;
    color: #0e77a5;
    line-height:1.3;
}

.azul-preform form>p {
    margin: 2rem 0;
    font-size: 1.6rem;
    color: #686868
}

.azul-preform .creditcards {
    display: inline-block;
    width: 50%;
    margin-bottom: 2rem
}

.azul-preform .creditcards label {
    display: flex;
    gap: 1rem;
    align-items: center
}

.azul-preform .creditcard_number {
    font-size: 1.7rem;
    font-weight: 600;
    color: #686868
}

.azul-preform label:hover {
    cursor: pointer;
    opacity: .8
}

.azul-preform label input[type=radio] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 2rem;
    height: 2rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-content: center;
    flex: 0 0 2rem
}

.azul-preform label input[type=radio]::before {
    content: "";
    width: .6em;
    height: .6em;
    border-radius: 50%;
    transform: scale(0);
    transition: .3s transform ease-in-out;
    box-shadow: inset 1em 1em var(--primary);
}

.azul-preform label input[type=radio]:checked::before {
    transform: scale(1);
    border-color: var(--primary);
}

.azul-preform label input[type=radio]:checked {
    border-color: var(--primary);
}

.azul-preform label input[type=radio]:checked~.creditcard_number {
    color: var(--primary);
}

.azul-preform label .creditcard_brand {
    width: 7rem;
    height: 4rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat
}

.azul-preform label .creditcard_brand.visa {
    background-image: url(../img/visa.svg)
}

.azul-preform label .creditcard_brand.mastercard {
    background-image: url(../img/mastercard.svg)
}

.azul-preform label .creditcard_brand.discover {
    background-image: url(../img/discover.svg)
}

.azul-preform .btn {
    font-size: 1.6rem;
    border-radius: 4rem;
    color: #fff;
    background: var(--primary);;
    font-weight: 700;
    padding: 1rem 3rem;
    float: right;
    font-family:'Poppins', sans-serif;
    transition:all .3s ease;
    border:0;
    cursor:pointer;
}

.azul-preform .btn:hover {
    background: var(--secondary)
}

.payment-msg {
    text-align: center;
    font-size: 20px;
    margin: 20px 0;
    color: #2187cf;
    font-weight: 700
}

.payment-msg.declined {
    color: var(--primary);
}

.payment-msg i {
    display: none
}

#AZUL_PaymentPage {
    max-width: 60rem;
    background: #fff;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    list-style: none;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 5px 2rem rgb(0 0 0/10%)
}

#AZUL_PaymentPage li {
    border-bottom: 1px solid #e2e2e2;
    padding: 10px
}

#AZUL_PaymentPage li span {
    font-weight: 700
}

#AZUL_BackToCheckout {
    text-align: center;
    margin-bottom: 2rem
}

#AZUL_BackToCheckout a {
    display: inline-block;
    background: var(--secondary);
    border-radius: 2rem;
    padding: 7px 20px;
    font-size: 16px;
    color: var(--white);
    transition: all .3s ease;
    text-decoration: none
}

#AZUL_BackToCheckout a:hover {
    background: var(--primary);
}

@media(max-width: 600px) {
    .azul-preform {
        margin-top: 6rem
    }

    .azul-preform .creditcards {
        display: block;
        width: 100%
    }

    .azul-preform form .btn {
        width: 100%
    }

    .payment-msg {
        margin-top: 6rem
    }

    #AZUL_BackToCheckout a {
        margin-top: 10px
    }
}