:root{--bw-primary:#155eef;--bw-primary2:#3b82f6;--bw-text:#101828;--bw-muted:#667085;--bw-line:#e4e7ec;--bw-bg:#f6f8fc;--bw-success:#067647}
html{background:var(--bw-bg)}
body{padding-bottom:env(safe-area-inset-bottom)}
.bw-appbar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:920px;margin:0 auto 14px;padding:4px 2px}
.bw-brand{display:flex;align-items:center;gap:10px;color:var(--bw-text);text-decoration:none}.bw-brand img{width:38px;height:38px;object-fit:contain;border-radius:11px;background:#fff;border:1px solid var(--bw-line);padding:5px;box-shadow:0 4px 14px rgba(16,24,40,.06)}
.bw-brand strong{display:block;font-size:15px;line-height:1.1}.bw-brand span{display:block;color:var(--bw-muted);font-size:11px;margin-top:3px}
.bw-install-btn{display:none;align-items:center;gap:8px;border:1px solid #c7d7fe;background:#fff;color:#1849a9;border-radius:999px;padding:9px 13px;font-weight:800;font-size:12px;cursor:pointer;box-shadow:0 4px 14px rgba(16,24,40,.05)}
.bw-install-btn.show{display:inline-flex}.bw-install-btn svg{width:16px;height:16px}
.bw-install-card{display:none;position:relative;overflow:hidden;margin:0 auto 16px;max-width:920px;background:linear-gradient(135deg,#155eef 0%,#3b82f6 100%);border-radius:20px;padding:18px;color:#fff;box-shadow:0 16px 34px rgba(21,94,239,.22)}.bw-install-card.show{display:flex;align-items:center;justify-content:space-between;gap:16px}.bw-install-copy{display:flex;align-items:center;gap:13px}.bw-install-icon{width:48px;height:48px;flex:0 0 48px;background:#fff;border-radius:14px;padding:7px;object-fit:contain}.bw-install-card h3{margin:0 0 5px;font-size:16px;font-weight:900}.bw-install-card p{margin:0;opacity:.9;font-size:12px;line-height:1.45}.bw-install-action{border:0;border-radius:12px;background:#fff;color:#1849a9;font-weight:900;padding:11px 14px;white-space:nowrap;cursor:pointer}
.bw-standalone .bw-install-btn,.bw-standalone .bw-install-card{display:none!important}
.bw-safe-note{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--bw-muted);font-size:11px;margin-top:12px}.bw-safe-note svg{width:14px;height:14px;color:var(--bw-success)}
@media(max-width:640px){.bw-appbar{margin-bottom:10px}.bw-brand span{display:none}.bw-install-card.show{align-items:flex-start}.bw-install-card p{max-width:220px}.bw-install-action{padding:10px 12px}.bw-install-icon{width:44px;height:44px;flex-basis:44px}}
@media(max-width:430px){.bw-install-card.show{display:block}.bw-install-action{width:100%;margin-top:14px}.bw-install-card p{max-width:none}}
@media(display-mode:standalone){body{overscroll-behavior-y:none}}

/* Single Dashboard Experience */
.bw-stage{max-width:920px;margin:0 auto 14px;background:#fff;border:1px solid var(--bw-line);border-radius:18px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 8px 24px rgba(16,24,40,.05)}
.bw-stage-copy span{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#155eef;margin-bottom:4px}.bw-stage-copy strong{display:block;font-size:15px;color:#101828}.bw-stage-copy small{display:block;margin-top:4px;color:#667085;font-size:11px;line-height:1.4}
.bw-progress{display:flex;align-items:center;flex:0 0 auto}.bw-progress i{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:900;background:#f2f4f7;color:#98a2b3;border:1px solid #e4e7ec}.bw-progress i.done{background:#ecfdf3;color:#067647;border-color:#abefc6}.bw-progress i.active{background:#155eef;color:#fff;border-color:#155eef;box-shadow:0 0 0 4px rgba(21,94,239,.10)}.bw-progress b{width:25px;height:2px;background:#e4e7ec;display:block}.bw-progress i.done + b{background:#75e0a7}
/* Keep every payment step in the same visual frame */
body .page-shell,body .invoice-container{max-width:920px}.card,.invoice-container{border-color:#e4e7ec!important;box-shadow:0 16px 45px rgba(16,24,40,.07)!important}.card{border-radius:22px!important;overflow:hidden}.card-header{background:linear-gradient(180deg,#fff,#fbfcff)!important;border-bottom:1px solid #eef2f6!important}.btn-primary{background:linear-gradient(135deg,#155eef,#3b82f6)!important;border-color:transparent!important}.btn{border-radius:12px!important;font-weight:800!important}
@media(max-width:640px){.bw-stage{padding:13px 14px;border-radius:16px;align-items:flex-start}.bw-stage-copy small{display:none}.bw-progress i{width:26px;height:26px}.bw-progress b{width:15px}.bw-stage-copy strong{font-size:13px}}

/* Bayar Wifi Mobile Banking Dashboard v3 */
.bw-customer-dashboard{max-width:680px;margin:0 auto;padding-bottom:92px}.bw-wallet-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#0b4ccf 0%,#155eef 56%,#4b8cff 100%);border-radius:28px;padding:24px;color:#fff;box-shadow:0 24px 55px rgba(21,94,239,.25)}.bw-wallet-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08);right:-90px;top:-120px}.bw-wallet-top,.bw-wallet-amount,.bw-wallet-actions{position:relative;z-index:1}.bw-wallet-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.bw-eyebrow{display:block;font-size:10px;letter-spacing:.1em;font-weight:900;opacity:.8;margin-bottom:5px}.bw-wallet-top h1{font-size:22px;line-height:1.15;margin:0;font-weight:900;letter-spacing:-.025em}.bw-wallet-top p{font-size:12px;margin:6px 0 0;opacity:.8}.bw-status-pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:8px 10px;border-radius:999px;font-size:11px;font-weight:900;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22)}.bw-status-pill.paid{background:rgba(236,253,243,.15)}.bw-status-pill.due{background:rgba(255,250,235,.16)}.bw-wallet-amount{margin-top:32px}.bw-wallet-amount>span{font-size:12px;opacity:.82}.bw-wallet-amount strong{display:block;font-size:38px;line-height:1.05;margin:5px 0 8px;font-weight:950;letter-spacing:-.045em}.bw-wallet-amount small{font-size:11px;opacity:.78}.bw-wallet-actions{margin-top:22px}.bw-pay-now{display:flex;align-items:center;gap:12px;background:#fff;color:#153e91!important;text-decoration:none!important;border-radius:17px;padding:13px 14px;box-shadow:0 12px 25px rgba(9,34,86,.16)}.bw-action-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#eff4ff;color:#155eef;flex:0 0 42px}.bw-pay-now>span:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}.bw-pay-now b{font-size:14px}.bw-pay-now small{font-size:10px;color:#667085;margin-top:2px}.bw-pay-now>.fa-chevron-right{font-size:11px;color:#98a2b3}.bw-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.bw-quick-card{background:#fff;border:1px solid var(--bw-line);border-radius:20px;padding:16px;box-shadow:0 10px 28px rgba(16,24,40,.045)}.bw-quick-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#eff4ff;color:#155eef;margin-bottom:12px}.bw-quick-card small,.bw-quick-card strong,.bw-quick-card em{display:block}.bw-quick-card small{font-size:10px;color:#667085;font-weight:800}.bw-quick-card strong{font-size:14px;color:#101828;margin-top:3px;line-height:1.25}.bw-quick-card em{font-size:10px;color:#667085;font-style:normal;margin-top:4px}.bw-panel{background:#fff;border:1px solid var(--bw-line);border-radius:22px;padding:18px;margin:14px 0;box-shadow:0 10px 28px rgba(16,24,40,.045)}.bw-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.bw-panel-head .bw-eyebrow{color:#155eef;opacity:1}.bw-panel-head h2{font-size:18px;margin:0;color:#101828;font-weight:900;letter-spacing:-.025em}.bw-count-badge{font-size:10px;font-weight:900;color:#b54708;background:#fffaeb;border:1px solid #fedf89;border-radius:999px;padding:7px 9px}.bw-history-check{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#ecfdf3;color:#067647}.bw-bill-list,.bw-history-list{display:grid;gap:2px}.bw-bill-row,.bw-history-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #f2f4f7}.bw-bill-row:last-child,.bw-history-row:last-child{border-bottom:0}.bw-row-icon,.bw-history-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f8fafc;color:#475467}.bw-history-icon{background:#ecfdf3;color:#067647}.bw-row-copy strong,.bw-history-row strong{display:block;font-size:13px;color:#101828}.bw-row-copy small,.bw-history-row small{display:block;font-size:10px;color:#667085;margin-top:2px}.bw-bill-row>b,.bw-history-row>b{font-size:12px;color:#101828;white-space:nowrap}.bw-empty-history{padding:20px 8px;text-align:center;color:#98a2b3;font-size:12px;display:flex;flex-direction:column;gap:8px}.bw-empty-history i{font-size:20px}.bw-invoice-panel{padding:0;overflow:hidden}.bw-invoice-panel details>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:17px 18px;cursor:pointer}.bw-invoice-panel details>summary::-webkit-details-marker{display:none}.bw-summary-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f2f4f7;color:#475467}.bw-invoice-panel summary>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column}.bw-invoice-panel summary strong{font-size:14px;color:#101828}.bw-invoice-panel summary small{font-size:10px;color:#667085;margin-top:3px}.bw-summary-arrow{font-size:11px;color:#98a2b3;transition:.2s}.bw-invoice-panel details[open] .bw-summary-arrow{transform:rotate(180deg)}.bw-invoice-sheet{border-top:1px solid #eef2f6;padding:20px 18px}.bw-print-button{width:100%;margin-top:16px;border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:12px;padding:11px;font-weight:900;font-size:12px}.bw-secure-note{text-align:center;color:#667085;font-size:10px;margin:16px 0}.bw-secure-note i{color:#067647;margin-right:5px}.bw-bottom-nav{position:fixed;z-index:100;left:50%;bottom:12px;transform:translateX(-50%);width:min(calc(100% - 24px),656px);height:68px;border:1px solid #000;background:#050505;border-radius:22px;box-shadow:0 18px 45px rgba(0,0,0,.32);display:grid;grid-template-columns:repeat(4,1fr);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}.bw-bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#9ca3af!important;text-decoration:none!important;border-radius:15px;font-size:10px;font-weight:800;transition:.18s ease}.bw-bottom-nav a i{font-size:16px}.bw-bottom-nav a.active{background:#1b1b1b;color:#fff!important}.bw-bottom-nav a:active{background:#252525;color:#fff!important}.bw-appbar{max-width:680px}.bw-install-card{max-width:680px}
@media(max-width:640px){.bw-customer-dashboard{padding:0 2px 92px}.bw-wallet-card{border-radius:24px;padding:20px}.bw-wallet-top h1{font-size:19px}.bw-wallet-amount{margin-top:28px}.bw-wallet-amount strong{font-size:33px}.bw-status-pill{font-size:10px;padding:7px 9px}.bw-quick-card{padding:14px;border-radius:18px}.bw-panel{padding:16px;border-radius:20px}.bw-bottom-nav{bottom:8px}}
@media(max-width:420px){.bw-wallet-top{display:block}.bw-status-pill{margin-top:12px}.bw-wallet-amount strong{font-size:31px}.bw-quick-grid{gap:9px}.bw-quick-card strong{font-size:13px}.bw-bill-row,.bw-history-row{gap:8px}.bw-bill-row>b,.bw-history-row>b{font-size:11px}}
@media print{.bw-bottom-nav,.bw-wallet-card,.bw-quick-grid,.bw-panel:not(.bw-invoice-panel),.bw-secure-note,.bw-appbar,.bw-install-card{display:none!important}.bw-invoice-panel{border:0!important;box-shadow:none!important}.bw-invoice-panel details{display:block!important}.bw-invoice-panel details>summary{display:none!important}.bw-invoice-sheet{display:block!important;border:0!important;padding:0!important}}
.bw-journey-nav{position:fixed;z-index:120;left:50%;bottom:12px;transform:translateX(-50%);width:min(calc(100% - 24px),656px);height:68px;border:1px solid #000;background:#050505;border-radius:22px;box-shadow:0 18px 45px rgba(0,0,0,.32);display:grid;grid-template-columns:repeat(4,1fr);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}.bw-journey-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#9ca3af!important;text-decoration:none!important;border-radius:15px;font-size:10px;font-weight:800;transition:.18s ease}.bw-journey-nav a i{font-size:16px}.bw-journey-nav a.active{background:#1b1b1b;color:#fff!important}.bw-journey-nav a:active{background:#252525;color:#fff!important}.bw-journey-nav+script{}.content-wrapper1,.wrapper{padding-bottom:44px}@media(max-width:640px){.bw-journey-nav{bottom:8px}}

/* V5: install UI only on phone-sized touch devices. JS also enforces phone detection. */
html:not(.bw-phone) .bw-install-btn,html:not(.bw-phone) .bw-install-card{display:none!important}
@media (min-width:768px){.bw-install-btn,.bw-install-card{display:none!important}}


/* V7 - Multi akun pelanggan di perangkat */
.bw-account-panel{margin:14px 0 16px;background:#fff;border:1px solid #e4e7ec;border-radius:20px;padding:14px;box-shadow:0 8px 24px rgba(16,24,40,.06)}
.bw-account-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.bw-account-head div{min-width:0}.bw-account-head span{display:block;font-size:10px;font-weight:900;letter-spacing:.1em;color:#667085}.bw-account-head strong{display:block;color:#101828;font-size:17px}.bw-account-add{border:0;background:#111;color:#fff;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:900;white-space:nowrap}.bw-account-add i{margin-right:5px}
.bw-account-list{display:grid;gap:8px}.bw-account-item{position:relative;display:flex;align-items:stretch;border:1px solid #eaecf0;border-radius:15px;background:#f9fafb;overflow:hidden}.bw-account-item.current{border-color:#111;background:#fff}.bw-account-main{min-width:0;flex:1;border:0;background:transparent;display:flex;align-items:center;text-align:left;padding:10px 42px 10px 10px;gap:10px;color:#101828}.bw-account-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#111;color:#fff;flex:0 0 auto}.bw-account-copy{min-width:0;flex:1}.bw-account-copy strong,.bw-account-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bw-account-copy strong{font-size:13px}.bw-account-copy small{font-size:11px;color:#667085;margin-top:2px}.bw-account-main>i{color:#98a2b3;font-size:11px}.bw-account-remove{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:10px;background:transparent;color:#98a2b3}.bw-account-remove:hover{background:#fee4e2;color:#b42318}.bw-account-empty{display:flex;align-items:center;gap:9px;padding:11px;border:1px dashed #d0d5dd;border-radius:13px;color:#667085;font-size:12px}.bw-account-empty i{color:#111}
.bw-account-tip{margin:9px 2px 0;color:#667085;font-size:10.5px;line-height:1.45}.bw-account-tip i{margin-right:4px;color:#111}


/* V8 - compact account switcher, payment remains per customer number */
.bw-wallet-card{position:relative}
.bw-switch-account{position:absolute;right:18px;top:18px;z-index:2;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.16);color:#fff;border-radius:999px;padding:8px 10px;display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:900;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.bw-switch-account:active{background:rgba(0,0,0,.28)}
.bw-wallet-top{padding-top:34px}
.bw-account-sheet{position:fixed;inset:0;z-index:1000;pointer-events:none;visibility:hidden}
.bw-account-sheet.open{pointer-events:auto;visibility:visible}
.bw-account-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.48);opacity:0;transition:opacity .2s ease}
.bw-account-sheet.open .bw-account-sheet-backdrop{opacity:1}
.bw-account-sheet-card{position:absolute;left:50%;bottom:0;width:min(100%,680px);max-height:min(78vh,660px);overflow:auto;transform:translate(-50%,102%);transition:transform .24s ease;background:#fff;border-radius:26px 26px 0 0;padding:10px 16px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px rgba(0,0,0,.25)}
.bw-account-sheet.open .bw-account-sheet-card{transform:translate(-50%,0)}
.bw-sheet-handle{width:44px;height:5px;border-radius:999px;background:#d0d5dd;margin:2px auto 14px}
.bw-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.bw-sheet-head span{display:block;font-size:9px;letter-spacing:.1em;color:#667085;font-weight:900}.bw-sheet-head strong{display:block;font-size:20px;color:#101828;margin-top:2px}.bw-sheet-close{width:38px;height:38px;border:0;border-radius:12px;background:#f2f4f7;color:#344054}
.bw-account-list-sheet{display:grid;gap:9px;max-height:390px;overflow:auto;padding:1px}
.bw-sheet-add{width:100%;border:0;background:#050505;color:#fff;border-radius:14px;padding:13px 14px;margin-top:12px;font-size:12px;font-weight:900}.bw-sheet-add i{margin-right:6px}.bw-account-sheet-card>p{margin:10px 3px 0;text-align:center;color:#667085;font-size:10px;line-height:1.45}.bw-account-sheet-card>p i{color:#111;margin-right:4px}
body.bw-sheet-open{overflow:hidden}
@media(max-width:420px){.bw-switch-account{right:14px;top:14px;padding:7px 9px;font-size:9px}.bw-wallet-top{padding-top:38px}.bw-account-sheet-card{border-radius:24px 24px 0 0}}
@media(min-width:768px){
  .bw-wallet-top{padding-top:0;padding-right:150px}
  .bw-switch-account{display:inline-flex;right:18px;top:18px;background:rgba(0,0,0,.18)}
  .bw-account-sheet{display:block}
  .bw-account-sheet-backdrop{background:rgba(15,23,42,.18)}
  .bw-account-sheet-card{left:auto;right:max(24px,calc((100vw - 680px)/2));top:76px;bottom:auto;width:420px;max-height:min(70vh,620px);border-radius:22px;padding:14px 16px 18px;transform:translateY(-10px) scale(.98);opacity:0;transition:transform .18s ease,opacity .18s ease;box-shadow:0 24px 70px rgba(15,23,42,.24)}
  .bw-account-sheet.open .bw-account-sheet-card{transform:translateY(0) scale(1);opacity:1}
  .bw-sheet-handle{display:none}
  .bw-account-list-sheet{max-height:360px}
  .bw-mobile-account-panel{max-width:680px;margin-left:auto;margin-right:auto}
}

.bw-switch-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:2px;padding:0 5px;border-radius:999px;background:#fff;color:#111;font-size:9px;line-height:1;font-weight:900}
