/* Safank Platform Messenger — blue/navy brand look (loaded last; appearance only) */
:root{--sf-blue:#1677ff;--sf-navy:#0d1b36;--sf-navy2:#13254a;--sf-green:#1e9e4a;--sf-red:#e5383b;--wa-green:#1677ff;--wa-dark:#0d1b36;--wa-mine:#dbe9ff;--wa-bg:#eef3fa}
body .app{background:#f4f7fb}
body .topbar{background:var(--sf-navy)!important}
body .brand b{letter-spacing:.2px}
body .new-chat,body .send{background:var(--sf-blue)!important}
body .search{background:#eef3fa!important;border-radius:20px!important}
body .person.active{background:#e8f1ff!important}
body .chatHead{background:#fff!important}
body .call-btn.audio{color:var(--sf-green)!important}
body .call-btn.video{color:var(--sf-blue)!important}
body .messages{background-image:none!important}
body .bubble.mine{background:var(--wa-mine)!important}
body .bottom-nav a svg{width:21px;height:21px;display:block;margin:0 auto}
body .bottom-nav a.active{color:var(--sf-blue)!important}
html[data-theme=dark] body .app,body.dark .app{background:#0b1220}
/* Desktop: left navy rail like the design */
@media(min-width:901px){
 body .app{padding-left:232px}
 body .bottom-nav{position:fixed!important;left:0;top:0;bottom:0;width:232px;height:auto!important;flex-direction:column;justify-content:flex-start;gap:4px;padding:84px 14px 20px;background:var(--sf-navy)!important;border:0!important;z-index:600}
 body .bottom-nav::before{content:"Safank Platform";background-image:url("/core/brand/platform-mark.webp?v=34");background-size:34px 34px;background-repeat:no-repeat;background-position:left center;padding-left:44px;min-height:34px;display:flex;align-items:center;position:absolute;top:24px;left:22px;color:#fff;font-weight:800;font-size:18px;letter-spacing:.3px}
 body .bottom-nav a{display:flex!important;align-items:center;gap:14px;padding:11px 14px!important;border-radius:10px;color:#c7d2e6!important;font-size:15px!important;min-width:0!important;text-align:left}
 body .bottom-nav a svg{margin:0}
 body .bottom-nav a span{font-size:15px!important;margin:0!important;display:inline}
 body .bottom-nav a:hover{background:var(--sf-navy2)}
 body .bottom-nav a.active{background:var(--sf-blue)!important;color:#fff!important;font-weight:600}
 body .topbar .back{display:none}
}
/* Incoming / active call — navy card with round buttons */
body .call-overlay{background:rgba(6,14,30,.7)!important}
body .call-window{background:linear-gradient(180deg,#13254a,#0b1730)!important;border-radius:22px!important}
body .audio-stage img{box-shadow:0 0 0 6px rgba(22,119,255,.25),0 0 0 14px rgba(22,119,255,.1)!important;animation:sfPulse 1.8s ease-in-out infinite!important}
body .ctrl{width:64px!important;height:64px!important;border-radius:50%!important;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:22px;position:relative;margin-bottom:20px}
body .ctrl span{position:absolute;top:70px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px!important;color:#e2e8f3!important}
body .ctrl.accept{background:var(--sf-green)!important}
body .ctrl.end,body .ctrl.reject{background:var(--sf-red)!important}
@keyframes sfPulse{50%{box-shadow:0 0 0 10px rgba(22,119,255,.2),0 0 0 22px rgba(22,119,255,.06)}}
