.payment-cards-fields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-cards-fields .payment-field {
    width: 100%;
}

.payment-cards-fields .card-number {
    flex-grow: 1;
}

.payment-cards-fields .card-number {
    max-width: 416px;
}

.payment-cards-fields .expiration {
    max-width: 202px;
}

.payment-cards-fields .cvc {
    max-width: 202px;
}

.payment-cards-fields label {
    font-family: Lato;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 6px;
    color: #344054;
}

.payment-cards-fields label span {
    color: #d92d20;
}

.payment-cards-fields input {
    font-family: Lato;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #101828;
    min-height: 40px;
    border: 1px solid #d0d5dd;
    width: 100%;
}

.payment-cards-fields .input-expiration {
    display: flex;
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    padding: 8px 12px 8px 0px;
    max-height: 40px;
    height: 40px;
}

.payment-cards-fields .input-expiration:focus-within {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.payment-cards-fields .input-expiration input {
    border: none;
    outline: 0px;
    width: 100%;
    min-height: 0;
    padding-left: 45px;
}

.payment-cards-fields .error {
    font-size: 12px;
    color: #d92d20;
    display: block;
    height: 21px;
}

.payments-accepted {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-top: 6px; */
}

.confirm-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 8px;
    max-width: 173px;
    width: 100%;
    background-color: #2a9fe8;
    border: 1px solid #2a9fe8;
    color: white;
    font-family: Lato;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.confirm-checkout[disbaled] {
    background-color: #ced0d4;
    border: 1px solid #ced0d4;
    color: white;
    transition-duration: 0.4s;
    user-select: none;
    cursor: not-allowed;
}

.payments-accepted .cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.separator-or {
    display: flex;
    flex-direction: row;
    letter-spacing: 0em;
    font-family: Lato;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    margin-block: 14px;
}

.separator-or::before {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #ced0d4;
    margin: auto;
    margin-right: 14px;
}

.separator-or::after {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #ced0d4;
    margin: auto;
    margin-left: 14px;
}

.other-payments {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.card-input-wrapper {
    position: relative;
}

.card-logo {
    position: absolute;
    left: 2px;
    top: 50%;
    width: 38px;
    height: auto;
    background-color: white;
    transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
    .payment-cards-fields .card-number {
        max-width: 100%;
    }

    .payment-cards-fields .payment-field {
        width: 100%;
    }

    .payment-cards-fields .cvc {
        max-width: 100%;
    }

    .payment-cards-fields .expiration {
        max-width: 100%;
    }

    .payment-cards-fields {
        flex-wrap: wrap;
    }
}