:root{--primary:#0f4c81;--primary2:#123e68;--accent:#00c48c;--warning:#ffb020;--danger:#f04438;--bg:#f6f8fb;--text:#101828;--muted:#667085;--line:#e6edf5;--card:#ffffff;--dark:#0b1726}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:linear-gradient(180deg,#f8fbff 0%,#f4f7fb 100%);color:var(--text)}a{text-decoration:none}.shell{display:flex;min-height:100vh}.sidebar{width:285px;background:radial-gradient(circle at 20% 0%,rgba(0,196,140,.24),transparent 35%),linear-gradient(180deg,#0b1726 0%,#10243a 100%);color:white;padding:22px 18px;position:fixed;inset:0 auto 0 0;overflow:auto}.brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.logo{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--accent),#35a7ff);display:grid;place-items:center;font-weight:900;font-size:22px;box-shadow:0 14px 30px rgba(0,196,140,.25)}.brand h1{margin:0;font-size:24px;line-height:1}.brand span{color:var(--accent)}.brand small{color:#b5c7dc}.nav-title{font-size:11px;letter-spacing:.12em;color:#7f96b2;margin:18px 12px 8px}.nav a{display:flex;align-items:center;gap:11px;color:#d8e6f6;padding:12px 13px;border-radius:14px;margin:4px 0;font-weight:650}.nav a:hover,.nav a.active{background:rgba(255,255,255,.1);color:#fff;transform:translateX(2px)}.logout{margin-top:14px;color:#ffc7c2!important}.content{margin-left:285px;width:calc(100% - 285px);padding:26px}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}.topbar.clean{background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:22px;padding:12px 14px;box-shadow:0 12px 30px rgba(16,24,40,.05);backdrop-filter:blur(12px)}.page-title{display:flex;align-items:center;gap:14px}.header-user{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);padding:9px 14px;border-radius:18px;box-shadow:0 8px 24px rgba(16,24,40,.06)}.header-user .avatar{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,var(--accent),#35a7ff);display:grid;place-items:center;color:white;font-weight:900}.header-user b{display:block;font-size:14px}.header-user small{display:block;color:var(--muted);font-size:12px}.topbar h2{margin:0;font-size:28px}.topbar p{margin:5px 0 0;color:var(--muted)}.actions{display:flex;gap:10px;align-items:center}.pill{background:white;border:1px solid var(--line);padding:10px 14px;border-radius:999px;box-shadow:0 8px 25px rgba(16,24,40,.05);font-size:13px}.online{color:#079455;font-weight:800}.btn,button{border:0;border-radius:13px;padding:11px 16px;font-weight:800;cursor:pointer;background:linear-gradient(135deg,var(--primary),#1570ef);color:white;box-shadow:0 10px 24px rgba(15,76,129,.18)}.btn:hover,button:hover{filter:brightness(1.04)}.btn.dark{background:linear-gradient(135deg,#0b1726,#1d3557)}.btn.success{background:linear-gradient(135deg,#00a86b,#00c48c)}.btn.small,button.small{padding:8px 12px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:0 14px 32px rgba(16,24,40,.06);position:relative;overflow:hidden}.card:before{content:"";position:absolute;right:-24px;top:-24px;width:84px;height:84px;border-radius:50%;background:rgba(0,196,140,.12)}.card .ico{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#eff8ff;margin-bottom:13px}.card label{font-size:13px;color:var(--muted);font-weight:700}.card b{display:block;font-size:23px;margin-top:5px}.card small{display:block;color:#98a2b3;margin-top:10px;font-size:12px}.grid-2{display:grid;grid-template-columns:1.4fr .8fr;gap:16px;margin-top:16px}.panel{background:white;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 32px rgba(16,24,40,.06);padding:20px;overflow:auto}.panel h3{margin:0 0 12px;font-size:18px}.muted{color:var(--muted)}.hero{background:linear-gradient(135deg,#0b1726,#0f4c81 55%,#00a86b);color:white;border-radius:28px;padding:28px;display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:0 22px 60px rgba(15,76,129,.22);margin-bottom:18px}.hero.clean-hero{min-height:155px;background:radial-gradient(circle at 92% 25%,rgba(255,255,255,.12),transparent 22%),linear-gradient(135deg,#0b1726,#0f4c81 55%,#00a86b)}.hero h2{margin:0;font-size:30px}.hero p{color:#d7e9ff}.hero-badge{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);padding:12px 16px;border-radius:18px}table{width:100%;border-collapse:collapse}th,td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;font-size:14px;white-space:nowrap}th{color:#475467;background:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.empty{text-align:center;color:#98a2b3;padding:32px}.badge{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;background:#eef2ff;color:#3538cd}.badge.success{background:#ecfdf3;color:#067647}.badge.pending{background:#fffaeb;color:#b54708}.badge.failed{background:#fef3f2;color:#b42318}.alert{padding:12px 14px;border-radius:14px;margin-bottom:14px;background:#fef3f2;color:#b42318;border:1px solid #fecdca}.alert.ok{background:#ecfdf3;color:#067647;border-color:#abefc6}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.form-row{display:grid;gap:8px;margin-bottom:12px}label{font-weight:800;font-size:13px;color:#344054}input,select,textarea{width:100%;border:1px solid #d0d5dd;border-radius:13px;padding:12px 13px;outline:0;background:white}input:focus,textarea:focus{border-color:#1570ef;box-shadow:0 0 0 4px rgba(21,112,239,.1)}.login-bg{min-height:100vh;background:radial-gradient(circle at 10% 10%,rgba(0,196,140,.25),transparent 30%),radial-gradient(circle at 90% 10%,rgba(21,112,239,.25),transparent 28%),linear-gradient(135deg,#07111f,#0b1726 55%,#102a44);display:grid;place-items:center;padding:22px}.login-wrap{width:min(1080px,100%);display:grid;grid-template-columns:1.05fr .8fr;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:32px;overflow:hidden;box-shadow:0 35px 100px rgba(0,0,0,.28);backdrop-filter:blur(14px)}.login-info{color:white;padding:44px;background:linear-gradient(135deg,rgba(15,76,129,.72),rgba(0,196,140,.18))}.login-info .big{font-size:44px;font-weight:900;line-height:1.05;margin:18px 0}.login-info p{color:#d9e8f7;font-size:16px}.feature{display:flex;gap:12px;align-items:center;margin:15px 0;color:#edf7ff}.login-card{background:rgba(255,255,255,.96);padding:44px}.login-card h1{font-size:34px;margin:0}.login-card h1 span{color:var(--accent)}.login-card .sub{color:var(--muted);margin-bottom:26px}.login-card button{width:100%;margin-top:8px;padding:14px}.version{text-align:center;color:#98a2b3;font-size:12px;margin-top:18px}.modal{display:none;position:fixed;inset:0;background:rgba(7,17,31,.66);z-index:99;place-items:center;padding:20px}.modal.show{display:grid}.notepad{width:min(700px,100%);background:#fff;border-radius:22px;box-shadow:0 35px 80px rgba(0,0,0,.35);overflow:hidden}.dots{height:46px;background:#f2f4f7;display:flex;align-items:center;gap:8px;padding:0 16px}.dots b{width:12px;height:12px;border-radius:50%;background:#f04438}.dots b:nth-child(2){background:#ffb020}.dots b:nth-child(3){background:#12b76a}.dots span{margin-left:12px;color:#667085;font-size:12px;font-weight:900}.notepad h4{margin:20px 22px 8px}.notepad textarea{border:0;min-height:220px;border-radius:0;padding:8px 22px 22px;font-size:16px;line-height:1.6}.mini-chart{height:210px;display:flex;align-items:end;gap:10px;padding-top:20px}.bar{flex:1;background:linear-gradient(180deg,#00c48c,#0f4c81);border-radius:12px 12px 4px 4px;min-height:28px}.status-list{display:grid;gap:10px}.status-item{display:flex;justify-content:space-between;border:1px solid var(--line);border-radius:16px;padding:13px}.info-box{margin-top:14px;background:#eff8ff;border:1px solid #b2ddff;border-radius:16px;padding:14px;color:#1849a9}.info-box span{color:#475467;font-size:13px}.mobile-menu{display:none}@media(max-width:1100px){.stats{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}}@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:.25s;z-index:50}.sidebar.open{transform:translateX(0)}.content{margin-left:0;width:100%;padding:18px}.mobile-menu{display:inline-flex}.stats{grid-template-columns:1fr 1fr}.topbar{align-items:flex-start}.topbar.clean{display:block}.header-user{margin-top:12px}.actions{flex-wrap:wrap}.login-wrap{grid-template-columns:1fr}.login-info{display:none}.grid{grid-template-columns:1fr}.hero{display:block}}@media(max-width:520px){.stats{grid-template-columns:1fr}.topbar{display:block}.card b{font-size:20px}}

.topup-hero{align-items:flex-start}.topup-grid{align-items:start}.topup-form button{width:100%;margin-top:4px}.topup-form select,.topup-form input{font-size:14px}@media(max-width:780px){.topup-hero .hero-badge{margin-top:14px}.topup-grid{display:block}.topup-grid .panel+section,.topup-grid section+section{margin-top:14px}}

/* Agent action controls */
.btn.warning, button.warning{background:linear-gradient(135deg,#f79009,#fdb022);color:#fff}
.btn.danger, button.danger{background:linear-gradient(135deg,#d92d20,#f04438);color:#fff}
.agent-action-wrap{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.agent-action-wrap form{margin:0}
.agent-edit-box{width:min(760px,100%)}
.badge.active{background:#ecfdf3;color:#067647}
.badge.inactive{background:#fffaeb;color:#b54708}
.badge.deleted{background:#fef3f2;color:#b42318}
@media(max-width:780px){.agent-action-wrap{min-width:220px}.agent-edit-box .grid{grid-template-columns:1fr!important}}

/* Dashboard omzet aktual */
.dashboard-main-grid{align-items:stretch}.panel-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.panel-head-row h3{margin-bottom:4px}.panel-head-row .muted{margin:0;font-size:13px}.omzet-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}.omzet-summary>div{background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid var(--line);border-radius:16px;padding:12px}.omzet-summary span{display:block;color:var(--muted);font-size:12px;font-weight:800;margin-bottom:5px}.omzet-summary b{font-size:17px}.omzet-chart{height:290px;display:grid;grid-template-columns:repeat(7,minmax(70px,1fr));gap:12px;align-items:end;overflow-x:auto;padding:10px 4px 2px}.omzet-day{height:100%;display:grid;grid-template-rows:auto 1fr auto auto;gap:7px;min-width:70px}.omzet-value{text-align:center;color:#344054;font-size:11px;font-weight:900;line-height:1.2;min-height:28px;display:flex;align-items:flex-end;justify-content:center}.omzet-bar-wrap{height:180px;background:linear-gradient(180deg,#f8fafc,#eef4ff);border:1px solid #e6edf5;border-radius:18px;display:flex;align-items:end;padding:6px}.omzet-bar{width:100%;background:linear-gradient(180deg,#00c48c,#0f4c81);border-radius:13px 13px 8px 8px;min-height:12px;box-shadow:0 10px 22px rgba(0,196,140,.18)}.omzet-bar.empty{min-height:0;background:#e4e7ec;box-shadow:none}.omzet-label{text-align:center;font-size:12px;font-weight:900;color:#101828}.omzet-count{text-align:center;font-size:11px;color:#667085;font-weight:800}.latest-transactions-panel{margin-top:16px}.dashboard-latest-table td{vertical-align:middle}.dashboard-latest-table td:nth-child(3){max-width:260px;overflow:hidden;text-overflow:ellipsis}.badge.success,.badge.sukses{background:#ecfdf3;color:#067647}.badge.pending{background:#fffaeb;color:#b54708}.badge.failed,.badge.gagal{background:#fef3f2;color:#b42318}@media(max-width:1100px){.omzet-summary{grid-template-columns:1fr}.omzet-chart{grid-template-columns:repeat(7,86px)}}@media(max-width:780px){.panel-head-row{display:block}.panel-head-row .btn{display:inline-block;margin-top:10px}.omzet-chart{height:260px}.omzet-bar-wrap{height:155px}.dashboard-latest-table{min-width:780px}}

/* Deposit approve / not approve */
.deposit-head{align-items:center}
.deposit-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}
.deposit-filter input{min-width:220px}
.deposit-filter select{min-width:150px}
.deposit-table{min-width:1180px}
.deposit-table th:last-child,.deposit-table td:last-child{min-width:430px;width:430px}
.deposit-table td small{display:block;color:#667085;margin-top:4px;font-size:12px;white-space:normal}
.deposit-table td:first-child b{display:block}
.deposit-actions{display:flex;align-items:center;gap:8px;min-width:410px;white-space:nowrap;flex-wrap:nowrap}
.deposit-actions form{margin:0;flex:0 0 auto}
.deposit-actions>form:first-child{display:flex;align-items:center}
.deposit-actions>form:first-child button{width:108px;min-height:42px;box-shadow:none}
.deposit-reject-form{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.deposit-reject-form input{width:170px;min-width:170px;padding:10px 12px;border-radius:12px;font-size:13px;height:42px}
.deposit-reject-form button{min-width:118px;min-height:42px;box-shadow:none}
.deposit-reason{color:#b42318!important;font-weight:700;max-width:280px}
@media(max-width:780px){
  .deposit-filter{display:grid;grid-template-columns:1fr;width:100%;margin-top:12px}
  .deposit-filter input,.deposit-filter select{min-width:0;width:100%}
  .deposit-table{min-width:1080px}
  .deposit-actions{min-width:390px}
  .deposit-reject-form input{width:150px;min-width:150px}
}


/* Header notification deposit pending */
.topbar-right{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}.deposit-bell{width:48px;height:48px;border-radius:16px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;position:relative;color:#0f766e;box-shadow:0 8px 24px rgba(16,24,40,.06);transition:.2s}.deposit-bell:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(16,24,40,.10)}.deposit-bell .bell-icon{font-size:22px;line-height:1;display:block}.deposit-bell.has-pending{background:linear-gradient(135deg,#fff,#ecfdf3);border-color:#abefc6;color:#067647;animation:depositBellShake 1.25s ease-in-out infinite;box-shadow:0 12px 34px rgba(0,196,140,.22)}.deposit-bell.has-pending:before{content:"";position:absolute;inset:-4px;border-radius:20px;border:2px solid rgba(0,196,140,.20);animation:depositBellPulse 1.25s ease-in-out infinite}.bell-count{position:absolute;right:-6px;top:-7px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#f04438;color:#fff;font-size:11px;font-weight:900;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 8px 18px rgba(240,68,56,.28)}@keyframes depositBellShake{0%,100%{transform:rotate(0)}10%{transform:rotate(-12deg)}20%{transform:rotate(10deg)}30%{transform:rotate(-8deg)}40%{transform:rotate(6deg)}50%{transform:rotate(0)}}@keyframes depositBellPulse{0%{opacity:.8;transform:scale(.92)}100%{opacity:0;transform:scale(1.18)}}@media(max-width:780px){.topbar-right{margin-top:12px;justify-content:flex-start}.deposit-bell{width:44px;height:44px;border-radius:15px}.deposit-bell .bell-icon{font-size:20px}}

/* Auto refresh deposit pending bell */
.bell-count[hidden]{display:none!important}
.deposit-bell-new{animation:depositBellNew 1.8s ease-in-out 1!important}
@keyframes depositBellNew{0%{transform:scale(1) rotate(0)}12%{transform:scale(1.12) rotate(-14deg)}24%{transform:scale(1.12) rotate(14deg)}36%{transform:scale(1.08) rotate(-10deg)}48%{transform:scale(1.08) rotate(10deg)}60%,100%{transform:scale(1) rotate(0)}}

/* Deposit refresh icon */
.deposit-refresh-icon{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:14px;
  display:inline-grid;
  place-items:center;
  background:linear-gradient(135deg,#0f766e,#00a86b);
  color:#fff;
  font-size:20px;
  font-weight:900;
  line-height:1;
  box-shadow:0 10px 24px rgba(0,168,107,.18);
  border:1px solid rgba(255,255,255,.16);
}
.deposit-refresh-icon:hover{
  filter:brightness(1.05);
  transform:translateY(-1px) rotate(22deg);
}
.deposit-filter .deposit-refresh-icon{flex:0 0 42px}
@media(max-width:780px){
  .deposit-filter{grid-template-columns:1fr!important}
  .deposit-refresh-icon{width:100%;height:42px;min-width:0}
}


/* Header notification deposit + agen baru */
.notification-bell-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center}
.notification-bell-wrap .deposit-bell{border:0;cursor:pointer;font-family:inherit}
.notification-dropdown{display:none;position:absolute;right:0;top:calc(100% + 12px);width:292px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px rgba(16,24,40,.18);padding:10px;z-index:80}
.notification-bell-wrap:hover .notification-dropdown,.notification-bell-wrap:focus-within .notification-dropdown{display:block}
.notification-dropdown:before{content:"";position:absolute;right:18px;top:-8px;width:14px;height:14px;background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}
.notification-title{font-size:12px;font-weight:900;color:#667085;padding:8px 10px 10px;text-transform:uppercase;letter-spacing:.04em}
.notification-dropdown a{display:block;padding:12px;border-radius:14px;color:#101828;text-decoration:none;border:1px solid transparent}
.notification-dropdown a:hover{background:#f8fafc;border-color:#e4e7ec}
.notification-dropdown a b{display:block;font-size:14px;margin-bottom:3px}
.notification-dropdown a span{display:block;font-size:12px;color:#667085;font-weight:700}
.notification-empty{padding:14px 12px;color:#667085;font-size:13px;font-weight:700;background:#f8fafc;border-radius:14px}
@media(max-width:780px){.notification-dropdown{right:auto;left:0;width:min(292px,calc(100vw - 36px))}}

/* Master Agen: tampilan Agen Utama & Sub Agen */
.agent-type-summary{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px;margin-bottom:16px}
.agent-type-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:17px;box-shadow:0 14px 32px rgba(16,24,40,.06);display:flex;gap:14px;align-items:center;position:relative;overflow:hidden}
.agent-type-card:after{content:"";position:absolute;right:-22px;top:-22px;width:78px;height:78px;border-radius:50%;background:rgba(15,76,129,.08)}
.agent-type-card .agent-type-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#eff8ff;font-size:22px;flex:0 0 auto}
.agent-type-card span{font-size:13px;color:#667085;font-weight:800}
.agent-type-card b{display:block;font-size:26px;margin:2px 0;color:#101828}
.agent-type-card small{color:#98a2b3;font-size:12px;font-weight:700}
.agent-type-card.main .agent-type-icon{background:#eef2ff}
.agent-type-card.sub .agent-type-icon{background:#ecfdf3}
.agent-type-card.active .agent-type-icon{background:#fff6ed}
.agent-type-badge.main{background:#eef2ff;color:#3538cd}
.agent-type-badge.sub{background:#ecfdf3;color:#067647}
.main-agent-row td:first-child{border-left:4px solid #3538cd}
.sub-agent-row td:first-child{border-left:4px solid #12b76a}
.agent-form-grid{grid-template-columns:repeat(4,1fr)}
.agent-edit-note{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:12px 14px;color:#667085;font-size:13px;font-weight:700;margin:4px 0 14px}
@media(max-width:1100px){.agent-type-summary{grid-template-columns:1fr 1fr}.agent-form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.agent-type-summary{grid-template-columns:1fr}.agent-form-grid{grid-template-columns:1fr!important}.main-agent-row td:first-child,.sub-agent-row td:first-child{border-left:0}}

/* Dashboard V2 - PenaPay modern UI */
.pp-dashboard{display:grid;gap:16px}.dashboard-hero-v2{position:relative;overflow:hidden;border-radius:32px;padding:28px;min-height:245px;background:radial-gradient(circle at 92% 16%,rgba(0,196,140,.32),transparent 28%),radial-gradient(circle at 8% 15%,rgba(21,112,239,.32),transparent 30%),linear-gradient(135deg,#07111f 0%,#0f4c81 56%,#00a86b 100%);box-shadow:0 28px 75px rgba(15,76,129,.24);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:center}.dashboard-hero-v2:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,0) 45%);pointer-events:none}.hero-orb{position:absolute;border-radius:50%;background:rgba(255,255,255,.12);filter:blur(.2px)}.hero-orb-one{width:180px;height:180px;right:280px;top:-70px}.hero-orb-two{width:120px;height:120px;right:-34px;bottom:-40px}.hero-content-v2,.hero-metric-stack{position:relative;z-index:1}.hero-kicker,.section-kicker{display:inline-flex;align-items:center;gap:7px;font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:950;color:#0f766e;background:#ecfdf3;border:1px solid #abefc6;border-radius:999px;padding:7px 10px}.dashboard-hero-v2 .hero-kicker{color:#d1fadf;background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.22)}.hero-content-v2 h2{margin:14px 0 8px;font-size:36px;letter-spacing:-.03em;line-height:1.05}.hero-content-v2 p{margin:0;color:#d7e9ff;font-size:15px;line-height:1.7;max-width:720px}.hero-actions-v2{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.hero-actions-v2 .btn{box-shadow:0 16px 34px rgba(0,0,0,.16)}.hero-light{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.26)!important;color:#fff!important;backdrop-filter:blur(10px)}.hero-metric-stack{display:grid;gap:12px}.hero-metric-card{border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.14);border-radius:22px;padding:16px;backdrop-filter:blur(14px);box-shadow:0 18px 38px rgba(0,0,0,.12)}.hero-metric-card span{display:block;color:#d7e9ff;font-size:12px;font-weight:850}.hero-metric-card b{display:block;font-size:24px;margin:6px 0 2px;letter-spacing:-.02em}.hero-metric-card small{color:#cce7ff}.hero-metric-card.warning{background:rgba(255,176,32,.16)}.hero-metric-card.server{background:rgba(0,196,140,.18)}.dashboard-alert-v2{margin:0}.dashboard-alert-v2 a{font-weight:950;color:inherit;text-decoration:underline}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px}.kpi-card-v2{position:relative;overflow:hidden;display:flex;gap:13px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:24px;padding:17px;color:var(--text);box-shadow:0 14px 32px rgba(16,24,40,.06);min-height:116px;transition:.18s}.kpi-card-v2:hover{transform:translateY(-2px);box-shadow:0 22px 44px rgba(16,24,40,.10)}.kpi-card-v2:before{content:"";position:absolute;right:-28px;top:-28px;width:92px;height:92px;border-radius:50%;background:rgba(21,112,239,.08)}.kpi-card-v2:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:linear-gradient(90deg,#1570ef,#00c48c)}.kpi-card-v2.success:after{background:linear-gradient(90deg,#12b76a,#00c48c)}.kpi-card-v2.warning:after{background:linear-gradient(90deg,#f79009,#ffb020)}.kpi-card-v2.danger:after{background:linear-gradient(90deg,#f04438,#f97066)}.kpi-card-v2.money:after{background:linear-gradient(90deg,#0f4c81,#1570ef)}.kpi-card-v2.profit:after{background:linear-gradient(90deg,#00a86b,#12b76a)}.kpi-card-v2.agent:after{background:linear-gradient(90deg,#7a5af8,#1570ef)}.kpi-card-v2.queue:after{background:linear-gradient(90deg,#f04438,#ffb020)}.kpi-icon{width:46px;height:46px;min-width:46px;border-radius:16px;display:grid;place-items:center;background:#eff8ff;font-size:22px;box-shadow:inset 0 0 0 1px rgba(21,112,239,.08)}.kpi-card-v2.success .kpi-icon,.kpi-card-v2.profit .kpi-icon{background:#ecfdf3}.kpi-card-v2.warning .kpi-icon,.kpi-card-v2.queue .kpi-icon{background:#fffaeb}.kpi-card-v2.danger .kpi-icon{background:#fef3f2}.kpi-card-v2.agent .kpi-icon{background:#eef2ff}.kpi-card-v2 span{display:block;color:#667085;font-size:12px;font-weight:850}.kpi-card-v2 b{display:block;color:#101828;font-size:24px;line-height:1.1;margin:6px 0 4px;letter-spacing:-.02em}.kpi-card-v2 small{color:#98a2b3;font-size:12px;font-weight:750}.dashboard-grid-v2{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.75fr);gap:16px}.dashboard-side-v2{display:grid;gap:16px}.dashboard-chart-card-v2{overflow:hidden}.modern-head h3{font-size:22px;letter-spacing:-.02em;margin-top:8px}.chart-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.chart-summary-v2 div{background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid var(--line);border-radius:18px;padding:13px}.chart-summary-v2 span{display:block;color:#667085;font-size:12px;font-weight:850}.chart-summary-v2 b{display:block;font-size:17px;margin-top:5px;letter-spacing:-.02em}.line-chart-v2{background:linear-gradient(180deg,#fbfdff,#f8fafc);border:1px solid #eef2f6;border-radius:24px;padding:14px;overflow:hidden}.line-chart-v2 svg{display:block;width:100%;height:260px}.chart-grid-lines line{stroke:#d9e3ef;stroke-width:1;stroke-dasharray:6 8}.chart-area{fill:url(#ppArea)}.chart-line{fill:none;stroke:url(#ppLine);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 10px 10px rgba(21,112,239,.15))}.chart-dot{fill:#fff;stroke:#00c48c;stroke-width:4;filter:drop-shadow(0 4px 8px rgba(16,24,40,.20))}.chart-labels-v2{display:grid;grid-template-columns:repeat(7,minmax(78px,1fr));gap:8px;margin-top:8px;overflow-x:auto}.chart-labels-v2 div{min-width:78px;text-align:center;border:1px solid #e6edf5;background:#fff;border-radius:14px;padding:8px 6px}.chart-labels-v2 b{display:block;font-size:12px;color:#101828}.chart-labels-v2 span{display:block;font-size:11px;color:#0f766e;font-weight:900;margin:4px 0 1px}.chart-labels-v2 small{font-size:10px;color:#667085;font-weight:850}.side-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.side-head-v2 h3{margin:7px 0 0}.side-head-v2>b{min-width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,#fffaeb,#fff);border:1px solid #fedf89;display:grid;place-items:center;color:#b54708;font-size:20px}.queue-panel-v2,.server-panel-v2{overflow:hidden}.queue-row-v2{display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:18px;color:var(--text);background:#fff;margin-bottom:10px;transition:.18s}.queue-row-v2:hover{background:#f8fafc;transform:translateX(2px)}.queue-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#eff8ff;font-size:22px}.queue-row-v2 b{display:block;font-size:14px}.queue-row-v2 small{display:block;color:#667085;font-size:12px;margin-top:3px;font-weight:750}.queue-row-v2 strong{min-width:34px;height:34px;border-radius:999px;background:#f04438;color:#fff;display:grid;place-items:center;font-size:13px;box-shadow:0 10px 20px rgba(240,68,56,.18)}.live-pill-v2{display:inline-flex;padding:7px 10px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:12px;font-weight:950}.status-list-v2{display:grid;gap:9px}.status-list-v2 div{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:15px;padding:12px 13px;background:#fff}.status-list-v2 span{color:#667085;font-size:13px;font-weight:800}.offline{color:#b42318;font-weight:900}.server-balance-v2{margin-top:12px;border-radius:20px;padding:16px;color:#fff;background:radial-gradient(circle at 90% 15%,rgba(255,255,255,.20),transparent 32%),linear-gradient(135deg,#0b1726,#0f4c81);box-shadow:0 16px 38px rgba(15,76,129,.18)}.server-balance-v2 span{display:block;color:#d7e9ff;font-size:12px;font-weight:850}.server-balance-v2 b{display:block;font-size:24px;margin:6px 0 10px;letter-spacing:-.02em}.server-balance-v2 a{color:#d1fadf;font-weight:900;text-decoration:underline}.dashboard-bottom-grid-v2{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}.dashboard-table-v2{min-width:820px}.dashboard-table-v2 th{background:#f8fafc;color:#475467}.dashboard-table-v2 tr:hover td{background:#fbfdff}.dashboard-table-v2 td{vertical-align:middle}.latest-transactions-v2,.deposit-feed-v2{overflow:auto}.deposit-feed-list-v2{display:grid;gap:10px}.deposit-feed-item-v2{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--text)}.deposit-feed-item-v2:hover{background:#f8fafc}.deposit-dot{width:12px;height:12px;border-radius:50%;background:#ffb020;box-shadow:0 0 0 5px rgba(255,176,32,.14)}.deposit-dot.success{background:#12b76a;box-shadow:0 0 0 5px rgba(18,183,106,.14)}.deposit-dot.failed{background:#f04438;box-shadow:0 0 0 5px rgba(240,68,56,.14)}.deposit-feed-item-v2 b{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deposit-feed-item-v2 small{display:block;color:#667085;font-size:12px;font-weight:750;margin-top:3px}.deposit-feed-item-v2 strong{font-size:13px;color:#101828}.empty-mini-v2{padding:22px;text-align:center;border:1px dashed #d0d5dd;border-radius:18px;color:#98a2b3;font-weight:800;background:#f8fafc}@media(max-width:1200px){.dashboard-hero-v2{grid-template-columns:1fr}.hero-metric-stack{grid-template-columns:repeat(3,1fr)}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.dashboard-grid-v2,.dashboard-bottom-grid-v2{grid-template-columns:1fr}.chart-summary-v2{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.dashboard-hero-v2{padding:22px;border-radius:26px}.hero-content-v2 h2{font-size:29px}.hero-metric-stack{grid-template-columns:1fr}.hero-actions-v2 .btn{width:100%;text-align:center}.dashboard-kpi-grid{grid-template-columns:1fr}.chart-summary-v2{grid-template-columns:1fr}.line-chart-v2{padding:10px}.line-chart-v2 svg{height:220px}.chart-labels-v2{grid-template-columns:repeat(7,92px)}.dashboard-grid-v2,.dashboard-bottom-grid-v2{gap:14px}.deposit-feed-item-v2{grid-template-columns:14px minmax(0,1fr)}.deposit-feed-item-v2 strong{grid-column:2}.modern-head h3{font-size:20px}}@media(max-width:520px){.pp-dashboard{gap:14px}.dashboard-hero-v2{min-height:auto}.kpi-card-v2 b{font-size:22px}.server-balance-v2 b{font-size:21px}.hero-metric-card b{font-size:22px}}

/* Modern notification bell UI */
.modern-bell-wrap{position:relative;z-index:90}.modern-bell{width:auto;min-width:118px;height:50px;border-radius:18px;background:linear-gradient(135deg,#ffffff,#f8fafc);border:1px solid #e6edf5!important;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:7px 13px 7px 11px;overflow:visible;color:#101828;box-shadow:0 14px 34px rgba(16,24,40,.08);isolation:isolate}.modern-bell .bell-glow{position:absolute;inset:-1px;border-radius:18px;background:linear-gradient(135deg,rgba(21,112,239,.12),rgba(0,196,140,.12));opacity:0;z-index:-1;transition:.2s}.modern-bell:hover .bell-glow,.modern-bell-wrap.is-open .bell-glow{opacity:1}.modern-bell .bell-icon{width:36px;height:36px;min-width:36px;border-radius:14px;display:grid!important;place-items:center;background:#eff8ff;font-size:19px;box-shadow:inset 0 0 0 1px rgba(21,112,239,.08)}.modern-bell .bell-text{display:block;text-align:left;line-height:1.1}.modern-bell .bell-text b{display:block;font-size:13px;font-weight:950;color:#101828}.modern-bell .bell-text small{display:block;margin-top:3px;font-size:10px;font-weight:850;color:#667085;white-space:nowrap}.modern-bell.has-pending{background:linear-gradient(135deg,#fff7ed,#ecfdf3);border-color:#fedf89!important;color:#101828;animation:none;box-shadow:0 16px 38px rgba(247,144,9,.16)}.modern-bell.has-pending:before{display:none}.modern-bell.has-pending .bell-icon{background:linear-gradient(135deg,#fffaeb,#ecfdf3);box-shadow:inset 0 0 0 1px rgba(247,144,9,.18),0 10px 24px rgba(247,144,9,.12);animation:modernBellShake 2.8s ease-in-out infinite}.modern-bell.has-pending .bell-text small{color:#b54708}.modern-bell .bell-count{right:-7px;top:-8px;min-width:24px;height:24px;background:linear-gradient(135deg,#f04438,#f79009);border:3px solid #fff;box-shadow:0 10px 24px rgba(240,68,56,.30);font-size:11px}.modern-notification-dropdown{display:block;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(10px) scale(.98);right:0;top:calc(100% + 14px);width:420px;max-width:calc(100vw - 32px);padding:0;background:#fff;border:1px solid rgba(230,237,245,.95);border-radius:24px;box-shadow:0 26px 80px rgba(16,24,40,.22);overflow:hidden;transition:.18s ease;z-index:120}.modern-bell-wrap:hover .modern-notification-dropdown,.modern-bell-wrap:focus-within .modern-notification-dropdown,.modern-bell-wrap.is-open .modern-notification-dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}.modern-notification-dropdown:before{display:none}.notif-head{display:grid;grid-template-columns:46px 1fr 38px;gap:12px;align-items:center;padding:16px;background:radial-gradient(circle at 90% 0%,rgba(0,196,140,.24),transparent 35%),linear-gradient(135deg,#0b1726,#0f4c81);color:#fff}.notif-head-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.22);font-size:22px;box-shadow:0 12px 28px rgba(0,0,0,.16)}.notif-head b{display:block;font-size:16px;font-weight:950;letter-spacing:-.01em}.notif-head span{display:block;margin-top:4px;font-size:12px;font-weight:750;color:#d7e9ff}.notif-refresh{width:38px;height:38px;display:grid;place-items:center;padding:0;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);box-shadow:none;color:#fff;font-size:18px}.notif-refresh:hover{filter:none;background:rgba(255,255,255,.22);transform:rotate(28deg)}.notif-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 12px 4px}.notif-summary-card{display:flex!important;align-items:center;gap:10px;padding:13px!important;border-radius:18px!important;border:1px solid #e6edf5!important;background:linear-gradient(180deg,#fff,#f8fafc);color:#101828!important}.notif-summary-card:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(16,24,40,.08);background:#fff!important}.notif-summary-card>span{width:38px;height:38px;min-width:38px;border-radius:14px;display:grid;place-items:center;font-size:20px}.notif-summary-card.deposit>span{background:#fffaeb}.notif-summary-card.agent>span{background:#eef2ff}.notif-summary-card b{font-size:22px!important;line-height:1;margin:0!important;color:#101828}.notif-summary-card small{display:block;margin-top:4px;color:#667085;font-size:11px;font-weight:850}.notif-section-title{display:flex;align-items:center;gap:8px;padding:12px 16px 7px;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:950}.notif-section-title:after{content:"";height:1px;background:#e6edf5;flex:1}.notif-item{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;margin:0 12px 8px;padding:11px!important;border:1px solid #edf2f7!important;border-radius:18px!important;background:#fff;color:#101828!important;transition:.18s}.notif-item:hover{background:#f8fafc!important;border-color:#d9e3ef!important;transform:translateX(3px)}.notif-item-icon{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;font-size:20px;background:#eff8ff}.notif-item-deposit .notif-item-icon{background:#fffaeb}.notif-item-agent .notif-item-icon{background:#eef2ff}.notif-item-body{min-width:0}.notif-item-body b{display:block!important;margin:0 0 4px!important;font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notif-item-body small{display:block!important;color:#667085!important;font-size:12px!important;font-weight:750!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notif-item strong{font-size:12px;color:#0f766e;background:#ecfdf3;border:1px solid #abefc6;border-radius:999px;padding:6px 9px;white-space:nowrap}.notif-empty-modern{margin:14px;padding:24px 18px;text-align:center;border:1px dashed #d0d5dd;border-radius:20px;background:linear-gradient(180deg,#f8fafc,#fff)}.notif-empty-modern div{width:50px;height:50px;margin:0 auto 10px;border-radius:18px;display:grid;place-items:center;background:#ecfdf3;font-size:24px}.notif-empty-modern b{display:block;font-size:15px;margin-bottom:5px;color:#101828}.notif-empty-modern span{display:block;color:#667085;font-size:12px;font-weight:750;line-height:1.5}.notif-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8fafc;border-top:1px solid #e6edf5}.notif-footer span{color:#667085;font-size:11px;font-weight:800}.notif-footer div{display:flex;gap:8px}.notif-footer a{display:inline-flex!important;align-items:center;padding:7px 9px!important;border:1px solid #d9e3ef!important;border-radius:999px!important;color:#0f4c81!important;background:#fff;font-size:11px;font-weight:900}.notif-footer a:hover{background:#eff8ff!important}.topbar-right{position:relative}@keyframes modernBellShake{0%,72%,100%{transform:rotate(0)}76%{transform:rotate(-13deg)}80%{transform:rotate(12deg)}84%{transform:rotate(-9deg)}88%{transform:rotate(6deg)}92%{transform:rotate(0)}}@media(max-width:900px){.modern-bell{min-width:50px;width:50px;justify-content:center;padding:7px}.modern-bell .bell-text{display:none}.modern-notification-dropdown{right:0;width:min(420px,calc(100vw - 36px))}}@media(max-width:780px){.modern-notification-dropdown{left:0;right:auto;width:calc(100vw - 36px)}.notif-summary-grid{grid-template-columns:1fr}.notif-footer{align-items:flex-start;flex-direction:column}.notif-item{grid-template-columns:40px minmax(0,1fr)}.notif-item strong{grid-column:2;justify-self:flex-start}.notif-head{grid-template-columns:42px 1fr 36px;padding:14px}.notif-head-icon{width:42px;height:42px;border-radius:15px}.modern-bell{width:48px;height:48px;border-radius:16px}}

/* Fix: notification bell dropdown must always stay above dashboard hero/cards */
.content,.topbar,.topbar.clean,.topbar-right,.notification-bell-wrap,.modern-bell-wrap{overflow:visible!important}
.topbar.clean{position:relative!important;z-index:3000!important}
.topbar-right{position:relative!important;z-index:3500!important}
.modern-bell-wrap{position:relative!important;z-index:3600!important}
.modern-bell-wrap.is-open{z-index:100000!important}
.notification-dropdown.modern-notification-dropdown{z-index:99999!important;box-shadow:0 34px 95px rgba(16,24,40,.32)!important}
.notification-dropdown.modern-notification-dropdown.is-fixed{position:fixed!important;right:auto!important;top:auto;left:auto;max-height:min(76vh,620px);overflow-y:auto;transform:translateY(0) scale(1)!important}
.dashboard-hero-v2,.pp-dashboard,.dashboard-kpi-grid,.dashboard-main-layout-v2{position:relative;z-index:1}
@media(max-width:780px){.notification-dropdown.modern-notification-dropdown.is-fixed{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important}}

/* Agent activity / online monitor */
.agent-type-summary{grid-template-columns:repeat(4,minmax(180px,1fr))}.agent-type-card.online-card{color:inherit}.agent-type-card.online-card .agent-type-icon{background:#ecfdf3}.agent-type-card.online-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(16,24,40,.08)}
.activity-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:26px;border-radius:28px;color:#fff;background:radial-gradient(circle at 88% 15%,rgba(255,255,255,.20),transparent 24%),linear-gradient(135deg,#07111f,#0f4c81 58%,#00a86b);box-shadow:0 24px 70px rgba(15,76,129,.22);overflow:hidden;position:relative}.activity-hero:after{content:"";position:absolute;right:-70px;bottom:-90px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.09)}.activity-hero h2{font-size:34px;margin:8px 0}.activity-hero p{max-width:760px;color:#d7e9ff;margin:0;line-height:1.55}.activity-kicker{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.09em}.activity-live-badge{position:relative;z-index:1;display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);border-radius:18px;padding:12px 14px;font-weight:850;white-space:nowrap}.activity-live-badge span{width:10px;height:10px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 8px rgba(18,183,106,.18);animation:activityPulse 1.7s infinite}
.activity-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px;margin-bottom:16px}.activity-stat-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:0 14px 32px rgba(16,24,40,.06);color:#101828;position:relative;overflow:hidden}.activity-stat-card:after{content:"";position:absolute;right:-28px;top:-28px;width:92px;height:92px;border-radius:50%;background:#eff8ff}.activity-stat-card div{position:relative;z-index:1;width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#eff8ff;margin-bottom:12px}.activity-stat-card span{display:block;color:#667085;font-size:13px;font-weight:850}.activity-stat-card b{display:block;font-size:30px;margin:3px 0;color:#101828}.activity-stat-card small{display:block;color:#98a2b3;font-weight:750}.activity-stat-card.online:after,.activity-stat-card.online div{background:#ecfdf3}.activity-stat-card.idle:after,.activity-stat-card.idle div{background:#fffaeb}.activity-stat-card.offline:after,.activity-stat-card.offline div{background:#f2f4f7}.activity-stat-card.total:after,.activity-stat-card.total div{background:#eef2ff}.activity-stat-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(16,24,40,.10)}
.activity-filter-panel{margin-bottom:16px}.activity-filter-form{display:grid;grid-template-columns:1.1fr .7fr auto;gap:12px;align-items:end}.activity-filter-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.activity-filter-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px}.activity-table-panel,.activity-log-panel{margin-top:16px}.activity-table{min-width:1080px}.agent-mini-profile{display:flex;align-items:center;gap:11px}.agent-mini-profile>span{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#00c48c,#1570ef);color:#fff;font-weight:950;box-shadow:0 12px 26px rgba(21,112,239,.14)}.agent-mini-profile b{display:block}.agent-mini-profile small{display:block;color:#667085;margin-top:3px}.activity-status-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:950;border:1px solid #e6edf5;background:#f8fafc;color:#475467}.activity-status-badge i{width:8px;height:8px;border-radius:50%;display:block;background:#98a2b3}.activity-status-badge.online{background:#ecfdf3;border-color:#abefc6;color:#067647}.activity-status-badge.online i{background:#12b76a;box-shadow:0 0 0 6px rgba(18,183,106,.16);animation:activityPulse 1.7s infinite}.activity-status-badge.idle{background:#fffaeb;border-color:#fedf89;color:#b54708}.activity-status-badge.idle i{background:#f79009}.activity-status-badge.offline{background:#f2f4f7;border-color:#d0d5dd;color:#475467}.activity-status-badge.offline i{background:#98a2b3}@keyframes activityPulse{0%{box-shadow:0 0 0 0 rgba(18,183,106,.35)}70%{box-shadow:0 0 0 9px rgba(18,183,106,0)}100%{box-shadow:0 0 0 0 rgba(18,183,106,0)}}
@media(max-width:1100px){.agent-type-summary,.activity-stats-grid{grid-template-columns:1fr 1fr}.activity-filter-form{grid-template-columns:1fr 1fr}.activity-filter-actions{grid-column:1/-1}}
@media(max-width:780px){.agent-type-summary,.activity-stats-grid{grid-template-columns:1fr}.activity-hero{display:block}.activity-live-badge{margin-top:16px;white-space:normal}.activity-filter-form{grid-template-columns:1fr}.activity-filter-actions{grid-column:auto}.activity-table-panel,.activity-log-panel{overflow:auto}.activity-hero h2{font-size:28px}}

.badge.warning{background:#fff7ed;color:#c2410c}

/* Mobile responsive dashboard/header fix - 2026-07-09 */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%;height:auto}
.shell,.content,.pp-dashboard,.panel{min-width:0}

@media(max-width:900px){
  .content{margin-left:0;width:100%;padding:14px;max-width:100vw;overflow-x:hidden}
  .topbar.clean{display:grid!important;grid-template-columns:1fr;gap:12px;padding:12px;border-radius:18px;margin-bottom:14px;position:relative!important;z-index:3000!important}
  .page-title{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;width:100%}
  .page-title .mobile-menu{width:44px;height:44px;min-width:44px;padding:0;border-radius:14px;display:grid;place-items:center}
  .page-title h2{font-size:20px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .page-title p{font-size:11px;line-height:1.35;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .topbar-right{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;width:100%;margin-top:0!important;min-width:0}
  .header-user{margin-top:0!important;min-width:0;width:100%;padding:8px 10px;border-radius:16px;box-shadow:0 8px 20px rgba(16,24,40,.05)}
  .header-user .avatar{width:36px;height:36px;min-width:36px;border-radius:13px}
  .header-user div:last-child{min-width:0}
  .header-user b,.header-user small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .modern-bell{width:44px!important;min-width:44px!important;height:44px!important;padding:5px!important;border-radius:15px!important}
  .modern-bell .bell-icon{width:32px;height:32px;min-width:32px;border-radius:12px;font-size:17px}
  .modern-bell .bell-count{right:-6px;top:-7px;min-width:21px;height:21px;font-size:10px;border-width:2px}
  .notification-dropdown.modern-notification-dropdown.is-fixed{left:12px!important;right:auto!important;top:72px!important;width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 92px)!important;border-radius:20px!important}
}

@media(max-width:900px){
  .pp-dashboard{gap:12px}
  .dashboard-hero-v2{grid-template-columns:1fr!important;gap:14px!important;padding:16px!important;border-radius:20px!important;min-height:0!important;box-shadow:0 16px 38px rgba(15,76,129,.18)!important;margin-bottom:0!important}
  .hero-orb-one,.hero-orb-two{display:none!important}
  .hero-kicker{font-size:10px;padding:6px 9px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hero-content-v2 h2{font-size:23px!important;line-height:1.15!important;margin:10px 0 6px!important}
  .hero-content-v2 p{font-size:12px!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hero-actions-v2{display:grid!important;grid-template-columns:1fr;gap:8px!important;margin-top:12px!important}
  .hero-actions-v2 .btn{width:100%;min-height:42px;padding:10px 12px!important;border-radius:13px!important;font-size:13px!important;display:flex;align-items:center;justify-content:center;text-align:center}
  .hero-metric-stack{grid-template-columns:1fr!important;gap:8px!important}
  .hero-metric-card{border-radius:16px!important;padding:12px!important;box-shadow:none!important}
  .hero-metric-card span{font-size:11px!important}
  .hero-metric-card b{font-size:18px!important;margin:4px 0 1px!important;word-break:break-word}
  .hero-metric-card small{font-size:11px!important}
  .dashboard-kpi-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .kpi-card-v2{display:grid!important;grid-template-columns:38px minmax(0,1fr);gap:10px!important;min-height:92px!important;border-radius:18px!important;padding:12px!important}
  .kpi-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:13px!important;font-size:18px!important}
  .kpi-card-v2 span{font-size:10.5px!important;line-height:1.2!important}
  .kpi-card-v2 b{font-size:17px!important;margin:4px 0 2px!important;word-break:break-word}
  .kpi-card-v2 small{font-size:10.5px!important;line-height:1.25!important}
  .dashboard-grid-v2,.dashboard-bottom-grid-v2{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .panel{border-radius:18px!important;padding:14px!important;overflow:auto;max-width:100%}
  .panel-head-row,.modern-head,.side-head-v2{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:start!important}
  .panel-head-row .btn,.modern-head .btn{width:100%;display:flex;justify-content:center;align-items:center;min-height:40px}
  .section-kicker{font-size:10px;padding:6px 9px}
  .modern-head h3,.side-head-v2 h3{font-size:18px!important;margin:6px 0 0!important}
  .modern-head .muted{font-size:12px!important;line-height:1.45!important}
  .chart-summary-v2{grid-template-columns:1fr 1fr!important;gap:8px!important;margin:12px 0!important}
  .chart-summary-v2 div{padding:10px!important;border-radius:14px!important}
  .chart-summary-v2 span{font-size:10.5px!important}
  .chart-summary-v2 b{font-size:13px!important;word-break:break-word}
  .line-chart-v2{padding:10px!important;border-radius:17px!important;overflow-x:auto!important}
  .line-chart-v2 svg{min-width:640px;height:205px!important}
  .chart-labels-v2{grid-template-columns:repeat(7,84px)!important;overflow-x:auto!important;padding-bottom:4px}
  .queue-row-v2{grid-template-columns:38px minmax(0,1fr) auto!important;gap:9px!important;padding:10px!important;border-radius:15px!important}
  .queue-icon{width:38px!important;height:38px!important;border-radius:13px!important;font-size:18px!important}
  .queue-row-v2 b{font-size:13px!important}
  .queue-row-v2 small{font-size:11px!important;line-height:1.3!important}
  .status-list-v2 div{padding:10px!important;border-radius:13px!important}
  .server-balance-v2{padding:13px!important;border-radius:16px!important}
  .server-balance-v2 b{font-size:18px!important;word-break:break-word}
  .dashboard-table-v2{min-width:760px}
  table{font-size:13px}
  th,td{padding:11px 10px;font-size:13px}
}

@media(max-width:520px){
  .content{padding:10px}
  .topbar.clean{border-radius:16px;padding:10px;margin-bottom:10px}
  .page-title{grid-template-columns:40px minmax(0,1fr)}
  .page-title .mobile-menu{width:40px;height:40px;min-width:40px;border-radius:13px}
  .page-title h2{font-size:18px!important}
  .page-title p{display:none!important}
  .topbar-right{grid-template-columns:auto minmax(0,1fr);gap:8px}
  .header-user{padding:7px 9px;border-radius:14px;gap:8px}
  .header-user .avatar{width:32px;height:32px;min-width:32px;border-radius:12px;font-size:13px}
  .header-user b{font-size:12px!important}
  .header-user small{font-size:10px!important}
  .modern-bell{width:40px!important;min-width:40px!important;height:40px!important;border-radius:14px!important}
  .modern-bell .bell-icon{width:30px;height:30px;min-width:30px;border-radius:11px;font-size:16px}
  .notification-dropdown.modern-notification-dropdown.is-fixed{top:64px!important;left:8px!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}
  .dashboard-hero-v2{padding:14px!important;border-radius:18px!important}
  .hero-content-v2 h2{font-size:21px!important}
  .hero-content-v2 p{display:none!important}
  .hero-actions-v2{grid-template-columns:1fr!important}
  .dashboard-kpi-grid{grid-template-columns:1fr!important}
  .kpi-card-v2{min-height:84px!important}
  .chart-summary-v2{grid-template-columns:1fr!important}
  .deposit-feed-item-v2{grid-template-columns:12px minmax(0,1fr)!important}
  .deposit-feed-item-v2 strong{grid-column:2!important;justify-self:start!important}
  .notif-head{grid-template-columns:38px 1fr 34px!important;gap:9px!important}
  .notif-head-icon{width:38px!important;height:38px!important;border-radius:14px!important;font-size:18px!important}
  .notif-head b{font-size:14px!important}
  .notif-head span{font-size:11px!important;line-height:1.35!important}
}

/* Final mobile sidebar/header layering fix - 2026-07-11
   Saat sidebar mobile dibuka, header tidak boleh menimpa menu. */
@media (max-width: 900px){
  .sidebar{
    z-index: 10050 !important;
    width: min(82vw, 320px) !important;
    max-width: 320px !important;
    box-shadow: 24px 0 70px rgba(2, 8, 23, .42) !important;
  }

  .sidebar.open{
    transform: translateX(0) !important;
  }

  .topbar.clean{
    z-index: 20 !important;
  }

  body.sidebar-open{
    overflow: hidden !important;
    touch-action: none;
  }

  body.sidebar-open .topbar.clean{
    z-index: 1 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(.98) !important;
    transition: opacity .18s ease, transform .18s ease !important;
  }

  body.sidebar-open .content{
    pointer-events: none !important;
  }

  body.sidebar-open .sidebar{
    pointer-events: auto !important;
  }

  body.sidebar-open::after{
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, .48);
    backdrop-filter: blur(2px);
    z-index: 10000;
  }

  body.sidebar-open .sidebar{
    z-index: 10060 !important;
  }
}

/* Riwayat Aktivitas: filter agen + pagination 10 record */
.activity-log-heading{align-items:flex-end;gap:18px}
.activity-log-filter{display:grid;grid-template-columns:minmax(260px,360px) auto;gap:10px;align-items:end;min-width:min(100%,520px)}
.activity-log-filter .form-row{margin:0}
.activity-log-filter-actions{display:flex;gap:8px;align-items:center;padding-bottom:1px}
.activity-log-filter-actions .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.activity-log-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 10px;padding:10px 12px;border:1px solid #e6edf5;border-radius:14px;background:#f8fafc;color:#667085;font-size:12px}
.activity-log-summary b{color:#101828}
.activity-log-table-wrap{overflow-x:auto}
.activity-log-table-wrap table{min-width:760px}
.activity-pagination{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-top:16px}
.activity-page-btn{min-width:38px;height:38px;padding:0 10px;border:1px solid #d0d5dd;border-radius:11px;background:#fff;color:#344054;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:850;box-shadow:0 5px 14px rgba(16,24,40,.04)}
.activity-page-btn:hover{border-color:#1570ef;color:#1570ef;background:#eff8ff}
.activity-page-btn.active{border-color:#1570ef;background:linear-gradient(135deg,#0f4c81,#1570ef);color:#fff;box-shadow:0 9px 20px rgba(21,112,239,.18)}
.activity-page-btn.disabled{opacity:.42;pointer-events:none;box-shadow:none}
.activity-page-dots{min-width:28px;text-align:center;color:#98a2b3;font-weight:900}
@media(max-width:900px){
  .activity-log-heading{align-items:stretch!important}
  .activity-log-filter{grid-template-columns:1fr;width:100%;min-width:0}
  .activity-log-filter-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;padding:0}
  .activity-log-filter-actions .btn{width:100%}
  .activity-pagination{justify-content:center}
}
@media(max-width:520px){
  .activity-log-summary{display:grid;grid-template-columns:1fr;gap:5px}
  .activity-page-btn{min-width:34px;height:36px;padding:0 9px}
}

/* ========================================================================== 
   Aktivitas Agen V3 — scoped UI refresh (tidak memengaruhi halaman lain)
   ========================================================================== */
.activity-page-v3{display:grid;gap:14px;max-width:100%;padding-bottom:8px}
.activity-page-v3 .panel{margin:0;border:1px solid #e6edf5;box-shadow:0 10px 30px rgba(16,24,40,.045)}
.activity-v3-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:150px;padding:24px 26px;border-radius:24px;overflow:hidden;color:#fff;background:linear-gradient(120deg,#0a344f 0%,#096f70 52%,#0e9585 100%);box-shadow:0 18px 42px rgba(9,111,112,.18)}
.activity-v3-hero:before,.activity-v3-hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.activity-v3-hero:before{width:250px;height:250px;right:-70px;top:-155px;background:rgba(255,255,255,.11)}
.activity-v3-hero:after{width:150px;height:150px;right:150px;bottom:-112px;border:28px solid rgba(255,255,255,.07)}
.activity-v3-hero-copy{min-width:0}
.activity-v3-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#d9fffa}
.activity-v3-eyebrow i,.activity-v3-live i{width:8px;height:8px;display:inline-block;border-radius:50%;background:#5af3be;box-shadow:0 0 0 6px rgba(90,243,190,.15)}
.activity-v3-hero h2{margin:8px 0 5px;font-size:30px;line-height:1.1;letter-spacing:-.035em;color:#fff}
.activity-v3-hero p{margin:0;max-width:690px;color:rgba(239,255,252,.84);font-size:13px;line-height:1.55}
.activity-v3-hero-actions{position:relative;z-index:2;display:flex;align-items:center;gap:9px;flex-shrink:0}
.activity-v3-live,.activity-v3-refresh{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(255,255,255,.19);border-radius:13px;padding:0 13px;background:rgba(255,255,255,.10);color:#fff;font:inherit;font-size:12px;font-weight:850;backdrop-filter:blur(10px)}
.activity-v3-refresh{cursor:pointer;transition:.18s ease}
.activity-v3-refresh:hover{background:rgba(255,255,255,.18);transform:translateY(-1px)}

.activity-v3-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.activity-v3-stat{position:relative;display:flex;align-items:center;gap:12px;min-width:0;padding:14px 15px;border:1px solid #e6edf5;border-radius:18px;background:#fff;color:#101828;box-shadow:0 8px 24px rgba(16,24,40,.045);overflow:hidden;transition:.18s ease}
.activity-v3-stat:after{content:"";position:absolute;width:70px;height:70px;border-radius:50%;right:-30px;top:-32px;background:var(--stat-soft,#f2f4f7)}
.activity-v3-stat:hover,.activity-v3-stat.active{transform:translateY(-2px);border-color:var(--stat-border,#b2ddff);box-shadow:0 13px 28px rgba(16,24,40,.08)}
.activity-v3-stat.active{box-shadow:inset 0 -3px 0 var(--stat-color,#1570ef),0 13px 28px rgba(16,24,40,.08)}
.activity-v3-stat-icon{position:relative;z-index:1;width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:14px;background:var(--stat-soft,#f2f4f7);color:var(--stat-color,#667085);font-size:19px;font-weight:950}
.activity-v3-stat div{position:relative;z-index:1;min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:8px}
.activity-v3-stat small{grid-column:1/-1;color:#667085;font-size:11px;font-weight:850;white-space:nowrap}
.activity-v3-stat strong{font-size:25px;line-height:1.1;letter-spacing:-.035em;color:#101828}
.activity-v3-stat em{font-style:normal;color:#98a2b3;font-size:10.5px;font-weight:750;white-space:nowrap}
.activity-v3-stat.online{--stat-color:#079455;--stat-soft:#ecfdf3;--stat-border:#abefc6}
.activity-v3-stat.idle{--stat-color:#dc6803;--stat-soft:#fffaeb;--stat-border:#fedf89}
.activity-v3-stat.offline{--stat-color:#667085;--stat-soft:#f2f4f7;--stat-border:#d0d5dd}
.activity-v3-stat.total{--stat-color:#1570ef;--stat-soft:#eff8ff;--stat-border:#b2ddff}

.activity-v3-filter-card{display:grid!important;grid-template-columns:minmax(210px,.7fr) minmax(0,2fr);gap:18px;align-items:end;padding:16px 18px!important}
.activity-v3-filter-title{display:flex;align-items:center;gap:11px;min-width:0;padding-bottom:2px}
.activity-v3-filter-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:14px;background:#ecfdf3;color:#087a63;font-size:20px;font-weight:900}
.activity-v3-filter-title b{display:block;color:#101828;font-size:14px}
.activity-v3-filter-title small{display:block;margin-top:3px;color:#667085;font-size:11px;line-height:1.35}
.activity-v3-filter-form{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(160px,.65fr) auto;gap:10px;align-items:end}
.activity-v3-field{display:grid;gap:6px;min-width:0}
.activity-v3-field label{margin:0;color:#475467;font-size:10.5px;font-weight:900;letter-spacing:.025em;text-transform:uppercase}
.activity-page-v3 .activity-v3-field input,.activity-page-v3 .activity-v3-field select{width:100%;height:42px;margin:0;border:1px solid #d8e0e9;border-radius:12px;background:#fff;color:#101828;font-size:12px;outline:none;box-shadow:none;transition:.16s ease}
.activity-page-v3 .activity-v3-field input:focus,.activity-page-v3 .activity-v3-field select:focus{border-color:#14a38e;box-shadow:0 0 0 3px rgba(20,163,142,.10)}
.activity-v3-input-wrap{position:relative}
.activity-v3-input-wrap>span{position:absolute;z-index:1;left:13px;top:50%;transform:translateY(-50%);color:#98a2b3;font-weight:900}
.activity-page-v3 .activity-v3-input-wrap input{padding-left:36px}
.activity-v3-filter-buttons{display:flex;align-items:center;gap:7px}
.activity-page-v3 .activity-v3-primary-btn,.activity-page-v3 .activity-v3-reset-btn{height:42px;min-height:42px;margin:0;padding:0 16px;border-radius:12px;font-size:12px;white-space:nowrap}
.activity-page-v3 .activity-v3-primary-btn{background:linear-gradient(135deg,#087a70,#10a58f);border-color:transparent;color:#fff;box-shadow:0 8px 18px rgba(16,165,143,.18)}
.activity-page-v3 .activity-v3-reset-btn{background:#f8fafc;border:1px solid #d8e0e9;color:#475467;box-shadow:none}

.activity-v3-agent-panel,.activity-v3-log-panel{padding:18px!important;overflow:hidden!important}
.activity-v3-section-head,.activity-v3-log-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.activity-v3-section-label{display:block;margin-bottom:4px;color:#0b8b78;font-size:9.5px;font-weight:950;letter-spacing:.10em}
.activity-v3-section-head h3,.activity-v3-log-head h3{margin:0;color:#101828;font-size:18px;line-height:1.25;letter-spacing:-.02em}
.activity-v3-section-head p,.activity-v3-log-head p{margin:4px 0 0;color:#667085;font-size:11.5px}
.activity-v3-outline-btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;border:1px solid #d8e0e9;border-radius:11px;background:#fff;color:#344054;font-size:11.5px;font-weight:850;white-space:nowrap}
.activity-v3-outline-btn:hover{border-color:#14a38e;color:#087a70;background:#f0fdf9}
.activity-v3-table-wrap{width:100%;overflow-x:auto;border:1px solid #e7edf3;border-radius:16px}
.activity-v3-agent-table{width:100%;min-width:1030px;border-collapse:separate;border-spacing:0;margin:0}
.activity-v3-agent-table th{padding:11px 13px;border-bottom:1px solid #e7edf3;background:#f8fafc;color:#667085;font-size:9.5px;font-weight:950;letter-spacing:.065em;text-transform:uppercase;text-align:left}
.activity-v3-agent-table td{padding:12px 13px;border-bottom:1px solid #edf1f5;vertical-align:middle;color:#344054;font-size:11.5px;background:#fff}
.activity-v3-agent-table tbody tr:last-child td{border-bottom:0}
.activity-v3-agent-table tbody tr:hover td{background:#fbfefd}
.activity-v3-agent-profile{display:flex;align-items:center;gap:10px;min-width:205px}
.activity-v3-agent-profile>span{width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px;border-radius:13px;background:linear-gradient(135deg,#0d8d7b,#30b5a0);color:#fff;font-size:11px;font-weight:950;box-shadow:0 8px 18px rgba(13,141,123,.18)}
.activity-v3-agent-profile b,.activity-v3-cell-stack b,.activity-v3-daily b,.activity-v3-balance b{display:block;color:#101828;font-size:11.5px;line-height:1.35}
.activity-v3-agent-profile small,.activity-v3-cell-stack small,.activity-v3-daily small,.activity-v3-balance small{display:block;margin-top:2px;color:#667085;font-size:10.5px;line-height:1.35}
.activity-v3-agent-profile em,.activity-v3-cell-stack em{display:block;margin-top:3px;color:#98a2b3;font-size:9.5px;font-style:normal;line-height:1.35}
.activity-v3-status{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid #d0d5dd;border-radius:999px;background:#f8fafc;color:#475467;font-size:10.5px;font-weight:900}
.activity-v3-status i{width:7px;height:7px;border-radius:50%;background:#98a2b3}
.activity-v3-status.online{border-color:#abefc6;background:#ecfdf3;color:#067647}.activity-v3-status.online i{background:#12b76a;box-shadow:0 0 0 4px rgba(18,183,106,.12)}
.activity-v3-status.idle{border-color:#fedf89;background:#fffaeb;color:#b54708}.activity-v3-status.idle i{background:#f79009}
.activity-v3-status.offline{border-color:#d0d5dd;background:#f2f4f7;color:#475467}.activity-v3-status.offline i{background:#98a2b3}
.activity-v3-last-seen{display:block;margin-top:5px;color:#98a2b3;font-size:9.5px;white-space:nowrap}
.activity-v3-daily span{display:inline-flex;margin-top:5px;padding:4px 7px;border-radius:7px;background:#fffaeb;color:#b54708;font-size:9px;font-weight:850}
.activity-v3-balance b{color:#087a70;white-space:nowrap}
.activity-v3-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#667085}
.activity-v3-empty>span{width:46px;height:46px;display:grid;place-items:center;margin-bottom:9px;border-radius:15px;background:#f2f4f7;color:#667085;font-size:20px}
.activity-v3-empty b{color:#344054;font-size:13px}.activity-v3-empty small{margin-top:4px;font-size:11px}

.activity-v3-log-head{align-items:flex-end}
.activity-v3-log-filter{display:flex;align-items:flex-end;gap:7px;min-width:min(100%,470px)}
.activity-v3-log-filter .activity-v3-field{flex:1}
.activity-v3-filter-icon-btn{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border:0;border-radius:12px;background:linear-gradient(135deg,#087a70,#10a58f);color:#fff;font:inherit;font-size:18px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(16,165,143,.18)}
.activity-v3-clear-filter{height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;border:1px solid #d8e0e9;border-radius:12px;background:#fff;color:#475467;font-size:11px;font-weight:850}
.activity-v3-log-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:11px}
.activity-v3-log-summary span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid #e7edf3;border-radius:999px;background:#f8fafc;color:#667085;font-size:10.5px;font-weight:750}
.activity-v3-log-summary b{margin-right:4px;color:#101828}
.activity-v3-log-list{display:grid;border:1px solid #e7edf3;border-radius:16px;overflow:hidden;background:#fff}
.activity-v3-log-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;padding:12px 13px;border-bottom:1px solid #edf1f5;background:#fff;transition:.16s ease}
.activity-v3-log-item:last-child{border-bottom:0}
.activity-v3-log-item:hover{background:#fbfefd}
.activity-v3-log-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f2f4f7;color:#475467;font-size:15px;font-weight:950}
.activity-v3-log-icon.login{background:#eff8ff;color:#175cd3}.activity-v3-log-icon.transaction{background:#eef4ff;color:#3538cd}.activity-v3-log-icon.deposit{background:#ecfdf3;color:#067647}.activity-v3-log-icon.product{background:#f9f5ff;color:#6941c6}.activity-v3-log-icon.notification{background:#fff6ed;color:#c4320a}.activity-v3-log-icon.profile{background:#fdf2fa;color:#c11574}.activity-v3-log-icon.online{background:#ecfdf3;color:#079455}
.activity-v3-log-main{min-width:0}
.activity-v3-log-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.activity-v3-log-title-row b{display:block;color:#101828;font-size:11.5px;line-height:1.35}
.activity-v3-log-title-row>div>span{display:block;margin-top:2px;color:#98a2b3;font-size:9.5px}
.activity-v3-log-title-row time{display:grid;flex:0 0 auto;text-align:right;color:#475467;font-size:10px;font-weight:850;white-space:nowrap}
.activity-v3-log-title-row time small{margin-top:2px;color:#98a2b3;font-size:9.5px;font-weight:700}
.activity-v3-log-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px}
.activity-v3-log-meta>span{min-height:27px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border-radius:8px;background:#f8fafc;color:#667085;font-size:9.5px;max-width:100%}
.activity-v3-log-agent i{width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:#dff8f1;color:#087a70;font-size:7.5px;font-style:normal;font-weight:950}
.activity-v3-log-agent b{color:#344054;font-size:9.5px}.activity-v3-log-agent small{color:#98a2b3;font-size:9px}
.activity-v3-pagination-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}
.activity-v3-pagination-wrap>span{color:#98a2b3;font-size:10.5px}
.activity-v3-pagination{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.activity-v3-page-btn{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid #d8e0e9;border-radius:10px;background:#fff;color:#475467;font-size:10.5px;font-weight:900;box-shadow:0 3px 9px rgba(16,24,40,.03)}
.activity-v3-page-btn:hover{border-color:#14a38e;color:#087a70;background:#f0fdf9}
.activity-v3-page-btn.active{border-color:#087a70;background:#087a70;color:#fff;box-shadow:0 7px 15px rgba(8,122,112,.18)}
.activity-v3-page-btn.disabled{opacity:.38;pointer-events:none;box-shadow:none}
.activity-v3-page-dots{min-width:22px;text-align:center;color:#98a2b3;font-weight:900}

@media(max-width:1180px){
  .activity-v3-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .activity-v3-filter-card{grid-template-columns:1fr!important;align-items:stretch}
  .activity-v3-filter-form{grid-template-columns:minmax(210px,1.3fr) minmax(150px,.7fr) auto}
}
@media(max-width:900px){
  .activity-page-v3{gap:11px}
  .activity-v3-hero{min-height:0;padding:18px;border-radius:20px;align-items:flex-start}
  .activity-v3-hero h2{font-size:25px}
  .activity-v3-hero-actions{flex-direction:column;align-items:stretch}
  .activity-v3-live,.activity-v3-refresh{min-height:38px}
  .activity-v3-filter-form{grid-template-columns:1fr 180px auto}
  .activity-v3-agent-panel,.activity-v3-log-panel{padding:14px!important}
  .activity-v3-log-head{align-items:stretch;display:grid}
  .activity-v3-log-filter{min-width:0;width:100%}
  .activity-v3-table-wrap{border:0;overflow:visible}
  .activity-v3-agent-table{min-width:0;display:block}
  .activity-v3-agent-table thead{display:none}
  .activity-v3-agent-table tbody{display:grid;gap:9px}
  .activity-v3-agent-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e7edf3;border-radius:15px;overflow:hidden;background:#fff}
  .activity-v3-agent-table td{display:grid;grid-template-columns:105px minmax(0,1fr);align-items:start;gap:8px;padding:10px 11px;border:0;border-bottom:1px solid #edf1f5;background:#fff!important}
  .activity-v3-agent-table td:before{content:attr(data-label);color:#98a2b3;font-size:9px;font-weight:950;letter-spacing:.055em;text-transform:uppercase;padding-top:3px}
  .activity-v3-agent-table td:first-child{grid-column:1/-1;display:block;padding:12px;border-bottom:1px solid #edf1f5}
  .activity-v3-agent-table td:first-child:before{display:none}
  .activity-v3-agent-table td:nth-child(odd):not(:first-child){border-right:1px solid #edf1f5}
  .activity-v3-agent-table td:nth-last-child(-n+2){border-bottom:0}
  .activity-v3-agent-profile{min-width:0}
  .activity-v3-balance b{white-space:normal}
}
@media(max-width:650px){
  .activity-v3-hero{display:grid;gap:13px}
  .activity-v3-hero-copy p{font-size:11.5px}
  .activity-v3-hero-actions{display:grid;grid-template-columns:1fr auto;flex-direction:initial}
  .activity-v3-live{justify-content:flex-start}
  .activity-v3-refresh span{display:none}
  .activity-v3-stats{grid-template-columns:1fr 1fr;gap:8px}
  .activity-v3-stat{padding:11px;gap:9px;border-radius:15px}
  .activity-v3-stat-icon{width:36px;height:36px;flex-basis:36px;border-radius:12px;font-size:16px}
  .activity-v3-stat strong{font-size:20px}
  .activity-v3-stat small{font-size:9.5px}.activity-v3-stat em{font-size:9px}
  .activity-v3-filter-card{padding:13px!important;gap:13px}
  .activity-v3-filter-form{grid-template-columns:1fr}
  .activity-v3-filter-buttons{display:grid;grid-template-columns:1fr 1fr}
  .activity-page-v3 .activity-v3-primary-btn,.activity-page-v3 .activity-v3-reset-btn{width:100%}
  .activity-v3-section-head{align-items:flex-start;display:grid}
  .activity-v3-outline-btn{width:100%}
  .activity-v3-agent-table tr{grid-template-columns:1fr}
  .activity-v3-agent-table td{grid-template-columns:100px minmax(0,1fr);border-right:0!important}
  .activity-v3-agent-table td:nth-last-child(2){border-bottom:1px solid #edf1f5}
  .activity-v3-agent-table td:last-child{border-bottom:0}
  .activity-v3-log-filter{display:grid;grid-template-columns:minmax(0,1fr) 42px auto}
  .activity-v3-log-title-row{gap:8px}
  .activity-v3-log-meta{display:grid;grid-template-columns:1fr 1fr}
  .activity-v3-log-agent{grid-column:1/-1}
  .activity-v3-log-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .activity-v3-pagination-wrap{display:grid;justify-items:center}
  .activity-v3-pagination{justify-content:center}
  .activity-v3-page-btn.prev span,.activity-v3-page-btn.next span{display:none}
}
@media(max-width:390px){
  .activity-v3-stats{grid-template-columns:1fr}
  .activity-v3-stat div{grid-template-columns:auto 1fr}
  .activity-v3-log-item{grid-template-columns:34px minmax(0,1fr);gap:9px;padding:11px 10px}
  .activity-v3-log-icon{width:34px;height:34px;border-radius:11px;font-size:13px}
  .activity-v3-log-meta{grid-template-columns:1fr}
  .activity-v3-log-agent{grid-column:auto}
}
