.withdrawal-popup { margin: 0; background: #f5f6fa; color: #262b42; font: 15px/1.6 Arial, sans-serif; }
.withdrawal-card { max-width: 760px; margin: 110px auto 35px; padding: 36px; background: #fff; border: 1px solid #e0e3ee; border-radius: 16px; color: #262b42; font: 15px/1.6 Arial, sans-serif; text-align: left; }
.withdrawal-popup .withdrawal-card { margin: 0; border: 0; border-radius: 0; }
.withdrawal-eyebrow { font-size: 11px; font-weight: bold; color: #535d9b; text-transform: uppercase; letter-spacing: .13em; }
.withdrawal-card h1 { margin: 10px 0 14px; font-size: 30px; line-height: 1.2; font-weight: bold; color: #313a8c; }
.withdrawal-intro { font-size: 16px; color: #555d74; }
.withdrawal-recipient { margin: 24px 0; padding: 16px 18px; border-radius: 10px; background: #f1f3fa; font-size: 13px; }
.withdrawal-card a { color: #313a8c; text-decoration: underline; }
.withdrawal-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 24px; }
.withdrawal-wide { grid-column: 1 / -1; }
.withdrawal-field { min-width: 0; }
.withdrawal-field label { display: block; margin: 0 0 7px; font-weight: bold; font-size: 14px; }
.withdrawal-field label span { font-weight: normal; color: #666d80; }
.withdrawal-field input, .withdrawal-field textarea { box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c8cddd; border-radius: 8px; background: #fff; color: #262b42; font: inherit; }
.withdrawal-field textarea { resize: vertical; }
.withdrawal-field input:focus, .withdrawal-field textarea:focus { outline: 3px solid #d9def7; outline-offset: 1px; border-color: #313a8c; }
.withdrawal-field small { display: block; margin-top: 7px; line-height: 1.5; color: #626a7e; font-size: 12px; }
.withdrawal-declaration { border-left: 3px solid #535d9b; padding: 15px 18px; margin: 24px 0 18px; background: #f7f8fc; border-radius: 0 8px 8px 0; }
.withdrawal-declaration p { margin: 8px 0 0; }
.withdrawal-hint { font-size: 12px; color: #626a7e; }
.withdrawal-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin-top: 24px; padding: 15px 20px; background: #313a8c; color: #fff; border: 0; border-radius: 8px; font: bold 16px/1.4 Arial, sans-serif; cursor: pointer; }
.withdrawal-submit:hover { background: #242c70; }
.withdrawal-submit:focus-visible, .withdrawal-dialog-close:focus-visible { outline: 3px solid #8b9bff; outline-offset: 3px; }
.withdrawal-errors, .withdrawal-field .errorMessage { color: #9c2525; font-size: 13px; }
.withdrawal-errors { padding: 15px; border: 1px solid #e6b6b6; background: #fff5f5; border-radius: 8px; }
.withdrawal-field [aria-invalid="true"] { border-color: #b73434; }
.withdrawal-preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.withdrawal-success-icon { width: 48px; height: 48px; margin-top: 22px; border-radius: 50%; background: #e8f5ed; color: #267142; text-align: center; font: bold 28px/48px Arial, sans-serif; }
.withdrawal-dialog { width: min(760px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 100px #151a4440; background: #f5f6fa; }
.withdrawal-dialog::backdrop { background: #171c3ca6; }
.withdrawal-dialog:not([open]) { display: none; }
.withdrawal-dialog-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #e0e3ee; color: #535d75; font: 13px/1.5 Arial, sans-serif; }
.withdrawal-dialog-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #e8ebf4; color: #313a8c; font: 26px/1 Arial, sans-serif; cursor: pointer; }
.withdrawal-dialog iframe { display: block; width: 100%; height: min(760px, calc(100dvh - 88px)); border: 0; }
.section.contact a.withdrawal-open { display: inline-block; padding: 6px 16px; border: 2px solid #fff; border-radius: 16px; background: #fff; color: #444; font-weight: bold; text-decoration: none; }
.section.contact a.withdrawal-open:hover { background: #f5f5f5; color: #444; text-decoration: none; outline: none; box-shadow: none; }
.section.contact a.withdrawal-open:focus-visible { outline: 2px solid #aab7ff; outline-offset: 3px; }
.footer-dialog-content { max-height: min(760px, calc(100dvh - 88px)); overflow: auto; overscroll-behavior: contain; background: #fff; }
.footer-dialog .modalLayer { display: block !important; width: auto; max-width: none; margin: 0; padding: 36px; border: 0; border-radius: 0; box-shadow: none; overflow: visible; color: #262b42; font: 15px/1.6 Arial, sans-serif; text-align: left; overflow-wrap: anywhere; }
.footer-dialog .modalLayer > .closeButton { display: none; }
.footer-dialog .modalLayer > h2 { margin: 0 0 24px; color: #313a8c; font: bold 30px/1.2 Arial, sans-serif; }
.footer-dialog .modalLayer .textWrap { max-height: none; overflow: visible; }
.footer-dialog .modalLayer h3 { color: #313a8c; font: bold 18px/1.4 Arial, sans-serif; }
.footer-dialog .modalLayer a { color: #313a8c; text-decoration: underline; }
@media (max-width: 540px) {
    .withdrawal-card { padding: 24px 18px; }
    .withdrawal-card h1 { font-size: 26px; }
    .withdrawal-fields { grid-template-columns: 1fr; gap: 18px; }
    .withdrawal-dialog iframe { height: calc(100dvh - 88px); }
    .withdrawal-field input, .withdrawal-field textarea { font-size: 16px; }
    .footer-dialog .modalLayer { padding: 24px 18px; }
    .footer-dialog .modalLayer > h2 { font-size: 26px; }
}
