.rb-mra-banner-section {
    padding-top: 0.5rem;
    padding-bottom: 1.25rem;
}

.rb-mra-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.35rem;
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 1.25rem;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.rb-mra-banner-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.rb-mra-banner-icon,
.rb-mra-modal-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: #087443;
    background: #e9f8f0;
    font-size: 1.2rem;
}

.rb-mra-eyebrow {
    margin-bottom: 0.3rem;
    color: #087443;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.rb-mra-banner-copy h2 {
    margin: 0 0 0.45rem;
    color: #172033;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.18;
}

.rb-mra-banner-copy p {
    max-width: 650px;
    margin: 0;
    color: #5d6878;
    font-size: 0.94rem;
    line-height: 1.55;
}

.rb-mra-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 0.85rem;
    color: #536173;
    font-size: 0.77rem;
    font-weight: 650;
}

.rb-mra-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.rb-mra-trust-row i {
    color: #0a8f53;
}

.rb-mra-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rb-mra-trigger-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.rb-mra-trigger-card {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.72rem;
    color: #263247;
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e1e7ef;
    border-radius: 0.85rem;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}

.rb-mra-trigger-card:hover {
    background: #f1f7ff;
    border-color: #96bce9;
    transform: translateY(-1px);
}

.rb-mra-trigger-card:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.2);
    outline-offset: 2px;
}

.rb-mra-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    color: #0d6efd;
    background: #e8f1ff;
    border-radius: 50%;
}

.rb-mra-trigger-card strong,
.rb-mra-trigger-card small {
    display: block;
}

.rb-mra-trigger-card strong {
    font-size: 0.76rem;
    line-height: 1.25;
}

.rb-mra-trigger-card small {
    margin-top: 0.15rem;
    color: #758093;
    font-size: 0.65rem;
    line-height: 1.3;
}

.rb-mra-primary-button {
    min-height: 2.75rem;
}

/* Modal */

.rb-mra-modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
}

.rb-mra-modal-header {
    align-items: flex-start;
    padding: 1.3rem 1.4rem 1rem;
    border-bottom: 1px solid #edf0f4;
}

.rb-mra-modal-header h2 {
    margin: 0;
    color: #172033;
    font-size: 1.35rem;
    font-weight: 800;
}

.rb-mra-modal-header p {
    margin: 0.25rem 0 0;
    color: #697586;
    font-size: 0.84rem;
}

.rb-mra-modal-body {
    padding: 1.25rem 1.4rem 1.4rem;
}

.rb-mra-stepper {
    display: flex;
    align-items: center;
    margin-bottom: 1.35rem;
}

.rb-mra-step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #8791a2;
    font-size: 0.75rem;
    font-weight: 750;
}

.rb-mra-step-indicator span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    background: #eef1f5;
    border-radius: 50%;
}

.rb-mra-step-indicator.is-active {
    color: #0d6efd;
}

.rb-mra-step-indicator.is-active span {
    color: #fff;
    background: #0d6efd;
}

.rb-mra-step-line {
    flex: 1;
    height: 1px;
    margin: 0 0.75rem;
    background: #dfe4eb;
}

.rb-mra-field-group {
    margin-bottom: 1.25rem;
}

.rb-mra-section-label {
    display: block;
    margin-bottom: 0.55rem;
    color: #29354a;
    font-size: 0.85rem;
    font-weight: 750;
}

.rb-mra-control,
.rb-mra-modal .input-group-text {
    min-height: 2.8rem;
    border-color: #dce2e9;
}

.rb-mra-control:focus {
    border-color: #7bacdf;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.11);
}

.rb-mra-choice-grid {
    display: grid;
    gap: 0.55rem;
}

.rb-mra-choice-grid--goals {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rb-mra-choice-grid--rate {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rb-mra-choice-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 3rem;
    padding: 0.6rem;
    color: #465268;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e0e5ec;
    border-radius: 0.8rem;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
}

.btn-check:checked + .rb-mra-choice-card {
    color: #0a58ca;
    background: #eef5ff;
    border-color: #65a0e7;
    box-shadow: inset 0 0 0 1px #65a0e7;
}

.rb-mra-trigger-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.rb-mra-trigger-choice {
    display: flex;
    flex-direction: column;
    min-height: 7rem;
    padding: 0.85rem;
    color: #39465b;
    background: #f8fafc;
    border: 1px solid #e0e6ee;
    border-radius: 0.9rem;
    cursor: pointer;
}

.rb-mra-trigger-choice i {
    margin-bottom: 0.45rem;
    color: #0d6efd;
    font-size: 1.2rem;
}

.rb-mra-trigger-choice strong {
    font-size: 0.8rem;
}

.rb-mra-trigger-choice small {
    margin-top: 0.2rem;
    color: #788496;
    font-size: 0.7rem;
}

.btn-check:checked + .rb-mra-trigger-choice {
    color: #0a58ca;
    background: #edf5ff;
    border-color: #65a0e7;
    box-shadow: inset 0 0 0 1px #65a0e7;
}

.rb-mra-form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.rb-mra-form-navigation--end {
    justify-content: flex-end;
}

.rb-mra-email-note {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    color: #6c7788;
    font-size: 0.72rem;
}

.rb-mra-email-note.is-success {
    color: #087443;
}

.rb-mra-otp-box {
    padding: 0.9rem;
    background: #f3f8ff;
    border: 1px solid #cfe1f7;
    border-radius: 0.9rem;
}

.rb-mra-otp-box strong,
.rb-mra-otp-box small {
    display: block;
}

.rb-mra-otp-box small {
    margin-top: 0.15rem;
    color: #68768a;
}

.rb-mra-otp-controls {
    display: flex;
    gap: 0.55rem;
    margin: 0.7rem 0 0.45rem;
}

.rb-mra-otp-controls input {
    max-width: 170px;
    letter-spacing: 0.25em;
    text-align: center;
    font-weight: 800;
}

.rb-mra-consent-box {
    margin-top: 1.2rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e1e6ed;
    border-radius: 0.95rem;
}

.rb-mra-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.rb-mra-consent-row + .rb-mra-consent-row {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e7ed;
}

.rb-mra-consent-row .form-check-input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.12rem;
}

.rb-mra-consent-row label {
    color: #4f5c6e;
    font-size: 0.76rem;
    line-height: 1.5;
}

.rb-mra-consent-row--optional label {
    color: #687586;
}

.rb-mra-consent-links {
    display: block;
    margin-top: 0.3rem;
}

.rb-mra-consent-links a {
    font-weight: 700;
    text-decoration: none;
}

.rb-mra-privacy-note {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.8rem;
    color: #677486;
    font-size: 0.7rem;
    line-height: 1.45;
}

.rb-mra-privacy-note i {
    color: #087443;
}

.rb-mra-success {
    padding: 1.5rem 0.5rem;
    text-align: center;
}

.rb-mra-success-icon {
    color: #0a8f53;
    font-size: 3rem;
}

.rb-mra-success h3 {
    margin: 0.65rem 0 0.35rem;
    color: #172033;
    font-size: 1.4rem;
    font-weight: 800;
}

.rb-mra-success p {
    color: #5d697b;
}

.rb-mra-success-note {
    max-width: 560px;
    margin: 0 auto 1.2rem;
    padding: 0.8rem;
    color: #415067;
    background: #f5f8fb;
    border-radius: 0.75rem;
    font-size: 0.78rem;
}

@media (max-width: 991.98px) {
    .rb-mra-banner {
        grid-template-columns: 1fr;
    }

    .rb-mra-choice-grid--goals {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .rb-mra-banner {
        padding: 1rem;
    }

    .rb-mra-banner-main {
        flex-direction: column;
    }

    .rb-mra-trigger-grid,
    .rb-mra-trigger-choice-grid {
        grid-template-columns: 1fr;
    }

    .rb-mra-choice-grid--goals,
    .rb-mra-choice-grid--rate {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rb-mra-modal-header,
    .rb-mra-modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rb-mra-form-navigation {
        flex-direction: column-reverse;
    }

    .rb-mra-form-navigation .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb-mra-trigger-card {
        transition: none;
    }
}