.donate-page{--payment-accent:#ea603c;--payment-soft:#fff4ef;--payment-line:#f4ded6}
.donate-page .payment-icon{display:inline-block;flex:none;vertical-align:middle;width:20px;height:20px}
.donate-page .card-header>.payment-icon{color:var(--payment-accent)}
.donate-page .btn{gap:8px;min-height:38px;transition:background .15s,border-color .15s,box-shadow .15s;white-space:normal}
.donate-page .btn:focus-visible{outline:3px solid #fdba74;outline-offset:3px}
.donate-page .card-header{flex-wrap:wrap}.donate-page .btn-actions-pane-right{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.donate-methods{display:grid;grid-template-columns:repeat(var(--donate-columns,1),minmax(0,1fr));gap:16px;margin-top:22px}
.donate-page .donate-method{height:100%;min-height:126px;display:flex;flex-direction:column;gap:14px;padding:22px 16px;border-radius:14px;background:white;border-color:#e2e8f0;color:#334155;text-align:center;text-decoration:none}
.donate-page .donate-method .payment-icon{box-sizing:content-box;width:26px;height:26px;padding:13px;background:var(--payment-soft);color:var(--payment-accent);border-radius:14px}
.donate-page .donate-method:hover{background:#fffaf7;border-color:#fdba9c;box-shadow:0 4px 16px #ea603c12}
.donate-page .donate-method[href*="momo"] .payment-icon{color:#b42377;background:#fdf0f7}
.donate-page .donate-method[href*="card"] .payment-icon,.donate-page .donate-method[href*="tsr"] .payment-icon{color:#2563eb;background:#eff6ff}
.donate-page .donate-method[href*="usdt"] .payment-icon{color:#13886c;background:#ecfdf5}
.bank-transfer{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(280px,1.5fr) minmax(200px,.85fr);gap:28px;align-items:center;padding:12px 4px}
.bank-identity{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;color:#64748b;font-size:12px}
.bank-identity img{max-width:100%;height:auto}.bank-identity strong{font-size:24px;color:#0f766e;overflow-wrap:anywhere}
.bank-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#f0fdf4;color:#15803d}.bank-symbol .payment-icon{width:32px;height:32px}
.bank-details{min-width:0;display:grid;gap:20px}.transfer-field{display:grid;gap:7px}.transfer-label{display:block;font-size:12px;font-weight:500;color:#64748b}
.transfer-value-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.transfer-value-row strong{min-width:0;overflow-wrap:anywhere;font-size:18px;line-height:1.5}
.account-number{color:#15803d;font-variant-numeric:tabular-nums;letter-spacing:.4px}.account-holder{font-size:15px;color:#334155}
.donate-page .transfer-copy{flex:none;background:white;border-color:#e2e8f0;color:#475569;padding:7px 10px;font-size:11px;min-height:34px}.donate-page .transfer-copy:hover{background:var(--payment-soft);border-color:#fdba9c;color:#c2410c}.transfer-copy .payment-icon{width:16px;height:16px}
.transfer-memo{padding:14px 16px;border:1px solid var(--payment-line);background:var(--payment-soft);border-radius:12px;display:grid;gap:9px}.transfer-memo strong{font-size:16px;color:#c2410c}
.transfer-hint{display:flex;align-items:flex-start;gap:7px;color:#64748b;font-size:12px;line-height:1.7;margin:0}.transfer-hint .payment-icon{color:#16a34a;width:18px;height:18px;margin-top:1px}
.transfer-qr{display:flex;align-items:center;flex-direction:column;gap:12px}.transfer-qr-image{max-width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:16px;background:white}.transfer-qr-image img{display:block;width:220px;max-width:100%;height:auto}.transfer-qr>span{display:flex;align-items:center;gap:6px;font-size:11px;color:#64748b}
.donate-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}.donate-actions .btn{margin:0}
@media(max-width:1100px){.bank-transfer{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.bank-identity{grid-column:1 / -1;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;text-align:left}.bank-identity img{width:140px}.bank-symbol{width:44px;height:44px;border-radius:12px}.bank-symbol .payment-icon{width:24px;height:24px}}
@media(max-width:640px){.bank-transfer{grid-template-columns:minmax(0,1fr);padding:0;gap:24px}.bank-identity{gap:12px}.bank-identity>span:last-child{width:100%}.transfer-qr{padding-top:18px;border-top:1px solid #f1f5f9}.donate-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.donate-page .donate-method{padding:16px 10px;font-size:11px;min-height:118px}.donate-page .btn-actions-pane-right{margin-left:0}}

@media(max-width:767px){.donate-methods{grid-template-columns:minmax(0,1fr)}}

.bank-name-page{width:100%;max-width:760px;margin:0 auto}.bank-name-back{display:inline-flex;align-items:center;gap:8px;color:#64748b;font-size:12px;margin-bottom:16px;text-decoration:none}.bank-name-back:hover{color:#c2410c}.bank-name-back:focus-visible{outline:2px solid #fdba74;outline-offset:4px;border-radius:4px}.donate-page .bank-name-card>.card-header{padding:20px 24px;gap:14px;background:#fff8f3;align-items:center}.bank-name-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;background:#ffeadb;border:1px solid #fed7c3;border-radius:13px;color:#c2410c}.bank-name-icon .payment-icon{width:23px;height:23px}.bank-name-card h1{font-size:16px;font-weight:700;color:#334155;line-height:1.5}.bank-name-card .card-header p{margin:4px 0 0;font-size:12px;font-weight:400;color:#64748b}.donate-page .bank-name-card>.card-body{padding:24px}.bank-name-notice{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#475569;line-height:1.8;margin-bottom:22px;font-size:12px}.bank-name-notice>.payment-icon{color:#2563eb;margin-top:2px;width:18px;height:18px}.bank-name-notice p{margin:0}.bank-name-label{display:block;margin-bottom:8px;color:#334155;font-size:12px;font-weight:600}.donate-page .bank-name-card .form-control{min-height:44px;font-size:13px;padding:11px 13px;border-color:#cbd5e1;border-radius:10px}.bank-name-limit{margin:10px 0 0;color:#a16207;font-size:12px;line-height:1.7}.bank-name-footer{display:flex;justify-content:flex-end;border-top:1px solid #e2e8f0;margin-top:24px;padding-top:18px}.donate-page .bank-name-footer .btn{padding:11px 18px;background:#ea603c;color:#fff;border-color:#ea603c;box-shadow:0 2px 5px #ea603c20}.donate-page .bank-name-footer .btn:hover{background:#d94f2c;border-color:#d94f2c}
@media(max-width:640px){.donate-page .bank-name-card>.card-header{padding:16px;gap:10px}.donate-page .bank-name-card>.card-body{padding:18px 16px}.bank-name-card h1{font-size:14px}.bank-name-footer .btn{width:100%;justify-content:center}}
.usdt-page{display:grid;gap:18px}.donate-page .usdt-page>.card{margin:0}.usdt-title h1{font-size:16px;font-weight:700;color:#334155}.usdt-title p{font-size:12px;font-weight:400;color:#64748b;margin-top:4px}.usdt-token{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #a7e3d1;border-radius:14px;background:#e9faf3;color:#13866b;font-size:28px;font-weight:700}.donate-page .usdt-title{gap:12px;padding:18px 20px;background:#f8fcfa}.usdt-networks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.usdt-network{min-width:0;padding:16px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}.usdt-network-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.usdt-network-heading span:not(.usdt-network-symbol){font-size:10px;color:#64748b}.usdt-network h2{font-size:13px;font-weight:700;color:#334155}.usdt-network-symbol{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:#f1f5f9;color:#334155;font-size:16px;font-weight:700}.usdt-network-plasma .usdt-network-symbol{background:#f3e8ff;color:#7e22ce}.usdt-network-tron .usdt-network-symbol{background:#fff1f2;color:#e11d48}.usdt-network>label{display:block;margin-bottom:6px;font-size:11px;font-weight:500;color:#64748b}.usdt-wallet{display:block;box-sizing:border-box;resize:none;width:100%;min-height:78px;padding:10px 11px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;font:11px/1.7 ui-monospace,SFMono-Regular,monospace;color:#334155;overflow-wrap:anywhere;word-break:break-all}.usdt-wallet:focus{outline:2px solid #ffddd3;border-color:#ff9d7d}.donate-page .usdt-copy{width:100%;margin-top:12px;justify-content:center;background:#fff4ef;border-color:#fed7c3;color:#b8431e;font-size:11px}.donate-page .usdt-copy:hover{background:#ffe4d2}.usdt-copy .payment-icon{width:16px;height:16px}.usdt-check-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(200px,1fr);gap:20px;margin-top:22px;padding-top:22px;border-top:1px solid #e2e8f0}.usdt-check-panel h2{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px;font-weight:700;color:#334155}.usdt-check-panel h2>.payment-icon{color:#ea603c}.usdt-check-panel form>label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;color:#475569}.donate-page .usdt-check-panel .form-control{min-height:42px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}.donate-page .usdt-check-panel .btn{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;min-height:40px;background:#ea603c;color:#fff;border-color:#ea603c}.donate-page .usdt-check-panel .btn:hover{background:#d94f2c}.usdt-rate{margin:12px 0 0;font-size:11px;color:#64748b;line-height:1.7}.usdt-rate strong{color:#0f766e}.usdt-instructions{padding:18px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}.usdt-instruction-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #bfdbfe;background:#fff;border-radius:9px;color:#2563eb;margin-bottom:10px}.usdt-instructions h2{font-size:13px;font-weight:700;color:#1e40af;margin-bottom:8px}.usdt-instructions p{font-size:12px;line-height:1.8;color:#475569}.usdt-instructions a{display:inline-flex;gap:6px;margin-top:10px;font-size:12px;font-weight:600;color:#1d4ed8;text-decoration:underline}
.usdt-page .table-responsive{border:1px solid #e2e8f0;border-radius:10px}.usdt-page .table th{background:#fff4ed;color:#7c3d25;white-space:nowrap;font-size:11px}.usdt-page .table td{vertical-align:middle;font-size:12px}.usdt-page .table tbody tr:nth-child(even){background:#fafbfd}.usdt-page .table td:nth-child(3){min-width:170px;max-width:280px;overflow-wrap:anywhere}.usdt-page .table td:last-child{min-width:180px;font-size:11px;color:#64748b}
@media(max-width:1100px){.usdt-networks{grid-template-columns:minmax(0,1fr)}.usdt-wallet{min-height:60px;height:60px}.usdt-network{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:0 16px}.usdt-network-heading{grid-column:1 / -1;margin-bottom:12px}.usdt-network>label{grid-column:1}.usdt-network .usdt-wallet{grid-column:1}.donate-page .usdt-network .usdt-copy{grid-column:2;grid-row:2 / 4;margin-top:0;align-self:end;min-height:60px}}
@media(max-width:640px){.usdt-check-layout{grid-template-columns:minmax(0,1fr);gap:16px}.usdt-network{display:block}.donate-page .usdt-network .usdt-copy{margin-top:10px;min-height:36px}.usdt-wallet{height:78px}.usdt-page .card-body{padding:16px}.usdt-network-heading{margin-bottom:14px}}

/* Keep the history table and DataTables controls at the full card width. */
.donate-page .usdt-history>.card-header{background:#fff8f3;gap:9px;padding:16px 20px}.donate-page .usdt-history>.card-body{padding:16px 20px 20px}.usdt-history .table-responsive{width:100%;max-width:100%;min-width:0;overflow:auto}.usdt-history .dt-container{width:100%;min-width:0}.usdt-history .dt-layout-row{width:100%;margin:0;box-sizing:border-box;padding:12px 14px;gap:12px;align-items:center}.usdt-history .dt-layout-row:first-child{background:#f8fafc;border-bottom:1px solid #e2e8f0}.usdt-history .dt-layout-table{display:block!important;padding:0!important;overflow:auto}.usdt-history .dt-layout-table>.dt-layout-cell{display:block;width:100%;min-width:0}.usdt-history table.table{width:100%!important;min-width:800px;border-collapse:collapse;margin:0}.usdt-history .table th{font-size:11px;white-space:nowrap;padding:12px 14px}.usdt-history .table td{padding:13px 14px;border-bottom:1px solid #eef2f6;line-height:1.6}.usdt-history .table td:first-child{width:48px;min-width:48px;color:#94a3b8;font-size:11px}.usdt-history .table td:nth-child(2){min-width:105px;font-weight:600;color:#334155}.usdt-history .table td:nth-child(2) a{color:#c2410c}.usdt-history .table td:nth-child(3){width:240px;min-width:170px;max-width:260px}.usdt-history-code{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:260px;padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;font:11px/1.5 ui-monospace,SFMono-Regular,monospace;color:#475569;text-overflow:ellipsis}.usdt-history-code:focus{outline:2px solid #ffddd3;border-color:#ff9d7d;background:#fff}.usdt-history-amount,.usdt-history-credit{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.usdt-history .table .usdt-history-credit{color:#0f766e}.usdt-history-status{min-width:110px}.donate-page .usdt-history-status .btn{min-height:26px;padding:4px 8px;border-radius:7px;font-size:10px;margin:2px 4px 2px 0;white-space:nowrap}.usdt-history-status .btn.active{cursor:default;box-shadow:none}.usdt-history-time{min-width:150px!important;white-space:nowrap}.usdt-history-time time{display:block;color:#475569;font-size:11px}.usdt-history-time small{display:block;color:#94a3b8;font-size:10px;margin-top:3px}.usdt-history .dt-input{border-radius:8px;background:#fff;padding:7px 9px}.usdt-history .dt-search input{width:180px;max-width:100%}.usdt-history .dt-info{font-size:11px;color:#64748b}.usdt-history .dt-paging-button.current{background:#ea603c;color:#fff;border-color:#ea603c}.usdt-history .dt-paging-button.disabled{color:#94a3b8;background:#f8fafc}.usdt-history .dt-empty{text-align:center!important;padding:32px 14px!important;color:#94a3b8!important;font-size:12px!important}
@media(max-width:640px){.donate-page .usdt-history>.card-body{padding:12px}.usdt-history .dt-layout-row{padding:10px;flex-wrap:wrap}.usdt-history .dt-search input{width:140px}.usdt-history .table th,.usdt-history .table td{padding:10px 12px}}

/* Shared presentation for all payment methods; form and payment rules stay in each view. */
.donate-page{min-width:0;color:#334155;line-height:1.65}
.donate-page>.card{overflow:hidden}.donate-page .card-header{gap:10px;color:#334155;font-weight:700;background:#fff8f4;border-bottom:1px solid #f4e3db}
.donate-page .card-body{min-width:0}.donate-page .form-group{margin-bottom:18px}.donate-page .col-form-label{font-weight:600;color:#475569}
.donate-page .form-control{border:1px solid #cbd5e1;border-radius:10px;min-height:42px;padding:10px 12px;background:#fff;color:#334155;max-width:100%;box-sizing:border-box}
.donate-page .form-control:focus{outline:2px solid #ffddce;outline-offset:1px;border-color:#f59b7d}
.donate-page .alert{padding:14px 16px;border-radius:12px;line-height:1.8;overflow-wrap:anywhere}
.donate-page .list-group-item{padding:16px 18px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;line-height:1.9;overflow-wrap:anywhere}.donate-page .card-body p{overflow-wrap:anywhere}
.donate-page .card-body p.d-flex{flex-wrap:wrap;gap:7px}.donate-page .clipboard-trigger{flex:none;white-space:nowrap}
.donate-page .card-body svg:not(.payment-icon){max-width:100%;height:auto}.donate-page .card-body img{max-width:100%;height:auto}
.donate-page .donate-history{width:100%;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.donate-history .dt-container{display:block;width:100%;max-width:100%}.donate-history .dt-layout-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;flex-wrap:wrap}
.donate-history .dt-layout-table{display:block;padding:0;overflow-x:auto}.donate-history .dt-layout-full{width:100%}
.donate-page .donate-history .table{width:100%!important;margin:0;border:0;font-size:12px}
.donate-page .donate-history .table th{padding:13px 14px;background:#fff4ed;color:#7c4a33;font-size:11px;font-weight:600;white-space:nowrap;border-bottom:1px solid #f0ddd1}
.donate-page .donate-history .table td{padding:13px 14px;vertical-align:middle;border-bottom:1px solid #edf2f7;color:#334155}
.donate-history .table tbody tr:nth-child(even){background:#fafcfe}.donate-history .table tbody tr:hover{background:#fffaf6}
.donate-history .table td input:not([type=hidden]){box-sizing:border-box;width:100%;min-width:130px;max-width:240px;padding:7px 9px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;color:#475569;font-size:11px;text-overflow:ellipsis}
.donate-history .table td a{font-weight:600;color:#c2410c}.donate-page .donate-history .btn{min-height:28px;padding:4px 9px;font-size:11px;border-radius:8px;margin:2px;white-space:nowrap}
.donate-history-time{min-width:150px;white-space:nowrap;font-variant-numeric:tabular-nums}.donate-history-time time{display:block}.donate-history-time small{display:block;color:#64748b;font-size:11px;margin-top:3px}
.donate-history .dt-input{padding:7px 9px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.donate-history .dt-search input{width:180px;max-width:100%}.donate-history .dt-info{font-size:11px;color:#64748b}.donate-history .dt-empty{text-align:center;padding:30px!important;color:#64748b}
@media(max-width:640px){.donate-page .card-body{padding:16px}.donate-page .card-header{padding:15px 16px}.donate-history .dt-layout-row{padding:10px}.donate-history .dt-search input{width:145px}.donate-page .donate-history .table th,.donate-page .donate-history .table td{padding:11px 12px}.donate-page .btn-actions-pane-right{width:100%}}

/* MoMo wallets share the ATM three-column payment layout. */
.donate-page .momo-transfer .momo-logo{width:112px;height:112px;object-fit:contain}
.donate-page .momo-expiry{margin:0;padding:10px 14px;border:1px solid #fecdd3;border-radius:10px;background:#fff1f2;font-size:13px}
.donate-page .momo-transfer .transfer-qr-image svg{display:block;width:180px;max-width:100%;height:auto}
.donate-page .momo-notice{margin:18px 0 0;font-size:12px;line-height:1.8}
@media(max-width:1100px){.donate-page .momo-transfer .momo-logo{width:64px;height:64px}}

.donate-page .atm-history-header{flex-wrap:nowrap;gap:8px}
.atm-history-title{display:inline-flex;align-items:center;gap:8px;min-width:0}
.donate-page .atm-history-header>.btn-actions-pane-right{width:auto;flex:none;margin-left:auto}
.donate-page .atm-view-all{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 8px;font-size:11px;white-space:nowrap;margin:0}
@media(max-width:640px){.donate-page .atm-view-all .payment-icon{display:none}.donate-page .atm-history-header{padding:12px}.atm-history-title{font-size:12px;gap:6px}}

/* ATM history reuses the same rows, sorting and pagination as desktop. */
@media(max-width:640px){
.donate-page .atm-mobile-history{border:0;overflow:visible;background:transparent}
.atm-mobile-history .dt-layout-table{overflow:visible}.atm-mobile-history .dt-layout-row{padding:10px 0}
.donate-page .atm-mobile-history .table{display:block;background:transparent}
.atm-mobile-history colgroup{display:none}.atm-mobile-history thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.atm-mobile-history tbody{display:block}
.atm-mobile-history tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 10px;margin-bottom:12px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;grid-template-areas:"reference status" "amount credit" "time time" "approve approve"}
.donate-page .atm-mobile-history .table td{display:block;width:auto!important;min-width:0;max-width:100%;padding:0;border:0;overflow-wrap:anywhere;font-size:12px}
.atm-mobile-history td[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:10px;font-weight:500;color:#64748b}
.donate-page .atm-mobile-history .atm-entry-index{display:none}
.atm-entry-reference{grid-area:reference}.atm-entry-status{grid-area:status;text-align:right}.atm-entry-amount{grid-area:amount;font-weight:700}.atm-entry-credit{grid-area:credit;font-weight:700;color:#15803d!important}
.atm-entry-time{grid-area:time;white-space:normal;border-top:1px solid #edf2f7!important;padding-top:8px!important}.atm-entry-approve{grid-area:approve;color:#64748b!important}
.atm-entry-user,.atm-entry-domain{grid-column:1/-1}
.donate-page .atm-mobile-history:not(.atm-history-admin) .atm-entry-user,.donate-page .atm-mobile-history:not(.atm-history-admin) .atm-entry-domain{display:none}
.donate-page .atm-mobile-history .atm-entry-reference input{width:100%;min-width:0;max-width:100%;padding:4px 6px;font-size:11px}
.atm-mobile-history .atm-entry-status .btn{margin:0 0 5px 4px;padding:4px 6px;font-size:10px;min-height:26px}
.atm-mobile-history .dt-empty{grid-column:1/-1;text-align:center}
.atm-mobile-history tbody tr:has(.dt-empty){display:block}
}
