/* betkhalifa-payments-v1.4 */
.bk-funds-open{overflow:hidden}
.bk-wallet-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;padding:7px 10px;background:#fff;border-top:1px solid #f2e4ee;border-bottom:1px solid #ead4e3}
.bk-wallet-actions button{min-height:34px;padding:7px 16px;font:600 13px/1.2 Arial,sans-serif}
.a-header nav>.bk-payments-admin-link{color:#a3238e!important;background:transparent!important;font-weight:700!important}
dialog.bk-funds-dialog{position:fixed;inset:0;margin:auto;width:min(570px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;padding:0;border:0;border-radius:16px;background:#fff;color:#302438;font:15px/1.5 Arial,sans-serif;box-shadow:0 20px 80px #29142f55;overflow:hidden;zoom:1;box-sizing:border-box;text-align:left}
.bk-funds-dialog[open]{display:flex;flex-direction:column}.bk-funds-dialog.bk-funds-wide{width:min(1100px,calc(100vw - 24px));height:90dvh}
.bk-funds-dialog::backdrop{background:#23152f99;backdrop-filter:blur(3px)}.bk-funds-dialog *{box-sizing:border-box}
.bk-funds-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#a3238e!important;color:#fff!important;padding:17px 22px;flex:none}
.bk-funds-dialog h1{font:700 21px/1.3 Arial,sans-serif;margin:0;color:inherit}.bk-funds-dialog h2{font:700 21px/1.3 Arial,sans-serif;margin:0 0 14px;color:#302438}.bk-funds-dialog h3{font:700 17px/1.4 Arial,sans-serif;margin:20px 0 10px}
.bk-funds-close{padding:0;border:0;background:transparent;color:#fff;font:30px/1 Arial,sans-serif;width:34px;height:34px;cursor:pointer}
.bk-funds-tabs{display:flex;gap:4px;padding:8px 12px;background:#faf2f8;border-bottom:1px solid #ead4e3;overflow-x:auto;flex:none}
.bk-funds-tab{border:0;background:transparent;color:#766076;padding:9px 12px;font:600 13px/1.3 Arial,sans-serif;white-space:nowrap;cursor:pointer;border-radius:7px}.bk-funds-tab.active{background:#a3238e;color:#fff}
.bk-funds-content{padding:22px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.bk-funds-form{display:flex;flex-direction:column;gap:14px;margin:15px 0 0}
.bk-funds-field{display:flex;flex-direction:column;gap:6px;font:600 13px/1.4 Arial,sans-serif;color:#514054}
.bk-funds-dialog input:not([type=checkbox]),.bk-funds-dialog select{width:100%;min-height:43px;padding:10px 12px;border:1px solid #decadb;border-radius:8px;background:#fff;color:#302438;font:16px/1.35 Arial,sans-serif;min-width:0}
.bk-funds-dialog input:focus,.bk-funds-dialog select:focus{outline:2px solid #a3238e55;border-color:#a3238e}.bk-funds-dialog input[type=file]{font-size:14px;padding:8px}
.bk-funds-check{display:flex;align-items:center;gap:8px;color:#514054;font-size:13px}.bk-funds-check input{appearance:auto;accent-color:#a3238e;width:17px;height:17px}
.bk-funds-primary,.bk-funds-secondary,.bk-funds-danger,.bk-funds-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:9px 15px;border:0;border-radius:8px;font:600 14px/1.4 Arial,sans-serif;cursor:pointer;text-decoration:none}
.bk-funds-primary{background:#a3238e;color:#fff}.bk-funds-secondary{background:#faf2f8;color:#8b2279;border:1px solid #dfc7d8}.bk-funds-danger{background:#fff0f1;color:#ad2441;border:1px solid #f0cad2}.bk-funds-link{color:#92207f;background:transparent;padding-left:0;padding-right:0;justify-content:flex-start}
.bk-funds-dialog button:disabled{opacity:.55;cursor:wait}.bk-funds-dialog button:focus-visible,.bk-wallet-actions button:focus-visible{outline:3px solid #a3238e77;outline-offset:3px}
.bk-funds-note{margin:8px 0;color:#796b7c;font:13px/1.6 Arial,sans-serif}.bk-funds-error{margin:7px 0;padding:10px 12px;border-radius:8px;color:#ad2441;background:#fff0f1;font:14px/1.5 Arial,sans-serif}.bk-funds-error[hidden]{display:none}
.bk-funds-pay-instructions{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #ead4e3;background:#fffafa;border-radius:10px;padding:16px}.bk-funds-qr{width:190px;max-width:100%;height:190px;object-fit:contain;background:#fff}.bk-funds-upi{display:flex;align-items:center;gap:12px;max-width:100%;overflow-wrap:anywhere}.bk-funds-dialog code{font:500 14px/1.5 monospace;overflow-wrap:anywhere}
.bk-funds-bank,.bk-funds-record{display:flex;flex-direction:column;gap:6px;padding:15px;border:1px solid #ead4e3;border-radius:10px;background:#fff;margin-bottom:12px;overflow-wrap:anywhere}.bk-funds-record p{margin:2px 0}.bk-funds-record small{font-size:12px;color:#827085}.bk-funds-record-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.bk-funds-status{font:700 11px/1.4 Arial,sans-serif;border-radius:20px;padding:4px 9px;white-space:nowrap}.bk-funds-status.pending{background:#fff3d7;color:#845b00}.bk-funds-status.approved{background:#e6f7ec;color:#206a3c}.bk-funds-status.declined{background:#fff0f1;color:#ad2441}
.bk-funds-row-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px}.bk-funds-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.bk-funds-filters h2{margin:0 auto 0 0}.bk-funds-filters select{width:auto;min-width:130px}.bk-funds-filters>span{font-size:12px;color:#827085}.bk-funds-proof-preview img{max-width:100%;max-height:360px;object-fit:contain;border:1px solid #ead4e3;border-radius:8px}
@media(max-width:767px){.bk-wallet-actions{justify-content:center;gap:7px;padding:6px}.bk-wallet-actions button{flex:1;min-width:0;padding:8px;font-size:12px}.bk-wallet-actions .bk-funds-link{justify-content:center}.bk-funds-content{padding:17px}.bk-funds-dialog>header{padding:13px 17px}.bk-funds-dialog h1{font-size:19px}.bk-funds-tabs{padding:6px 8px}.bk-funds-tab{padding:9px;font-size:12px}.bk-funds-record-title{align-items:flex-start}.bk-funds-record-title strong{font-size:14px}.bk-funds-filters select{flex:1;min-width:110px}.bk-funds-filters h2{width:100%}.bk-funds-filters .bk-funds-primary{flex:1}}
