*{box-sizing:border-box}body{margin:0;background:#f4f6f9;color:#1d2735;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.app-shell{display:flex;min-height:100vh}.sidebar{width:245px;background:#09152a;color:#d9e1ef;padding:22px 14px;position:fixed;inset:0 auto 0 0;z-index:20}.logo{font-size:21px;font-weight:900;color:#fff;padding:8px 13px 22px;letter-spacing:.4px}.logo span{font-weight:500;color:#8fa5c7;font-size:12px;margin-left:5px}.merchant-mini{display:flex;gap:10px;align-items:center;padding:13px 10px;margin-bottom:14px;border:1px solid #203452;border-radius:13px;background:#0e1d36}.avatar{width:36px;height:36px;border-radius:10px;background:#168be3;color:#fff;display:grid;place-items:center;font-weight:800}.merchant-mini b{display:block;color:#fff;font-size:13px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merchant-mini small{display:block;color:#8496b2;margin-top:2px}.nav{display:flex;align-items:center;gap:12px;text-decoration:none;color:#9eacc2;padding:12px 13px;border-radius:10px;margin:4px 0;font-size:14px}.nav:hover,.nav.active{background:linear-gradient(90deg,#167fd5,#2a5ed0);color:#fff}.nav.logout{margin-top:20px;color:#e5a3a3}.main{margin-left:245px;width:calc(100% - 245px);padding:28px 32px 45px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.topbar h1{font-size:27px;margin:0}.topbar p{margin:5px 0 0;color:#7a8799}.top-right{display:flex;align-items:center;gap:10px}.currency-pill,.date-pill{background:#fff;border:1px solid #e3e8ef;border-radius:20px;padding:8px 12px;color:#4d5a6c;font-size:13px}.user-chip{background:#fff;border:1px solid #e3e8ef;padding:9px 13px;border-radius:10px;color:#344054;text-decoration:none}.menu-toggle{display:none}.hero-balance{background:linear-gradient(120deg,#08152b,#12345c);color:#fff;border-radius:17px;padding:24px 27px;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;box-shadow:0 14px 35px #13294a1a}.hero-balance small,.wallet-total small{display:block;color:#a9bad2}.hero-balance strong{display:block;font-size:34px;margin:5px 0}.hero-balance span{color:#9eb0c8;font-size:13px}.btn,.btn-light{display:inline-block;border:0;border-radius:10px;padding:11px 16px;text-decoration:none;font-weight:750;cursor:pointer}.btn{background:#167fd5;color:#fff}.btn-light{background:#fff;color:#0d5da4}.section-title{display:flex;justify-content:space-between;align-items:center;margin:18px 0 12px}.section-title>div{display:flex;align-items:center;gap:9px}.section-title h2{font-size:19px;margin:0}.signal{color:#27a98b}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat-card{background:#fff;border:1px solid #e3e8ef;border-radius:13px;padding:20px;box-shadow:0 7px 22px #172b4d0b}.stat-head{display:flex;justify-content:space-between;align-items:center;color:#556273;font-size:14px}.stat-head i{font-style:normal;background:#eaf5ff;color:#168be3;border-radius:7px;padding:5px 8px}.stat-head b{font-size:11px;background:#f7b718;color:#fff;border-radius:5px;padding:4px 7px}.stat-card strong{display:block;font-size:29px;font-weight:550;margin:7px 0}.stat-card small{color:#6b7788}.stat-card.accent{border-top:3px solid #f4b21a}.stat-card.green{border-top:3px solid #1aa58b}.stat-card.green .stat-head b{background:#1aa58b}.panel{background:#fff;border:1px solid #e3e8ef;border-radius:14px;padding:21px;box-shadow:0 7px 22px #172b4d0b}.recent{margin-top:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.panel-head h2{margin:0;font-size:18px}.panel-head a{color:#167fd5;text-decoration:none;font-size:13px}.tx-list{display:flex;flex-direction:column}.tx-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f4}.tx-row:last-child{border-bottom:0}.tx-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eaf5ff;color:#168be3;font-weight:800}.tx-icon.payout,.tx-icon[class*="payout"]{background:#f2ecff;color:#7048ce}.tx-icon.payin{background:#e8fbf4;color:#0c9471}.tx-main{flex:1}.tx-main b{display:block;font-size:13px}.tx-main small,.tx-amount small{display:block;color:#7c8796;margin-top:3px}.tx-amount{text-align:right;font-weight:700;font-size:13px}.status{display:inline-block;margin-left:6px;border-radius:20px;padding:4px 8px;font-size:11px;font-weight:700;background:#eef1f5;color:#657184}.status.success{background:#e7f8ee;color:#087443}.status.pending,.status.processing{background:#fff5d7;color:#8a5d00}.status.failed,.status.rejected,.status.cancelled{background:#fdeceb;color:#b42318}.filterbar{background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:13px;margin-bottom:15px}.filterbar form{display:flex;gap:9px}.filterbar input,.filterbar select{flex:1}.filterbar button,.panel button{border:0;background:#167fd5;color:#fff;border-radius:9px;padding:11px 15px;font-weight:700;cursor:pointer}input,select{width:100%;border:1px solid #d8dee8;border-radius:9px;padding:11px 12px;background:#fff;font-size:14px}label{display:block;font-weight:650;font-size:13px;margin:14px 0 7px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:780px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid #edf0f4;font-size:13px;white-space:nowrap}th{font-size:11px;text-transform:uppercase;color:#778399;letter-spacing:.4px}.empty{text-align:center;padding:30px;color:#8a95a5}.alert{padding:13px 15px;border-radius:10px;margin-bottom:15px}.alert.error{background:#fff0ef;color:#b42318}.alert.success{background:#eafaf1;color:#087443}.wallet-grid,.security-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.wallet-total{background:linear-gradient(120deg,#0a1730,#12345b);border-radius:14px;padding:20px;color:#fff;margin-bottom:15px}.wallet-total strong{display:block;font-size:32px;margin:5px 0}.wallet-total span{color:#aebed4;font-size:13px}.fee-note{padding:12px;border-radius:9px;background:#f4f8fc;color:#5d6a7c;font-size:13px}.input-money{display:flex;align-items:center;border:1px solid #d8dee8;border-radius:9px;overflow:hidden}.input-money span{padding:11px 12px;background:#f7f9fb;color:#667085}.input-money input{border:0;border-radius:0}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.method{margin:0}.method input{display:none}.method span{display:block;border:1px solid #d8dee8;border-radius:10px;padding:13px;background:#fff}.method input:checked+span{border-color:#168be3;background:#edf7ff}.full{width:100%;margin-top:16px}.muted{color:#7b8798;font-size:13px}.security-state{margin-top:15px;padding:11px;border-radius:9px;background:#f6f8fa;color:#5f6b7b}.bottom-nav{display:none}
@media(max-width:950px){.stats-grid{grid-template-columns:1fr 1fr}.wallet-grid,.security-grid{grid-template-columns:1fr}.sidebar{width:220px}.main{margin-left:220px;width:calc(100% - 220px);padding:22px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:.2s;width:245px}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%;padding:16px 13px 78px}.menu-toggle{display:inline-block;border:0;background:#fff;margin-right:7px;font-size:18px}.topbar h1{font-size:20px;display:inline}.topbar p{font-size:12px;margin-left:30px}.top-right .user-chip{display:none}.hero-balance{padding:19px}.hero-balance strong{font-size:27px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:14px}.stat-card strong{font-size:23px}.stat-head{font-size:12px}.section-title h2{font-size:17px}.date-pill{display:none}.bottom-nav{position:fixed;display:flex;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #e3e8ef;height:62px;z-index:30;justify-content:space-around}.bottom-nav a{color:#788496;text-decoration:none;text-align:center;padding:8px 10px;font-size:17px}.bottom-nav a.active{color:#167fd5}.bottom-nav small{display:block;font-size:10px;margin-top:2px}.filterbar form{flex-wrap:wrap}.filterbar input,.filterbar select{min-width:140px}.panel{padding:15px}}

.keybox code{display:block;flex:1;background:#f5f7fa;border:1px solid #e3e8ef;padding:12px;border-radius:9px;word-break:break-all;font-family:ui-monospace,monospace}.copyrow{display:flex;gap:8px;align-items:stretch}.copyrow button{border:0;background:#167fd5;color:#fff;border-radius:9px;padding:0 15px;font-weight:700;cursor:pointer}
