/* The card form (assets/js/nr-card.js): the same look in the cart, Pay Now and the
   Payment Methods page. The number and the security code are the gateway's iframes,
   which sit inside .nrc__frame and are styled from the page's capture context. */
.nrc { text-align: left; container-type: inline-size; }
/* The trust strip above the fields */
.nrc__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px;
    background: linear-gradient(90deg, #eef5ee 0%, #f3f7ff 100%); border: 1px solid #d6e9d8; }
.nrc__trust-lock { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #1f8a4c; color: #fff; flex: 0 0 auto; }
.nrc__trust-text { flex: 1; min-width: 0; line-height: 1.25; }
.nrc__trust-text strong { display: block; font-size: 14px; font-weight: 600; color: #1c1e26; white-space: nowrap; }
.nrc__trust-text small { display: block; font-size: 11.5px; color: #4c5578; }
.nrc__brands { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.nrc__logo { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 6px; border-radius: 4px; border: 1px solid #e3e5ee; background: #fff;
    font-style: normal; font-weight: 800; font-size: 9.5px; letter-spacing: .02em; font-family: Arial, Helvetica, sans-serif; }
.nrc__logo--visa { color: #1a1f71; }
.nrc__logo--amex { color: #fff; background: #2e77bc; border-color: #2e77bc; }
.nrc__logo--disc { color: #ff6000; }
.nrc__logo--mc { padding: 0 8px; gap: 0; }
.nrc__logo--mc b { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: #eb001b; }
.nrc__logo--mc b + b { background: #f79e1b; margin-left: -5px; opacity: .95; }
/* The fields sit in their own bordered panel */
.nrc__panel { padding: 14px 14px 4px; border: 1px solid #e3e5ee; border-radius: 12px; background: #fbfbfe; }
.nrc__assure { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 2px 0; }
.nrc__badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #eef5ee; color: #1f6b3f; font-size: 11.5px; font-weight: 600; }
.nrc__assure .nrc__secure { flex: 1 1 100%; margin: 2px 0 0; }
/* In a narrow form (the Pay Now dialog, a phone) the logos take a line of their own under the text */
@container (max-width: 520px) { .nrc__brands { flex-basis: 100%; margin-left: 46px; } }
@media (max-width: 400px) { .nrc__brands { margin-left: 0; } }
.nrc__mock { display: block; margin: 0 0 12px; padding: 7px 12px; border-radius: 8px; background: #fff6ea; color: #6b4a12; font-size: 12.5px; line-height: 1.5; }
.nrc__field { display: block; position: relative; margin: 0 0 12px; }
.nrc__label { display: block; margin: 0 0 5px 2px; font-size: 12.5px; font-weight: 500; color: #555a6b; }
.nrc__input, .nrc__frame { display: block; width: 100%; height: 46px; padding: 0 16px; border: 1px solid #e3e5ee; border-radius: 12px; background: #fff;
    font-family: 'Poppins', Arial, sans-serif; font-size: 15px; color: #222328; box-sizing: border-box; }
.nrc__input:focus { outline: none; border-color: #4260cb; box-shadow: 0 0 0 3px rgba(66, 96, 203, .12); }
.nrc__frame { padding: 0 12px; }
.nrc__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.nrc__frame.flex-microform-focused { border-color: #4260cb; box-shadow: 0 0 0 3px rgba(66, 96, 203, .12); }
.nrc__frame.flex-microform-invalid { border-color: #d63c3c; }
.nrc__brand { position: absolute; right: 14px; bottom: 13px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8c94b0; pointer-events: none; }
.nrc__brand.is-visa { color: #1a1f71; }
.nrc__brand.is-mastercard { color: #eb001b; }
.nrc__brand.is-amex { color: #2e77bc; }
.nrc__brand.is-discover { color: #ff6000; }
.nrc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.nrc__row--3 { grid-template-columns: 2fr 1fr 1fr; }
.nrc__address { margin-top: 6px; padding-top: 12px; border-top: 1px solid #eef0f6; }
.nrc__section { display: block; margin: 0 0 10px 2px; font-size: 13.5px; font-weight: 600; color: #222328; }
.nrc__section small { font-weight: 400; color: #8c94b0; }
select.nrc__input { appearance: auto; }
.nrc__error { margin: 0 0 10px; padding: 9px 12px; border-radius: 8px; background: #fdecef; color: #8a2433; font-size: 13.5px; line-height: 1.5; }
.nrc__secure { display: block; margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: #6b7280; }
@media (max-width: 420px) { .nrc__row, .nrc__row--3 { grid-template-columns: 1fr; gap: 0; } }

/* The saved cards a payment can use (Pay Now) */
.nrc-saved { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; text-align: left; }
.nrc-saved__card { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid #e3e5ee; border-radius: 12px; cursor: pointer; background: #fff; }
.nrc-saved__card.is-active { border-color: #4260cb; background: #f4f7ff; }
.nrc-saved__card input { margin: 0; }
.nrc-saved__brand { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4260cb; min-width: 44px; }
.nrc-saved__text { flex: 1; font-size: 14px; color: #222328; }
.nrc-saved__text small { display: block; color: #8c94b0; font-size: 12px; }
.nrc-save { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 13.5px; color: #555a6b; cursor: pointer; }
.nrc-save input { margin: 0; }
