.bnav-container{display:none}
.bnav-container.bnav-visivel{display:flex}
.bnav-container{
position:fixed;
left:0;right:0;
bottom:0;
z-index:850;
height:calc(64px + env(safe-area-inset-bottom,0px));
padding-bottom:env(safe-area-inset-bottom,0px);
background:linear-gradient(180deg,#13243f 0%,#0c1830 60%,#0a1428 100%);
border-top:1px solid rgba(74,158,218,0.18);
border-radius:18px 18px 0 0;
box-shadow:0 -8px 24px rgba(0,0,0,0.45),
0 -1px 0 rgba(255,255,255,0.04) inset;
align-items:stretch;
justify-content:space-around;
font-family:'Barlow',sans-serif;
-webkit-tap-highlight-color:transparent;
}
body.tema-claro .bnav-container{
background:linear-gradient(180deg,#1a3a6b 0%,#0d2347 100%);
border-top-color:rgba(255,255,255,0.10);
box-shadow:0 -6px 20px rgba(26,58,107,0.30),
0 -1px 0 rgba(255,255,255,0.06) inset;
}
.bnav-item{
flex:1;
background:none;
border:none;
padding:6px 4px 8px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:3px;
cursor:pointer;
font-family:inherit;
color:rgba(220,232,250,0.62);
position:relative;
transition:transform 0.12s ease,color 0.18s ease;
min-width:0;
}
.bnav-item:active{transform:scale(0.92)}
.bnav-item-icon{
width:24px;height:24px;
display:flex;align-items:center;justify-content:center;
flex-shrink:0;
}
.bnav-item-icon svg{
width:100%;height:100%;
stroke:currentColor;
fill:none;
stroke-width:1.9;
stroke-linecap:round;
stroke-linejoin:round;
}
.bnav-item-label{
font-size:10.5px;
font-weight:800;
letter-spacing:0.02em;
white-space:nowrap;
line-height:1;
color:inherit;
}
.bnav-item.ativo{color:#7cc4ff}
.bnav-item.ativo .bnav-item-label{color:#ffffff;font-weight:900}
.bnav-item.ativo::before{
content:'';
position:absolute;
top:0;left:50%;transform:translateX(-50%);
width:34px;height:3px;
background:linear-gradient(90deg,#4a9eda,#7cc4ff);
border-radius:0 0 3px 3px;
box-shadow:0 0 10px rgba(124,196,255,0.55);
}
.bnav-item.ativo .bnav-item-icon{
filter:drop-shadow(0 0 6px rgba(124,196,255,0.45));
}
.bnav-item.bnav-destaque{position:relative}
.bnav-item.bnav-destaque .bnav-item-icon{
width:46px;height:46px;
margin-top:-16px;
border-radius:50%;
background:radial-gradient(circle at 30% 30%,#3aa0e8 0%,#1f6db0 55%,#13456f 100%);
box-shadow:0 4px 12px rgba(31,109,176,0.55),
0 0 0 3px rgba(13,30,58,0.95),
inset 0 1px 0 rgba(255,255,255,0.30);
color:#ffffff;
}
.bnav-item.bnav-destaque .bnav-item-icon svg{width:24px;height:24px;stroke-width:2.1}
.bnav-item.bnav-destaque .bnav-item-label{color:#a8d8ff;font-weight:900;margin-top:2px}
.bnav-item.bnav-destaque:active .bnav-item-icon{
transform:scale(0.94);
box-shadow:0 2px 6px rgba(31,109,176,0.55),
0 0 0 3px rgba(13,30,58,0.95),
inset 0 1px 0 rgba(255,255,255,0.30);
}
.bnav-item.bnav-destaque.ativo .bnav-item-icon{
background:radial-gradient(circle at 30% 30%,#5cb8f5 0%,#2a85cf 55%,#1a5a8e 100%);
box-shadow:0 4px 14px rgba(92,184,245,0.65),
0 0 0 3px rgba(13,30,58,0.95),
inset 0 1px 0 rgba(255,255,255,0.40);
}
.bnav-item.bnav-destaque.ativo::before{display:none}
body.tema-claro .bnav-item.bnav-destaque .bnav-item-icon{
box-shadow:0 4px 12px rgba(0,0,0,0.30),
0 0 0 3px #1a3a6b,
inset 0 1px 0 rgba(255,255,255,0.30);
}
#tela-menu.ativa,
#tela-estoque.ativa{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
#tela-lista-os.ativa{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
#tela-vistas.ativa{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
#tela-precificacao.ativa{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
#tela-financeiro.ativa{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
body.bnav-home-ativa .btn-voltar-float{
bottom:calc(82px + env(safe-area-inset-bottom,0px));
}
.bnav-sheet-overlay{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,0.55);
z-index:9100;
backdrop-filter:blur(2px);
-webkit-backdrop-filter:blur(2px);
align-items:flex-end;
justify-content:center;
}
.bnav-sheet-overlay.aberto{display:flex;animation:bnavFadeIn 0.18s ease}
@keyframes bnavFadeIn{from{opacity:0}to{opacity:1}}
.bnav-sheet{
width:100%;
max-width:640px;
background:#0e1a2e;
border-radius:22px 22px 0 0;
padding:14px 14px calc(20px + env(safe-area-inset-bottom,0px));
box-shadow:0 -10px 40px rgba(0,0,0,0.55);
font-family:'Barlow',sans-serif;
animation:bnavSlideUp 0.24s ease;
border-top:1px solid rgba(74,158,218,0.20);
}
body.tema-claro .bnav-sheet{
background:#ffffff;
border-top:1px solid #d0d8e4;
}
@keyframes bnavSlideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.bnav-sheet-handle{
width:42px;height:4px;
background:rgba(255,255,255,0.20);
border-radius:4px;
margin:0 auto 10px;
}
body.tema-claro .bnav-sheet-handle{background:#cbd5e1}
.bnav-sheet-titulo{
font-size:11px;
font-weight:900;
color:#7aaad6;
text-transform:uppercase;
letter-spacing:0.12em;
text-align:center;
margin-bottom:14px;
}
body.tema-claro .bnav-sheet-titulo{color:#1a3a6b}
.bnav-sheet-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
}
.bnav-sheet-tile{
background:rgba(255,255,255,0.04);
border:1.5px solid rgba(74,158,218,0.20);
border-radius:14px;
padding:14px 8px 12px;
display:flex;
flex-direction:column;
align-items:center;
gap:8px;
cursor:pointer;
font-family:inherit;
color:#e6edf3;
transition:transform 0.12s,background 0.15s;
-webkit-tap-highlight-color:transparent;
}
.bnav-sheet-tile:active{
transform:scale(0.96);
background:rgba(74,158,218,0.12);
}
body.tema-claro .bnav-sheet-tile{
background:#f4f7fb;
border-color:#d0d8e4;
color:#1a3a6b;
}
body.tema-claro .bnav-sheet-tile:active{background:#e7eef7}
.bnav-sheet-tile-icon{
width:30px;height:30px;
display:flex;align-items:center;justify-content:center;
color:#4a9eda;
}
body.tema-claro .bnav-sheet-tile-icon{color:#1a3a6b}
.bnav-sheet-tile-icon svg{
width:100%;height:100%;
stroke:currentColor;fill:none;
stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
}
.bnav-sheet-tile-label{
font-size:11.5px;
font-weight:800;
text-align:center;
line-height:1.15;
letter-spacing:0.01em;
}
.bnav-sheet-fechar{
width:100%;
margin-top:14px;
background:rgba(255,255,255,0.06);
border:1.5px solid rgba(255,255,255,0.10);
color:#e6edf3;
border-radius:12px;
padding:11px;
font-size:13px;
font-weight:800;
cursor:pointer;
font-family:inherit;
}
body.tema-claro .bnav-sheet-fechar{
background:#f4f7fb;
border-color:#d0d8e4;
color:#1a3a6b;
}
.bnav-sheet-fechar:active{opacity:0.7}
@media print{
.bnav-container,.bnav-sheet-overlay{display:none !important}
}
#tela-vistas > .header #btnAdminTopo{
color:#1a1f2e !important;
}
body.tema-claro #tela-vistas > .header #btnAdminTopo{
color:#ffffff !important;
}
#tela-vistas > .header #btnAdminTopo:active,
body.tema-claro #tela-vistas > .header #btnAdminTopo:active{
color:#93c5fd !important;
}