/* SWIFT Code Lookup: loaded after IBAN to BIC's stylesheet (same .ibanbic layout and .ib-* card
   classes), adding only what a BIC's card has that an IBAN's doesn't. */
.ib-card.st-bank { box-shadow: 4px 4px 0 var(--amber); }
.ib-table tr.st-bank .prob { color: var(--warn); }

.sw-sub { margin: 22px 0 2px; font-size: 15px; }
.sw-sub + .muted { margin: 0; }
.sw-codes tr.closed td { color: var(--muted); }
.sw-codes .badge { font-size: 11px; }

.sw-iban { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; }
.sw-iban .icon { flex: none; }

.ib-bank dd a { color: inherit; }
.swiftcode .ib-bank { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.swiftcode .ib-bank dd.mono { overflow-wrap: normal; white-space: nowrap; }

/* One BIC at a time: a single-line box beside its button. */
.swiftcode .q-row { margin-top: 0; }
.swiftcode #sw-q {
  flex: 1; min-width: 0; max-width: 420px; box-sizing: border-box;
  font: inherit; font-family: var(--mono); font-size: 18px; letter-spacing: .06em; padding: 9px 12px;
  border: 1.5px solid var(--edge); border-radius: 10px; background: var(--panel); color: var(--text);
}
.swiftcode #sw-q:focus { outline: 2px solid var(--c); outline-offset: 1px; }
