/* Payment flow — instant transfer (Fintecture) and payment status pages */

.sj-badge-bank {
    display: inline-block;
    margin-left: 1rem;
    margin-bottom: 5px;
    padding: .25rem .9rem;
    background-color: #fcea10;
    color: #2d2e83;
    font-family: raleway-black-webfont, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.sj-virement-info {
    display: block;
    margin: .8rem 0 1.2rem 2.4rem;
    padding: 1.6rem 2.2rem;
    background-color: #fbf9cf;
    color: #2d2e83;
    text-align: left;
}

.sj-virement-info__title {
    margin: 0 0 .6rem;
    font-family: raleway-bold-webfont, sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    color: #2d2e83;
}

.sj-virement-info__title i {
    margin-right: .5rem;
    color: #2d2e83;
}

/* Bold the selected payment type label */
.stage-4 .sj-input .sj-check .item input[type="radio"]:checked + .sj-check__title {
    font-family: raleway-bold-webfont, sans-serif;
    font-weight: 700;
    color: #2d2e83;
}

/* Clickable payment choices */
.stage-4 .sj-check .item label,
.stage-4 .sj-check .item input[type="radio"],
.stage-4 .sj-check .item input[type="checkbox"] {
    cursor: pointer;
}

.sj-virement-info__text {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.6;
    color: #2d2e83;
}

/* Stage 5 helpers */
.stage-5 .detail .beneficiary {
    font-size: 1.6rem;
    color: #2d2e83;
}

.stage-5 .payment-help {
    margin: 1.5rem auto 2.5rem;
    max-width: 110rem;
}

.stage-5 .virement-cb,
.stage-5 .cheque-cb,
.stage-5 .manual-cb {
    justify-content: center;
}

.stage-5 .cheque-help {
    max-width: 90rem;
    margin: 0 auto;
}

/* Status page */
.sj-payment-state {
    padding: 2rem 0 4rem;
}

.sj-pay-card {
    max-width: 150rem;
    margin: 0 auto;
    padding: 5rem 6rem 6rem;
    border: 1rem solid #2d2e83;
    background-color: #fff;
    text-align: center;
}

.sj-pay-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    margin-bottom: 1.5rem;
    border: .5rem solid currentColor;
    border-radius: 50%;
    font-size: 4rem;
    line-height: 1;
}

.sj-pay-card--paid .sj-pay-card__icon {
    color: #2e8b3d;
}

.sj-pay-card--pending .sj-pay-card__icon {
    color: #2d2e83;
}

.sj-pay-card--abandoned .sj-pay-card__icon {
    color: #a15c00;
}

.sj-pay-card--refused .sj-pay-card__icon {
    color: #c62828;
}

.sj-pay-card__title {
    margin: 0 0 1.6rem;
    font-family: raleway-black-webfont, sans-serif;
    font-size: 2.4rem;
    color: #2d2e83;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.sj-pay-card__text {
    margin: 0 auto 1.2rem;
    max-width: 100rem;
    font-size: 1.65rem;
    line-height: 1.65;
    color: #3b3b6d;
}

.sj-pay-rows {
    max-width: 78rem;
    margin: 2.6rem auto;
    text-align: left;
}

.sj-pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid #d8d8e6;
    font-size: 1.6rem;
    color: #2d2e83;
}

.sj-pay-row:first-child {
    border-top: 1px solid #d8d8e6;
}

.sj-pay-row__label {
    padding-right: 2rem;
}

.sj-pay-row__value {
    font-family: raleway-black-webfont, sans-serif;
    white-space: nowrap;
}

.sj-pay-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.sj-pay-card__actions .btn {
    min-width: 26rem;
    padding: 1.2rem 3rem;
    font-family: raleway-black-webfont, sans-serif;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    color: #2d2e83;
}

.sj-pay-card__actions .btn--outline {
    border: 2px solid #2d2e83;
    background: transparent;
}

.sj-pay-card__actions .btn--outline:hover,
.sj-pay-card__actions .btn--outline:focus {
    background-color: #2d2e83;
    color: #fff;
}

.sj-pay-card__actions form {
    display: inline-block;
    margin: 0;
}

.sj-pay-card__help {
    margin-top: 2.4rem;
    font-size: 1.45rem;
    color: #3b3b6d;
}

.sj-pay-card__help strong {
    color: #2d2e83;
}

@media (max-width: 767px) {
    .sj-pay-card {
        padding: 3rem 2rem 4rem;
        border-width: .6rem;
    }

    .sj-pay-card__title {
        font-size: 1.9rem;
    }

    .sj-pay-card__actions {
        flex-direction: column;
    }

    .sj-pay-card__actions .btn {
        width: 100%;
        min-width: 0;
    }

    .sj-virement-info {
        margin-left: 0;
    }
}
