.withdraw-modal-open { overflow: hidden; }
.withdraw-dialog .deposit-heading p { font-size: 13px; line-height: 1.5; }
.withdraw-dialog .deposit-content { padding: 20px; }
.withdraw-dialog .deposit-section-label,
.withdraw-dialog .deposit-amount-card > label.deposit-section-label { font-size: 14px; }
.withdraw-dialog .deposit-bank-heading h3 { font-size: 14px; overflow-wrap: anywhere; }
.withdraw-dialog .deposit-bank-heading span { font-size: 11px; }
.withdraw-dialog .deposit-account-number { display: block; margin-top: 20px; font-size: clamp(18px, 2.2vw, 24px); overflow-wrap: anywhere; white-space: normal; }
.withdraw-dialog .deposit-field-help { font-size: 12px; line-height: 1.5; }
.withdraw-dialog .deposit-presets { gap: 6px; }
.withdraw-dialog .deposit-presets button { min-height: 39px; font-size: 12px; }
.withdraw-dialog .deposit-source-note { margin-block: 16px; font-size: 12px; }
.withdraw-dialog .deposit-error { font-size: 13px; }
.withdraw-dialog .deposit-submit-help { font-size: 12px; line-height: 1.5; }
.withdraw-dialog .deposit-demo-note { font-size: 12px; line-height: 1.5; }
.withdraw-dialog :focus-visible { outline: 2px solid #198fe0; outline-offset: 3px; }
#withdraw-refresh { display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; color: #d2ebff; background: #e3f4ff12; }
#withdraw-reset-amount { display: grid; place-items: center; flex: 0 0 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: #7193b2; background: #eef5fc; font-size: 20px; }
.withdraw-account-caption { display: flex; align-items: center; gap: 6px; margin-top: 15px; color: #55799a; font-size: 12px; }
.withdraw-account-caption svg { width: 16px; height: 16px; color: #168bd2; }
.withdraw-bank-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.withdraw-empty-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #c3def3; border-radius: 12px; color: #287fb9; background: #e5f2ff; }
.withdraw-empty-mark svg { width: 24px; height: 24px; }
.withdraw-bank-empty p { margin: 0; font-size: 14px; font-weight: 700; }
.withdraw-bank-empty small { font-size: 12px; color: #6786a3; line-height: 1.5; }
.withdraw-bank-button { min-height: 36px; padding: 8px 12px; border: 1px solid #b7d8f0; border-radius: 10px; color: #1266a7; background: #fff; font-size: 13px; font-weight: 700; }
.withdraw-bank-button:hover { background: #e5f2ff; border-color: #66afe0; }
.withdraw-bank-editor { margin-top: 14px; padding: 16px; border: 1px solid #bad8f2; border-radius: 18px; background: #fff; }
.withdraw-bank-editor h3 { margin: 0 0 14px; color: #174976; font-size: 16px; }
.withdraw-bank-options { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.withdraw-bank-options legend, .withdraw-bank-editor > label { margin-bottom: 9px; color: #426989; font-size: 14px; font-weight: 700; }
.withdraw-bank-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 8px; }
.withdraw-bank-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 70px; padding: 7px 3px; border: 1px solid #dbe6f0; border-radius: 12px; background: #f5f9fd; cursor: pointer; }
.withdraw-bank-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.withdraw-bank-option img { width: 34px; height: 34px; padding: 5px; border-radius: 9px; background: var(--bank-color); filter: grayscale(1); opacity: .55; }
.withdraw-bank-option span { color: #617b93; font: 700 10px/1.2 Tahoma,sans-serif; }
.withdraw-bank-option:has(:checked) { border-color: #3c9ce2; background: #e5f3ff; box-shadow: 0 0 0 1px #3c9ce2; }
.withdraw-bank-option:has(:checked) img { filter: none; opacity: 1; }
.withdraw-bank-option:has(:checked)::after { content: '✓'; position: absolute; top: -5px; right: -4px; display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #1986d0; font-size: 11px; }
.withdraw-bank-option:has(:focus-visible) { outline: 2px solid #198fe0; outline-offset: 3px; }
.withdraw-bank-editor > label { display: block; }
#withdraw-new-account { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #b8d3eb; border-radius: 10px; color: #174976; background: #f8fbff; font: 600 16px/1.4 Tahoma,sans-serif; }
.withdraw-bank-actions { display: flex; gap: 8px; margin-top: 14px; }
.withdraw-bank-actions .deposit-primary { flex: 1; min-height: 41px; }
.withdraw-bank-actions .withdraw-bank-button { min-height: 41px; }
#withdraw-result-bank { color: #335b81; overflow-wrap: anywhere; font-size: 14px; }
@media (max-width: 570px) {
  .withdraw-dialog .deposit-content { padding: 14px; }
  .withdraw-dialog .deposit-account-number { margin-top: 16px; font-size: 24px; }
  .withdraw-bank-empty { display: grid; grid-template-columns: 42px 1fr; gap: 5px 10px; }
  .withdraw-empty-mark { grid-row: span 2; }
  .withdraw-bank-empty small { font-size: 12px; }
  .withdraw-bank-empty .withdraw-bank-button { grid-column: 1 / -1; margin-top: 5px; }
  .withdraw-bank-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
  .withdraw-bank-editor { padding: 13px; }
  .withdraw-dialog .deposit-source-note { margin-block: 12px; }
}
@media (max-width: 350px) {
  .withdraw-bank-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .withdraw-dialog .deposit-heading { padding-inline: 15px; }
  .withdraw-dialog .deposit-heading-art { flex-basis: 36px; width: 36px; }
}
