/* Page 4 only. The active theme owns its shell and all managed content. */
.bank-info {
  container: bank-info / inline-size;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 24px;
  color: #142e53;
  direction: rtl;
}
.bank-info, .bank-info * { box-sizing: border-box; }
.bank-info [hidden] { display: none !important; }
.bank-info__surface {
  --bi-pad: clamp(16px, 3.2cqi, 32px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce3ec;
  border-top: 3px solid #cc426c;
  border-radius: clamp(12px, 1.7cqi, 18px);
  box-shadow: 0 8px 28px rgb(18 44 78 / 5%);
}
.bank-info__header { padding: var(--bi-pad) var(--bi-pad) 0; }
.bank-info__title-row { display: flex; align-items: center; gap: 14px; }
.bank-info__title-row img { width: clamp(34px, 4.8cqi, 48px); height: auto; flex: none; }
.bank-info h1 {
  margin: 0; padding: 0; color: #112c52;
  font-size: clamp(22px, calc(19px + 1.05cqi), 30px); line-height: 1.5; font-weight: 800;
  overflow-wrap: anywhere;
}
.bank-info__managed, .bank-info__details { padding: 16px var(--bi-pad) var(--bi-pad); }
.bank-info__managed { overflow-wrap: anywhere; line-height: 1.85; }
.bank-info__managed, .bank-info__managed * { font-size: clamp(16px, calc(15px + .3cqi), 18px) !important; }
.bank-info__managed img, .bank-info__managed table { max-width: 100%; }
.bank-info__managed table { display: block; overflow-x: auto; }
.bank-info__managed p { margin: 0 0 14px; }
.bank-info__intro {
  margin: 0 0 clamp(20px, 2.8cqi, 28px);
  color: #4d607b; font-size: clamp(16px, calc(15px + .3cqi), 18px);
  font-weight: 500; line-height: 1.85; overflow-wrap: anywhere;
}
.bank-info__fees-title { margin: 0; padding: 18px 0; border-top: 1px solid #e1e7ef; font-size: clamp(17px, calc(15px + .5cqi), 20px); font-weight: 800; line-height: 1.6; }
.bank-info__fees { margin: 0; }
.bank-info__fee { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #e1e7ef; padding: clamp(16px, 2cqi, 22px) 0; }
.bank-info__fee:last-child { border-bottom: 1px solid #e1e7ef; }
.bank-info__fee dt { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(16px, calc(14.5px + .55cqi), 20px); font-weight: 800; line-height: 1.6; min-width: 0; }
.bank-info__fee dt img { width: clamp(28px, 3.7cqi, 38px); height: auto; flex: none; }
.bank-info__fee dd { display: flex; align-items: baseline; gap: 6px; margin: 0; flex-shrink: 0; color: #142e53; }
.bank-info__amount { font-size: clamp(26px, calc(22px + 1.2cqi), 34px); font-weight: 800; line-height: 1.4; }
.bank-info__currency { font-size: clamp(15px, 1.75cqi, 18px); font-weight: 700; }
.bank-info__contact { margin-top: 20px; padding: clamp(16px, 2.4cqi, 24px); background: #fcf5f8; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bank-info__address { min-width: 0; }
.bank-info__address-label { display: block; margin-bottom: 4px; font-size: clamp(14px, calc(13px + .3cqi), 16px); color: #57677f; line-height: 1.7; }
.bank-info__email { display: block; color: #142e53; font-size: clamp(18px, calc(16px + .6cqi), 22px); font-weight: 800; line-height: 1.6; overflow-wrap: anywhere; }
.bank-info__actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.bank-info .bank-info__action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; margin: 0; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: clamp(14px, calc(13px + .3cqi), 16px); font-weight: 700; line-height: 1.6; cursor: pointer; text-decoration: none; text-align: center; }
.bank-info .bank-info__action--email { background: #294f79; color: #fff; }
/* Outrank the shared button:hover rule even on touch's retained hover state. */
.bank-info button.bank-info__action.bank-info__action--copy {
  background: #fffafb; border-color: #d7dee7; color: #294f79;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.bank-info__copy-icon, .bank-info__copy-label { display: inline-grid; align-items: center; justify-items: center; }
.bank-info__copy-icon { width: 20px; height: 20px; flex: none; }
.bank-info__copy-icon > *, .bank-info__copy-label > * { grid-area: 1 / 1; }
.bank-info__copy-icon svg { display: block; width: 20px; height: 20px; }
.bank-info__copy-label { white-space: nowrap; }
.bank-info__copy-success { visibility: hidden; }
.bank-info [data-copy-state="success"] .bank-info__copy-idle { visibility: hidden; }
.bank-info [data-copy-state="success"] .bank-info__copy-success { visibility: visible; }
.bank-info button.bank-info__action.bank-info__action--copy[data-copy-state="success"] {
  background: #edf7ef; border-color: #b5d7be; color: #24643c;
}
.bank-info button.bank-info__action.bank-info__action--copy[data-copy-state="copying"] { cursor: progress; }
.bank-info__action img { flex: none; width: 20px; height: 20px; }
.bank-info__action--email img { filter: brightness(0) invert(1); }
.bank-info .bank-info__action:focus-visible { outline: 3px solid #bc4267; outline-offset: 3px; }
.bank-info .bank-info__action:active { transform: translateY(1px); }
/* Success is announced without adding a row or changing the card height. */
.bank-info__copy-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.bank-info__copy-status[data-visible="true"] {
  position: static; width: auto; height: auto; padding: 0; margin: 10px 0 0;
  overflow: visible; clip: auto; clip-path: none; white-space: normal;
  color: #984157; font-size: 14px; line-height: 1.7;
}
.bank-info__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; margin-top: 12px; color: #6a7585; font-size: 12px; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) {
  .bank-info .bank-info__action--email:hover { background: #214467; color: #fff; }
  .bank-info button.bank-info__action.bank-info__action--copy:not([data-copy-state="success"]):hover { background: #f7edf2; border-color: #c9d2df; color: #142e53; }
}
@container bank-info (max-width: 760px) {
  .bank-info__contact { align-items: stretch; flex-direction: column; gap: 14px; }
  .bank-info__address { text-align: center; }
  .bank-info__actions { justify-content: center; flex-wrap: wrap; }
}
@container bank-info (max-width: 400px) {
  .bank-info__title-row { gap: 10px; }
  .bank-info__actions { flex-direction: column-reverse; gap: 10px; }
  .bank-info .bank-info__action--email { width: 100%; }
  .bank-info__fee dt { gap: 6px; }
  .bank-info__fee dt img { width: 24px; }
  .bank-info__fee { gap: 8px; }
}
@supports not (container-type: inline-size) {
  .bank-info__surface { --bi-pad: 20px; }
  .bank-info__contact { flex-direction: column; }
  .bank-info__actions { flex-wrap: wrap; justify-content: center; }
  .bank-info__title-row img { width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .bank-info button.bank-info__action.bank-info__action--copy { transition: none; }
}
