:root {
    --wm2-brand-orange: #FF7A1A;
    --wm2-brand-orange-hover: #e0650f;
    --wm2-page-bg: #0b0e14;
    --wm2-card-bg: #111620;
    --wm2-input-bg: #0e1219;
    --wm2-border: rgba(255, 255, 255, 0.05);
    --wm2-site-width: 1440px;
    --wm2-font-scale: 1.1;
    --wm2-modal-width: 840px;
    --wm2-modal-font: 15px;
    --wm2-modal-scale: 1.06;
}

/* ===== Page shell — pure CSS, no Tailwind dependency ===== */
.withdraw-money2-page {
    width: 100%;
    max-width: 100%;
    clear: both;
    float: none;
    box-sizing: border-box;
    background-color: var(--wm2-page-bg);
    color: #ffffff;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body[data-page="WithdrawMoney2" i] {
    background: #06080c !important;
    overflow: hidden !important;
    min-height: 100vh;
}

/* Hide site chrome — modal-only page */
body[data-page="WithdrawMoney2" i] > header,
body[data-page="WithdrawMoney2" i] > nav.menubar,
body[data-page="WithdrawMoney2" i] > .tablet-info-bar,
body[data-page="WithdrawMoney2" i] > footer,
body[data-page="WithdrawMoney2" i] .fixed-left-menu-mount,
body[data-page="WithdrawMoney2" i] .fixed-left-menu-mobile {
    display: none !important;
}

/* ===== Modal overlay shell ===== */
#withdrawModal.wm2-withdraw-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    background: #06080c;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    #withdrawModal.wm2-withdraw-overlay {
        align-items: center;
        overflow-y: auto;
        padding: 1rem;
    }
}

#withdrawModal.wm2-withdraw-overlay.hidden {
    display: none !important;
}

.withdraw-money-modal-embed .wm2-withdraw-overlay--embed {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    background: transparent !important;
    overflow: visible !important;
    padding: 0 !important;
    max-width: var(--wm2-modal-width, 840px);
    width: 100%;
}

/* Breadcrumb */
.wm2-breadcrumb {
    display: none;
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 1px solid var(--wm2-border);
    background: var(--wm2-page-bg);
    overflow-x: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .wm2-breadcrumb {
        display: block;
    }
}

.wm2-breadcrumb-inner {
    width: 100%;
    max-width: var(--wm2-site-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.wm2-breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.wm2-breadcrumb-link:hover {
    color: #ffffff;
}

.wm2-breadcrumb-current {
    color: #9ca3af;
    font-weight: 600;
}

/* Main area */
.wm2-main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    box-sizing: border-box;
}

.wm2-cards {
    width: 100%;
    max-width: 56rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .wm2-cards {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Wallet card */
.wm2-wallet-card {
    flex: 1;
    min-width: 0;
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
    background: var(--wm2-card-bg);
    border: 1px solid var(--wm2-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    user-select: none;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .wm2-wallet-card {
        margin: 0;
    }
}

.wm2-wallet-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Pending bank account notice */
.wm2-pending-notices-stack {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.wm2-pending-notices-stack.hidden {
    display: none;
}

.wm2-pending-notices-stack--scroll {
    max-height: 13.75rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.wm2-pending-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    width: 100%;
    padding: 0.75rem 0.875rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(245, 158, 11, 0.22);
    background: rgba(245, 158, 11, 0.08);
    text-align: left;
    box-sizing: border-box;
}

.wm2-pending-notice.hidden {
    display: none;
}

.wm2-pending-notice-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    color: #fbbf24;
}

.wm2-pending-notice-icon svg {
    width: 1rem !important;
    height: 1rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
}

.wm2-pending-notice-body {
    flex: 1;
    min-width: 0;
}

.wm2-pending-notice-title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 700;
    color: #fde68a;
}

.wm2-pending-notice-desc {
    margin: 0.25rem 0 0;
    font-size: 0.855rem;
    line-height: 1.45;
    color: #d1d5db;
}

.wm2-pending-notice-list {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.wm2-pending-notice-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.375rem 0.625rem;
    padding: 0.375rem 0.5rem;
    border-radius: 0.375rem;
    background: rgba(0, 0, 0, 0.18);
}

.wm2-pending-notice-bank {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #ffffff;
}

.wm2-pending-notice-meta {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.02em;
}

.wm2-pending-notice-details {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.375rem 0.625rem;
    margin-top: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-radius: 0.375rem;
    background: rgba(0, 0, 0, 0.18);
}

.wm2-pending-notice-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.wm2-pending-notice-top .wm2-pending-notice-title {
    flex: 1;
    min-width: 0;
}

.wm2-pending-notice-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.625rem;
}

.wm2-pending-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(244, 63, 94, 0.35) !important;
    background: rgba(244, 63, 94, 0.1);
    color: #f87171;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.wm2-pending-cancel-btn svg {
    width: 0.75rem !important;
    height: 0.75rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
    pointer-events: none;
}

.wm2-pending-cancel-btn:hover:not(:disabled) {
    background: rgba(244, 63, 94, 0.18);
    border-color: rgba(244, 63, 94, 0.5) !important;
    color: #fecdd3;
}

.wm2-pending-cancel-btn:disabled,
.wm2-pending-cancel-btn.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
}

#withdrawModal .wm2-pending-notice {
    margin-bottom: 0;
}

#withdrawModal .wm2-pending-notices-stack {
    margin-bottom: 0.75rem;
}

#wm2PagePendingNotice {
    margin-top: 0.25rem;
}

.wm2-wallet-icon-wrap {
    width: 4rem;
    height: 4rem;
    margin: 0 auto;
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid rgba(255, 122, 26, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wm2-brand-orange);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.wm2-wallet-balance-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wm2-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}

.wm2-label-amber {
    color: #f59e0b;
}

.wm2-balance-main {
    font-size: 2.125rem;
    font-weight: 900;
    color: #34d399;
    line-height: 1.2;
    letter-spacing: -0.025em;
    animation: wm2Pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes wm2Pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.85; }
}

.wm2-balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--wm2-border);
    text-align: left;
}

.wm2-balance-col {
    padding-left: 0.5rem;
}

.wm2-balance-col-right {
    text-align: right;
    padding-right: 0.5rem;
    padding-left: 0;
    border-left: 1px solid var(--wm2-border);
}

.wm2-balance-sub {
    display: block;
    margin-top: 0.125rem;
    font-size: 1rem;
    font-weight: 900;
}

.wm2-balance-sub-white { color: #ffffff; }
.wm2-balance-sub-amber  { color: #fbbf24; }

.wm2-wallet-divider {
    border-top: 1px solid var(--wm2-border);
    padding-top: 0.75rem;
}

/* Withdraw button */
.wm2-withdraw-btn {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.125rem;
    background-color: var(--wm2-brand-orange);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
}

.wm2-withdraw-btn:hover {
    background-color: var(--wm2-brand-orange-hover);
}

.wm2-withdraw-btn svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
}

/* FAQ card */
.wm2-faq-card {
    display: none;
    flex: 1;
    min-width: 0;
    max-width: 28rem;
    width: 100%;
    background: var(--wm2-card-bg);
    border: 1px solid var(--wm2-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .wm2-faq-card {
        display: block;
    }
}

.wm2-faq-title {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.wm2-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.wm2-faq-item {
    border-bottom: 1px solid var(--wm2-border);
    padding-bottom: 0.5rem;
}

.wm2-faq-item-last {
    border-bottom: none;
    padding-bottom: 0;
}

.wm2-faq-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #d1d5db;
    margin: 0 0 0.125rem;
}

.wm2-faq-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.625;
    margin: 0;
    font-weight: 400;
}

/* ===== SVG reset — override global style.css:
   svg { fill:#fff; stroke:#fff; stroke-width:0.2px; width:20px; height:20px; } ===== */
body[data-page="WithdrawMoney2"] .withdraw-money2-page svg,
body[data-page="WithdrawMoney2"] #withdrawModal svg,
.withdraw-money2-page svg,
#withdrawModal svg {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
    flex-shrink: 0;
}

body[data-page="WithdrawMoney2"] .withdraw-money2-page svg path,
body[data-page="WithdrawMoney2"] .withdraw-money2-page svg line,
body[data-page="WithdrawMoney2"] .withdraw-money2-page svg polyline,
body[data-page="WithdrawMoney2"] .withdraw-money2-page svg circle,
body[data-page="WithdrawMoney2"] .withdraw-money2-page svg rect,
body[data-page="WithdrawMoney2"] #withdrawModal svg path,
body[data-page="WithdrawMoney2"] #withdrawModal svg line,
body[data-page="WithdrawMoney2"] #withdrawModal svg polyline,
body[data-page="WithdrawMoney2"] #withdrawModal svg circle,
body[data-page="WithdrawMoney2"] #withdrawModal svg rect,
.withdraw-money2-page svg path,
.withdraw-money2-page svg line,
.withdraw-money2-page svg polyline,
.withdraw-money2-page svg circle,
.withdraw-money2-page svg rect,
#withdrawModal svg path,
#withdrawModal svg line,
#withdrawModal svg polyline,
#withdrawModal svg circle,
#withdrawModal svg rect {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
}

/* Page icons */
.withdraw-money2-page .wm2-icon,
#withdrawModal .wm2-icon,
.withdraw-money2-page .lucide,
#withdrawModal .lucide {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
}

.wm2-icon-xs  { width: 0.8125rem !important; height: 0.8125rem !important; color: #374151; }
.wm2-icon-sm  { width: 1.125rem   !important; height: 1.125rem   !important; }
.wm2-icon-lg  { width: 1.75rem    !important; height: 1.75rem    !important; }

/* Modal UI icon size fallbacks (Tailwind w-* may not load) */
#withdrawModal svg.w-3,
.withdraw-money2-page svg.w-3   { width: 0.8125rem !important; height: 0.8125rem !important; }
#withdrawModal svg.w-3\.5,
.withdraw-money2-page svg.w-3\.5 { width: 0.9375rem !important; height: 0.9375rem !important; }
#withdrawModal svg.w-4,
.withdraw-money2-page svg.w-4   { width: 1.125rem  !important; height: 1.125rem  !important; }
#withdrawModal svg.w-5,
.withdraw-money2-page svg.w-5   { width: 1.375rem  !important; height: 1.375rem  !important; }
#withdrawModal svg.w-6,
.withdraw-money2-page svg.w-6   { width: 1.625rem  !important; height: 1.625rem  !important; }

/* Modal header / action icons without explicit w-* size */
#withdrawModal button svg:not([class*="w-"]),
#withdrawModal a svg:not([class*="w-"]) {
    width: 1.125rem !important;
    height: 1.125rem !important;
}

#withdrawModal [class*="text-brandOrange"] svg,
#withdrawModal svg.text-brandOrange {
    color: #FF7A1A !important;
    stroke: #FF7A1A !important;
}

/* ===== Modal shell ===== */
.wm2-modal-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    flex-shrink: 0;
    align-self: flex-end;
}

@media (min-width: 640px) {
    .wm2-modal-stack {
        max-width: min(var(--wm2-modal-width), calc(100% - 2rem));
        margin: auto;
        align-self: auto;
    }

    .wm2-modal-stack:has(#modalStep3:not(.hidden)) {
        --wm2-modal-width: 960px;
    }
}

#modalCard.wm2-modal-card {
    width: 100%;
    max-width: min(var(--wm2-modal-width), 100%) !important;
    max-height: 92vh;
    max-height: 92dvh;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: none !important;
    border-radius: 1rem 1rem 0 0 !important;
}

@media (min-width: 640px) {
    #modalCard.wm2-modal-card {
        max-height: 90vh;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 0.75rem !important;
    }
}

/* ===== Modal typography scale ===== */
#withdrawModal {
    font-size: var(--wm2-modal-font);
}

#withdrawModal .text-[9px]  { font-size: 11px !important; }
#withdrawModal .text-[10px] { font-size: 12px !important; }
#withdrawModal .text-[11px] { font-size: 13px !important; }
#withdrawModal .text-xs     { font-size: 0.875rem !important; }
#withdrawModal .text-sm     { font-size: 1rem !important; }
#withdrawModal .text-base   { font-size: 1.125rem !important; }
#withdrawModal .text-lg     { font-size: 1.25rem !important; }

#withdrawModal .wm2-modal-step-body {
    padding: calc(1.375rem * var(--wm2-modal-scale)) calc(1.5rem * var(--wm2-modal-scale)) calc(1.5rem * var(--wm2-modal-scale));
    display: flex;
    flex-direction: column;
    gap: calc(1rem * var(--wm2-modal-scale));
    overflow-y: auto;
    text-align: left;
}

@media (min-width: 640px) {
    #withdrawModal .wm2-modal-step-body {
        padding: calc(1.5rem * var(--wm2-modal-scale)) calc(1.75rem * var(--wm2-modal-scale)) calc(1.75rem * var(--wm2-modal-scale));
        gap: calc(1.125rem * var(--wm2-modal-scale));
    }
}

#withdrawModal .wm2-modal-step-body--overflow {
    overflow: visible;
}

#withdrawModal .wm2-history-step-header {
    padding: calc(0.875rem * var(--wm2-modal-scale)) calc(1.375rem * var(--wm2-modal-scale)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#withdrawModal .wm2-modal-step-header {
    padding-bottom: calc(0.875rem * var(--wm2-modal-scale)) !important;
}

#withdrawModal .wm2-step-intro {
    display: flex;
    flex-direction: column;
    gap: calc(0.375rem * var(--wm2-modal-scale));
    user-select: none;
}

#withdrawModal .wm2-step-title {
    font-size: calc(1.125rem * var(--wm2-modal-scale));
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

@media (min-width: 640px) {
    #withdrawModal .wm2-step-title {
        font-size: calc(1.25rem * var(--wm2-modal-scale));
    }
}

#withdrawModal .wm2-step-desc {
    font-size: calc(0.8125rem * var(--wm2-modal-scale));
    line-height: 1.55;
    color: #9ca3af;
    font-weight: 500;
}

/* IBAN display */
.wm2-iban-display,
#withdrawModal .wm2-bank-card-iban,
#withdrawModal #summarySelectedBank {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.04em;
    word-spacing: 0.1em;
}


/* ===== Modal scrollable ===== */
.modal-scrollable {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

.modal-scrollable::-webkit-scrollbar { width: 4px; }
.modal-scrollable::-webkit-scrollbar-track { background: transparent; }
.modal-scrollable::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 4px; }
.modal-scrollable::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); }

/* ===== History button (modal header) ===== */
#withdrawModal .wm2-history-btn {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.05);
}

#withdrawModal .wm2-history-btn:hover {
    border-color: rgba(255, 122, 26, 0.4) !important;
}

/* ===== Withdraw history table ===== */
#withdrawModal .wm2-history-table-wrap {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0.75rem;
    overflow-x: auto;
}

#withdrawModal .wm2-history-table {
    font-size: calc(0.8125rem * var(--wm2-modal-scale));
    color: #d1d5db;
}

#withdrawModal .wm2-history-table thead tr {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#withdrawModal .wm2-history-table th,
#withdrawModal .wm2-history-table td {
    padding: calc(0.75rem * var(--wm2-modal-scale)) !important;
    white-space: nowrap;
}

#withdrawModal .wm2-history-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: background-color 0.15s ease;
}

#withdrawModal .wm2-history-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

#withdrawModal .wm2-history-table tbody tr:last-child {
    border-bottom: none !important;
}

#withdrawModal .wm2-history-sticky-col {
    position: sticky;
    right: 0;
    z-index: 10;
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#withdrawModal .wm2-history-sticky-col--head {
    background: #141923;
    text-align: center;
}

#withdrawModal .wm2-history-sticky-col--body {
    background: #111620;
    text-align: center;
    overflow: visible;
}

#withdrawModal .wm2-history-pagination-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: calc(0.8125rem * var(--wm2-modal-scale));
    color: #6b7280;
}

#withdrawModal .wm2-history-page-btn {
    padding: calc(0.375rem * var(--wm2-modal-scale)) calc(0.75rem * var(--wm2-modal-scale));
    border-radius: 0.375rem;
    font-size: calc(11px * var(--wm2-modal-scale));
    font-weight: 600;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    cursor: pointer;
}

#withdrawModal .wm2-history-page-btn:hover:not(:disabled):not(.is-active) {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
}

#withdrawModal .wm2-history-page-btn:disabled,
#withdrawModal .wm2-history-page-btn.is-disabled {
    color: #6b7280;
    cursor: not-allowed;
}

#withdrawModal .wm2-history-page-btn.is-active {
    background: #FF7A1A;
    border-color: #FF7A1A !important;
    color: #ffffff;
    font-weight: 700;
    cursor: default;
}

#withdrawModal .wm2-history-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid;
}

#withdrawModal .wm2-history-badge--pending {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.2) !important;
}

#withdrawModal .wm2-history-badge--processing {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

#withdrawModal .wm2-history-badge--success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2) !important;
}

#withdrawModal .wm2-history-badge--danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2) !important;
}

#withdrawModal .wm2-history-badge--cancelled {
    background: rgba(107, 114, 128, 0.12);
    color: #9ca3af;
    border-color: rgba(107, 114, 128, 0.25) !important;
}

#withdrawModal .wm2-history-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    padding: 0;
    border-radius: 0.25rem;
    border: 1px solid rgba(244, 63, 94, 0.35) !important;
    background: rgba(244, 63, 94, 0.1);
    color: #f87171;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

#withdrawModal .wm2-history-cancel-btn svg {
    width: 0.75rem !important;
    height: 0.75rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
    pointer-events: none;
}

#withdrawModal .wm2-history-cancel-btn:hover:not(:disabled) {
    background: rgba(244, 63, 94, 0.18);
    border-color: rgba(244, 63, 94, 0.5) !important;
    color: #fca5a5;
}

#withdrawModal .wm2-history-cancel-btn:disabled,
#withdrawModal .wm2-history-cancel-btn.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
}

#withdrawModal .wm2-history-status-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    max-width: 100%;
}

#withdrawModal .wm2-history-amount-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

#withdrawModal .wm2-history-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.875rem;
    height: 0.875rem;
    color: #6b7280;
    cursor: help;
    vertical-align: middle;
}

#withdrawModal .wm2-history-help svg {
    width: 0.875rem !important;
    height: 0.875rem !important;
}

#withdrawModal .wm2-history-help:hover,
#withdrawModal .wm2-history-help:focus {
    color: #9ca3af;
    outline: none;
}

#withdrawModal .wm2-history-help-tip {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.5rem);
    transform: translateX(-50%);
    z-index: 30;
    width: max-content;
    max-width: 14rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1c2333;
    color: #e5e7eb;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

#withdrawModal .wm2-history-help:hover .wm2-history-help-tip,
#withdrawModal .wm2-history-help:focus .wm2-history-help-tip,
#withdrawModal .wm2-history-help--reason.is-open .wm2-history-help-tip {
    opacity: 1;
    visibility: visible;
}

#withdrawModal .wm2-history-help-tip--reason {
    left: auto;
    right: 0;
    top: auto;
    bottom: calc(100% + 0.5rem);
    transform: none;
    max-width: min(18rem, calc(100vw - 2.5rem));
    text-align: left;
}

@media (max-width: 639px) {
    #withdrawModal .wm2-history-help-tip--reason {
        right: -0.25rem;
        max-width: min(16rem, calc(100vw - 1.5rem));
    }
}

/* ===== Withdraw rules accordion ===== */
#withdrawModal .wm2-rules-accordion {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(10, 13, 20, 0.4);
}

#withdrawModal .wm2-rules-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
}

#withdrawModal .wm2-rules-toggle:hover {
    background: rgba(255, 255, 255, 0.02);
}

#withdrawModal .wm2-rules-content {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(10, 13, 20, 0.2);
}

/* ===== Add bank account steps ===== */
#withdrawModal .wm2-owner-card {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0.75rem;
    background: rgba(22, 27, 38, 0.12);
    padding: calc(1.125rem * var(--wm2-modal-scale));
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    user-select: none;
}

#withdrawModal .wm2-owner-card:hover:not(.is-disabled) {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

#withdrawModal .wm2-owner-card.is-active {
    border-color: #FF7A1A !important;
    background: rgba(22, 27, 38, 0.32);
}

#withdrawModal .wm2-owner-card.is-active:hover {
    border-color: rgba(255, 122, 26, 0.8) !important;
}

#withdrawModal .wm2-owner-card.is-disabled {
    opacity: 0.6;
    cursor: pointer;
}

#withdrawModal .wm2-owner-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

#withdrawModal .wm2-owner-radio {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

#withdrawModal .wm2-owner-card.is-active .wm2-owner-radio {
    border-color: #FF7A1A !important;
}

#withdrawModal .wm2-owner-radio-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: transparent;
}

#withdrawModal .wm2-owner-card.is-active .wm2-owner-radio-dot {
    background: #FF7A1A;
}

#withdrawModal .wm2-owner-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

#withdrawModal .wm2-owner-card-title {
    display: block;
    font-size: calc(0.875rem * var(--wm2-modal-scale));
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
}

#withdrawModal .wm2-owner-card-title.is-muted {
    color: #9ca3af;
}

#withdrawModal .wm2-owner-card-desc {
    display: block;
    font-size: calc(0.75rem * var(--wm2-modal-scale));
    line-height: 1.45;
    color: #6b7280;
}

#withdrawModal .wm2-owner-card-desc.is-muted {
    color: #4b5563;
}

#withdrawModal .wm2-add-warning {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(245, 158, 11, 0.12) !important;
    background: rgba(245, 158, 11, 0.03);
    user-select: none;
}

#withdrawModal .wm2-add-warning-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #6b7280;
}

#withdrawModal .wm2-form-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 0.125rem 0;
}

#withdrawModal .wm2-add-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#withdrawModal .wm2-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#withdrawModal .wm2-form-label {
    font-size: calc(0.8125rem * var(--wm2-modal-scale));
    line-height: 1.3;
    font-weight: 600;
    color: #9ca3af;
}

#withdrawModal .wm2-form-input,
#withdrawModal .wm2-form-select {
    width: 100%;
    box-sizing: border-box;
    padding: calc(0.75rem * var(--wm2-modal-scale)) calc(0.875rem * var(--wm2-modal-scale));
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: #0a0d14;
    color: #ffffff;
    font-size: calc(0.8125rem * var(--wm2-modal-scale));
    font-weight: 700;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#withdrawModal .wm2-form-input--iban {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.02em;
}

#withdrawModal .wm2-form-input::placeholder {
    color: #374151;
}

#withdrawModal .wm2-form-input:focus,
#withdrawModal .wm2-form-select:focus {
    outline: none;
    border-color: #FF7A1A !important;
}

#withdrawModal .wm2-form-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

#withdrawModal .wm2-form-select:hover {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

#withdrawModal .wm2-form-help {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #6b7280;
}

#withdrawModal .wm2-form-field--dropdown {
    z-index: 20;
}

#withdrawModal .wm2-form-dropdown {
    z-index: 70;
    top: 100%;
    background: #111620;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0.625rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    max-height: 16rem;
    overflow-y: auto;
}

#withdrawModal .wm2-form-dropdown-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 0.8125rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: transparent;
}

#withdrawModal .wm2-form-dropdown-item:last-child {
    border-bottom: none;
}

#withdrawModal .wm2-form-dropdown-item:hover {
    color: #ffffff;
    background: rgba(255, 122, 26, 0.1);
}

#withdrawModal .wm2-add-form-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

#withdrawModal .wm2-form-btn-secondary {
    flex: 1;
    padding: 0.8125rem 1rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

#withdrawModal .wm2-form-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

#withdrawModal .wm2-form-btn-primary {
    flex: 2;
    padding: 0.8125rem 1rem;
    border-radius: 0.625rem;
    border: none;
    background: #FF7A1A;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 122, 26, 0.18);
    transition: background-color 0.2s ease;
}

#withdrawModal .wm2-form-btn-primary:hover {
    background: #e56a0f;
}

/* ===== Amount step (withdraw) ===== */
#withdrawModal .wm2-balance-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: calc(1rem * var(--wm2-modal-scale)) calc(1.375rem * var(--wm2-modal-scale));
    background: #0e1219;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    text-align: center;
    user-select: none;
    flex-shrink: 0;
}

#withdrawModal .wm2-balance-bar__col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

#withdrawModal .wm2-balance-bar__col--middle {
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#withdrawModal .wm2-balance-bar__label {
    font-size: 0.625rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

#withdrawModal .wm2-balance-bar__label.is-emerald {
    color: #10b981;
}

#withdrawModal .wm2-balance-bar__label.is-amber {
    color: #f59e0b;
}

#withdrawModal .wm2-balance-bar__value {
    font-size: calc(0.9375rem * var(--wm2-modal-scale));
    line-height: 1.2;
    font-weight: 900;
    color: #ffffff;
}

#withdrawModal .wm2-balance-bar__value.is-emerald {
    color: #34d399;
}

#withdrawModal .wm2-balance-bar__value.is-amber {
    color: #fbbf24;
}

#withdrawModal .wm2-selected-bank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(22, 27, 38, 0.5);
}

#withdrawModal .wm2-selected-bank-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

#withdrawModal .wm2-selected-bank-label {
    font-size: calc(0.75rem * var(--wm2-modal-scale));
    color: #9ca3af;
}

#withdrawModal .wm2-selected-bank-iban {
    font-size: calc(0.875rem * var(--wm2-modal-scale));
    font-weight: 700;
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

#withdrawModal .wm2-selected-bank-name {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: calc(0.8125rem * var(--wm2-modal-scale));
    font-weight: 600;
    color: #FF7A1A;
    line-height: 1.35;
}

#withdrawModal .wm2-selected-bank-name::before {
    content: "";
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
    flex-shrink: 0;
}

#withdrawModal .wm2-selected-bank-change {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #FF7A1A;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

#withdrawModal .wm2-selected-bank-change:hover {
    text-decoration: underline;
}

#withdrawModal .wm2-amount-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#withdrawModal .wm2-amount-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

#withdrawModal .wm2-amount-max {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

#withdrawModal .wm2-amount-max strong {
    color: #34d399;
    font-weight: 700;
}

#withdrawModal .wm2-amount-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

#withdrawModal .wm2-amount-input {
    padding-right: 2rem;
    font-size: 0.9375rem;
}

#withdrawModal .wm2-amount-currency {
    position: absolute;
    right: 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #6b7280;
    user-select: none;
    pointer-events: none;
}

#withdrawModal .wm2-withdraw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#withdrawModal .wm2-withdraw-chip {
    padding: 0.4375rem 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: #161b26;
    color: #d1d5db;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

#withdrawModal .wm2-withdraw-chip:hover {
    border-color: rgba(255, 122, 26, 0.5) !important;
    color: #ffffff;
}

#withdrawModal .wm2-withdraw-chip.is-active {
    border-color: #FF7A1A !important;
    color: #ffffff;
    background: rgba(255, 122, 26, 0.08);
}

#withdrawModal .wm2-receipt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
    text-align: center;
}

#withdrawModal .wm2-receipt-card {
    padding: 0.75rem 0.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: #0a0d14;
}

#withdrawModal .wm2-receipt-label {
    display: block;
    font-size: 0.625rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

#withdrawModal .wm2-receipt-value {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 900;
    color: #ffffff;
}

@media (min-width: 640px) {
    #withdrawModal .wm2-receipt-value {
        font-size: 0.9375rem;
    }
}

#withdrawModal .wm2-receipt-value.is-emerald {
    color: #34d399;
}

#withdrawModal .wm2-receipt-value.is-muted {
    color: #d1d5db;
}

#withdrawModal .wm2-terms-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

#withdrawModal .wm2-terms-checkbox {
    margin-top: 0.125rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: #0a0d14;
    accent-color: #FF7A1A;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#withdrawModal .wm2-terms-checkbox.is-error {
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.35);
}

#withdrawModal .wm2-terms-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6b7280;
    transition: color 0.15s ease;
}

#withdrawModal .wm2-terms-label:hover .wm2-terms-text {
    color: #9ca3af;
}

#withdrawModal .wm2-terms-text.is-error {
    color: #f43f5e;
}

#withdrawModal .wm2-countdown-sec {
    opacity: 0.75;
    font-weight: 400;
}

#withdrawModal .wm2-submit-btn {
    width: 100%;
    padding: 0.8125rem 1rem;
    border: none;
    border-radius: 0.625rem;
    background: #FF7A1A;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 122, 26, 0.18);
    transition: background-color 0.2s ease;
}

#withdrawModal .wm2-submit-btn:hover {
    background: #e56a0f;
}

#withdrawModal .wm2-submit-btn.wm2-submit-btn--cancel {
    background: #f43f5e;
    border: 1px solid rgba(251, 113, 133, 0.35) !important;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
    text-transform: none;
    letter-spacing: 0.01em;
}

#withdrawModal .wm2-submit-btn.wm2-submit-btn--cancel:hover:not(:disabled) {
    background: #e11d48;
    border-color: rgba(225, 29, 72, 0.5) !important;
}

#withdrawModal .wm2-submit-cancel-wrap {
    position: relative;
    z-index: 25;
}

#withdrawModal .wm2-cancel-progress-wrap {
    margin-top: 0.625rem;
}

#withdrawModal .wm2-cancel-progress-wrap.hidden {
    display: none;
}

#withdrawModal .wm2-cancel-progress-track {
    width: 100%;
    height: 0.3125rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

#withdrawModal .wm2-cancel-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #FF7A1A 0%, #fbbf24 100%);
    transform-origin: left center;
}

#withdrawModal .wm2-cancel-progress-bar.is-animating {
    animation: wm2CancelBarShrink 5s linear forwards;
}

@keyframes wm2CancelBarShrink {
    from { width: 100%; }
    to   { width: 0%; }
}

#modalStep2.is-cancel-pending {
    position: relative;
}

#modalStep2.is-cancel-pending::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 18;
    background: rgba(6, 8, 12, 0.55);
    pointer-events: auto;
    border-radius: inherit;
}

#modalStep2.is-cancel-pending .wm2-submit-cancel-wrap {
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

/* ===== Modal bank account cards ===== */
#withdrawModal .wm2-bank-card {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0.75rem;
    padding: calc(1rem * var(--wm2-modal-scale));
    background: rgba(22, 27, 38, 0.3);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    user-select: none;
    min-height: calc(84px * var(--wm2-modal-scale));
    box-sizing: border-box;
}

#withdrawModal .wm2-bank-card:hover {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

#withdrawModal .wm2-bank-card--add:hover {
    border-color: rgba(255, 122, 26, 0.4) !important;
}

#withdrawModal .wm2-bank-card.is-active {
    border-color: #FF7A1A !important;
}

#withdrawModal .wm2-bank-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

#withdrawModal .wm2-bank-icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#withdrawModal .wm2-bank-icon-wrap--add {
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid rgba(255, 122, 26, 0.25) !important;
    color: #FF7A1A;
}

#withdrawModal .wm2-bank-icon-wrap--bank {
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
}

#withdrawModal .wm2-bank-icon-wrap--bank svg {
    color: #FF7A1A;
}

#withdrawModal .wm2-bank-icon-wrap svg {
    width: 1.375rem !important;
    height: 1.375rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
}

#withdrawModal .wm2-bank-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

#withdrawModal .wm2-bank-card-title {
    font-size: calc(0.8125rem * var(--wm2-modal-scale));
    font-weight: 700;
    color: #ffffff;
    display: block;
}

#withdrawModal .wm2-bank-card-iban {
    font-size: calc(11px * var(--wm2-modal-scale));
    color: #9ca3af;
    display: block;
    line-height: 1.4;
}

#withdrawModal .wm2-bank-card-owner {
    font-size: calc(11px * var(--wm2-modal-scale));
    color: #6b7280;
    display: block;
}

#withdrawModal .wm2-bank-card-chevron svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
    color: #6b7280;
}

#withdrawModal .wm2-bank-radio {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#withdrawModal .wm2-bank-card.is-active .wm2-bank-radio {
    border-color: #FF7A1A !important;
}

#withdrawModal .wm2-bank-radio-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: transparent;
}

#withdrawModal .wm2-bank-card.is-active .wm2-bank-radio-dot {
    background: #FF7A1A;
}

#withdrawModal #modalBankAccountsList {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Modal genel border override — beyaz solid border yerine white/5 */
#withdrawModal .wm2-bank-card,
#withdrawModal .wm2-bank-icon-wrap--add,
#withdrawModal .wm2-bank-radio {
    border-color: rgba(255, 255, 255, 0.05);
}

.active-pay-card {
    border-color: #FF7A1A !important;
}

/* ===== Shake animation ===== */
@keyframes wm2Shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-5px); }
    40%       { transform: translateX(5px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.animate-shake { animation: wm2Shake 0.4s ease forwards; }

/* ===== Number input ===== */
#withdrawModal input[type="number"]::-webkit-inner-spin-button,
#withdrawModal input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#withdrawModal input[type="number"] { -moz-appearance: textfield; }

#customBankDropdownMenu { z-index: 60; }

/* ===== Modal toast notifications (centered inside modal card) ===== */
#withdrawModal #modalCard {
    position: relative;
}

#withdrawModal .wm2-toast {
    position: absolute;
    top: 1rem;
    left: 50%;
    z-index: 220;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #334155;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-2rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#withdrawModal .wm2-toast.wm2-toast--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

#withdrawModal .wm2-toast--success {
    background: #059669;
    border-color: rgba(16, 185, 129, 0.2);
}

#withdrawModal .wm2-toast--error {
    background: #e11d48;
    border-color: rgba(244, 63, 94, 0.2);
}

#withdrawModal .wm2-toast--warning {
    background: #b45309;
    border-color: rgba(245, 158, 11, 0.2);
}

#withdrawModal .wm2-toast--info {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.1);
}

#withdrawModal .wm2-toast--with-actions {
    flex-wrap: wrap;
    align-items: center;
    white-space: normal;
    max-width: 20rem;
    pointer-events: auto;
}

#withdrawModal .wm2-toast--with-actions .wm2-toast-text {
    flex: 1;
    min-width: 0;
}

#withdrawModal .wm2-toast--with-actions .wm2-toast-actions {
    flex-basis: 100%;
}

#withdrawModal .wm2-toast-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

#withdrawModal .wm2-toast-icon svg {
    width: 1rem !important;
    height: 1rem !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
}

#withdrawModal .wm2-toast-text {
    color: inherit;
}

#withdrawModal .wm2-toast-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.625rem;
}

#withdrawModal .wm2-toast-actions.hidden {
    display: none;
}

#withdrawModal .wm2-toast-action-btn {
    padding: 0.5rem 0.875rem;
    border-radius: 0.4375rem;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

#withdrawModal .wm2-toast-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16) !important;
}

#withdrawModal .wm2-toast-action-btn--primary {
    background: #FF7A1A;
    border-color: #FF7A1A !important;
}

#withdrawModal .wm2-toast-action-btn--primary:hover {
    background: #e56a0f;
    border-color: #e56a0f !important;
}

#withdrawModal .wm2-toast-action-btn--ghost {
    background: transparent;
}

/* ===== Button loader ===== */
#withdrawModal .wm2-form-btn-primary,
#withdrawModal .wm2-submit-btn {
    position: relative;
}

#withdrawModal .wm2-btn-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: wm2Spin 0.7s linear infinite;
    flex-shrink: 0;
}

#withdrawModal .wm2-form-btn-primary.is-loading,
#withdrawModal .wm2-submit-btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

#withdrawModal .wm2-form-btn-primary.is-loading,
#withdrawModal .wm2-submit-btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#withdrawModal .wm2-form-btn-primary.is-loading .wm2-btn-spinner,
#withdrawModal .wm2-submit-btn.is-loading .wm2-btn-spinner {
    display: inline-block;
}

@keyframes wm2Spin {
    to { transform: rotate(360deg); }
}

@keyframes wm2SlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@media (max-width: 639px) {
    #withdrawModal #modalCard.wm2-modal-card {
        animation: wm2SlideUp 0.25s ease forwards;
    }
}

@keyframes wm2FadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wm2-fade-in { animation: wm2FadeIn 0.2s ease forwards; }

/* Livechat stays behind withdraw modal */
body.wm2-body-lock alfa-livechat,
body[data-page="WithdrawMoney2"] alfa-livechat {
    z-index: 1 !important;
}

body.wm2-cancel-lock alfa-livechat,
body.wm2-cancel-lock #tawkchat-container,
body.wm2-cancel-lock #tawkchat-minified-wrapper,
body.wm2-cancel-lock .widget-visible,
body.wm2-cancel-lock .tawk-min-container {
    pointer-events: none !important;
}

.swal2-container {
    z-index: 1000002 !important;
}
