/* Payment consent surfaces: mini cart and Subscriptions Pro Pay now. */
.payment-terms-notice {
    display: flex;
    gap: 10px;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid rgba(29, 103, 214, .32);
    border-radius: 10px;
    background: rgba(29, 103, 214, .06);
    color: #2f3949;
}

.payment-terms-notice__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #1d67d6;
    font-size: 16px;
}

.payment-terms-notice__copy {
    min-width: 0;
}

.payment-terms-notice__copy strong {
    display: block;
    margin-bottom: 3px;
    color: #01002c;
    font-size: 13px;
    line-height: 1.3;
}

.payment-terms-notice__copy p {
    margin: 0;
    color: #505b6d;
    font-size: 12px;
    line-height: 1.45;
}

.payment-terms-notice__copy a,
.sp-payment-terms-modal__link {
    color: #155fc6;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sp-renewal-mode-badge {
    min-height: 1.65rem;
    max-width: 100%;
    padding: .3rem .55rem;
    border: 1px solid rgba(1, 0, 44, .55);
    border-radius: .32rem;
    background: #fff;
    color: #01002c;
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.sp-renewal-mode-badge svg {
    flex: 0 0 auto;
    width: .9rem;
    height: .9rem;
}

.sp-payment-terms-modal .modal-dialog {
    width: min(92vw, 500px);
    margin-right: auto;
    margin-left: auto;
}

.sp-payment-terms-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(1, 0, 44, .18);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(1, 0, 44, .22);
}

.sp-payment-terms-modal .modal-header,
.sp-payment-terms-modal .modal-body,
.sp-payment-terms-modal .modal-footer {
    padding: 18px 20px;
}

.sp-payment-terms-modal .modal-header {
    border-bottom-color: #e3e6ec;
}

.sp-payment-terms-modal__heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.sp-payment-terms-modal__icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #edf4ff;
    color: #1d67d6;
    display: grid;
    place-items: center;
}

.sp-payment-terms-modal__icon svg {
    width: 20px;
    height: 20px;
}

.sp-payment-terms-modal__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #657086;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sp-payment-terms-modal .modal-title {
    margin: 0;
    color: #01002c;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.sp-payment-terms-modal .modal-body p {
    margin: 0 0 10px;
    color: #424d60;
    font-size: 14px;
    line-height: 1.55;
}

.sp-payment-terms-modal__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.sp-payment-terms-modal__link svg {
    width: 14px;
    height: 14px;
}

.sp-payment-terms-modal .modal-footer {
    gap: 9px;
    border-top-color: #e3e6ec;
}

.sp-payment-terms-modal__cancel,
.sp-payment-terms-modal__confirm {
    min-height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

.sp-payment-terms-modal__cancel {
    border: 1px solid rgba(1, 0, 44, .28);
    background: #fff;
    color: #01002c;
}

.sp-payment-terms-modal__confirm {
    border: 1px solid #01002c;
    background: rgba(1, 0, 44, .88);
    color: #fff;
}

.sp-payment-terms-modal__confirm:hover,
.sp-payment-terms-modal__confirm:focus {
    background: #01002c;
    color: #fff;
}

.sp-payment-terms-modal__confirm svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 430px) {
    .payment-terms-notice {
        padding: 10px;
    }

    .sp-payment-terms-modal .modal-header,
    .sp-payment-terms-modal .modal-body,
    .sp-payment-terms-modal .modal-footer {
        padding: 15px;
    }

    .sp-payment-terms-modal .modal-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sp-payment-terms-modal__cancel,
    .sp-payment-terms-modal__confirm {
        width: 100%;
        margin: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-payment-terms-modal.fade .modal-dialog {
        transition: none;
    }
}
