/* Scoped, responsive RateBuddy money-transfer route finder. */
#rb-mt-crosslink {
    --mt-ink: #152849;
    --mt-muted: #435571;
    --mt-blue: #204cab;
    --mt-gutter: clamp(1rem, 3vw, 3rem);
    container-type: inline-size;
    isolation: isolate;
    position: relative;
    color: var(--mt-ink);
    background: linear-gradient(111deg, #edf2ff, #eef6fb 58%, #f6fafb);
    border-image: linear-gradient(111deg, #edf2ff, #f6fafb) 0 fill / 0 / 0 100vmax;
    margin: clamp(1rem, 2vw, 2rem) 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color-scheme: light;
    text-align: start;
}
#rb-mt-crosslink, #rb-mt-crosslink * { box-sizing: border-box; }
#rb-mt-crosslink [hidden] { display: none !important; }
#rb-mt-crosslink .rbmtx-inner {
    max-width: 89rem; margin-inline: auto; padding: clamp(1.4rem, 3.3vw, 3.2rem) var(--mt-gutter);
    display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.12fr);
    gap: clamp(1.5rem, 4.5vw, 5.25rem); align-items: center;
}
#rb-mt-crosslink .rbmtx-copy { min-width: 0; }
#rb-mt-crosslink .rbmtx-eyebrow {
    display: flex; align-items: center; gap: .48rem; margin: 0 0 .85rem; color: #355581;
    font: 700 .82rem/1.4 Inter,system-ui,sans-serif; letter-spacing: .075em; text-transform: uppercase;
}
#rb-mt-crosslink .rbmtx-eyebrow svg { color: #285ca4; flex: none; }
#rb-mt-crosslink .rbmtx-eyebrow span { color: #6883aa; padding-inline: .06rem; }
#rb-mt-crosslink #rbmtx-title {
    color: var(--mt-ink); margin: 0; font: 650 clamp(2rem, 3.45vw, 3.5rem)/1.055 Georgia, "Times New Roman", serif;
    letter-spacing: -.045em; text-wrap: balance; overflow-wrap: break-word;
}
#rb-mt-crosslink #rbmtx-title em { color: var(--mt-blue); font-weight: 400; }
#rb-mt-crosslink .rbmtx-description {
    margin: .85rem 0 0; max-width: 43ch; color: var(--mt-muted);
    font: 450 1.025rem/1.55 Inter,system-ui,sans-serif;
}
#rb-mt-crosslink .rbmtx-postmark { display: block; width: 9rem; height: auto; margin-top: .9rem; }
#rb-mt-crosslink .rbmtx-form {
    min-width: 0; margin: 0; padding: clamp(1rem, 2vw, 1.65rem);
    border: 1px solid #d6e0ee; border-radius: 1.15rem; background: #fff;
    box-shadow: 0 12px 36px -18px rgb(27 56 99 / .24);
}
#rb-mt-crosslink .rbmtx-form-title {
    margin: 0 0 .95rem; color: var(--mt-ink);
    font: 720 clamp(1.08rem, 2vw, 1.37rem)/1.3 Inter,system-ui,sans-serif; letter-spacing: -.025em;
}
#rb-mt-crosslink .rbmtx-route {
    display: grid; align-items: end; grid-template-columns: minmax(0,.93fr) 1.25rem minmax(0,1.07fr); gap: .42rem;
}
#rb-mt-crosslink .rbmtx-field { min-width: 0; }
#rb-mt-crosslink .rbmtx-field label {
    display: block; margin: 0 0 .32rem; color: #354a65; font: 650 .875rem/1.4 Inter,system-ui,sans-serif;
}
#rb-mt-crosslink .rbmtx-field select {
    display: block; width: 100%; min-width: 0; min-height: 2.95rem;
    margin: 0; padding: .65rem 1.65rem .7rem .75rem;
    border: 1px solid #889bb5; border-radius: .5rem; background-color: #fbfcff;
    color: var(--mt-ink); font: 550 1rem/1.35 Inter,system-ui,sans-serif;
    appearance: auto; cursor: pointer;
}
#rb-mt-crosslink .rbmtx-direction { display: grid; place-items: center; height: 2.95rem; color: #6682aa; }
#rb-mt-crosslink .rbmtx-button {
    display: block; width: 100%; min-height: 2.95rem; margin: .85rem 0 0; padding: .6rem 1rem;
    border: 1px solid #204cab; border-radius: .55rem; background: #204cab; color: #fff;
    font: 720 1rem/1.4 Inter,system-ui,sans-serif; cursor: pointer;
}
#rb-mt-crosslink .rbmtx-button:enabled:hover { background: #173b89; }
#rb-mt-crosslink .rbmtx-button:disabled { background: #e6ecf7; border-color: #d4deee; color: #445875; cursor: not-allowed; opacity: 1; }
#rb-mt-crosslink :is(select,a,button):focus-visible { outline: 3px solid #285aca; outline-offset: 3px; }
#rb-mt-crosslink .rbmtx-status, #rb-mt-crosslink .rbmtx-noscript {
    margin: .5rem 0 0; color: var(--mt-muted); font: 450 .875rem/1.45 Inter,system-ui,sans-serif;
}
#rb-mt-crosslink .rbmtx-form--unavailable .rbmtx-status { color: #824717; }
#rb-mt-crosslink .rbmtx-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .55rem; margin-top: .85rem; }
#rb-mt-crosslink .rbmtx-shortcut-caption { color: #485c79; font: 600 .85rem/1.4 Inter,system-ui,sans-serif; }
#rb-mt-crosslink .rbmtx-shortcut-links { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; min-width: 0; }
#rb-mt-crosslink .rbmtx-shortcut-links a {
    display: inline-flex; align-items: center; min-height: 2rem; padding: .25rem .72rem; max-width: 100%;
    border: 1px solid #c9d8ef; border-radius: 2rem; background: #f1f5fc; color: #204789;
    text-decoration: none; overflow-wrap: anywhere; font: 650 .875rem/1.35 Inter,system-ui,sans-serif;
}
#rb-mt-crosslink .rbmtx-shortcut-links a:hover { background: #dfeafa; text-decoration: underline; }
#rb-mt-crosslink .rbmtx-noscript a { color: #204789; text-decoration: underline; }
@container (max-width: 56rem) {
    #rb-mt-crosslink .rbmtx-inner { grid-template-columns: minmax(0,1fr); gap: 1rem; }
    #rb-mt-crosslink .rbmtx-postmark { display: none; }
    #rb-mt-crosslink .rbmtx-description { max-width: 66ch; margin-top: .5rem; }
    #rb-mt-crosslink .rbmtx-eyebrow { margin-bottom: .5rem; }
    #rb-mt-crosslink #rbmtx-title br { display: none; }
    #rb-mt-crosslink #rbmtx-title em::before { content: " "; }
}
@container (max-width: 35rem) {
    #rb-mt-crosslink .rbmtx-route { grid-template-columns: minmax(0,1fr); gap: .65rem; }
    #rb-mt-crosslink .rbmtx-direction { display: none; }
    #rb-mt-crosslink .rbmtx-inner { padding: 1.25rem .75rem; }
    #rb-mt-crosslink .rbmtx-form { padding: 1rem; }
    #rb-mt-crosslink #rbmtx-title { font-size: clamp(2rem,7vw,2.5rem); }
    #rb-mt-crosslink .rbmtx-shortcut-links a { min-height: 2.5rem; }
}
