/* Forum BUMDes Indonesia V24: primary navigation theme.
   CSS-only replacement for V23; no PHP or database changes. */
:root{--fbi-nav-primary:#07543b;--fbi-nav-primary-dark:#053b2b;--fbi-nav-gold:#f2cf7a}
/* Public top navigation and dashboard top navigation */
.bd-nav,.bd-app-header{background:var(--fbi-nav-primary)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}
.bd-nav .bd-brand,.bd-nav .bd-brand-text,.bd-nav .bd-brand-text strong,.bd-nav .bd-nav-item,.bd-nav .bd-nav-login,.bd-app-header,.bd-app-header h2,.bd-app-header .bd-app-kicker,.bd-app-header .bd-app-user,.bd-app-header .bd-app-website{color:#fff!important}
.bd-nav .bd-brand-text small{color:#d7e9df!important}
.bd-nav .bd-brand-mark{color:var(--fbi-nav-gold)!important}
.bd-nav .bd-nav-item:hover,.bd-nav .bd-nav-item:focus-visible,.bd-nav .bd-nav-login:hover{color:var(--fbi-nav-gold)!important}
.bd-nav .bd-nav-register{background:var(--fbi-nav-gold)!important;color:var(--fbi-nav-primary-dark)!important;border-color:var(--fbi-nav-gold)!important}
.bd-nav .bd-menu-toggle{border-color:rgba(255,255,255,.4)!important;color:#fff!important}
.bd-nav .bd-menu-toggle span{background:#fff!important}
.bd-app-header .bd-sidebar-toggle{color:#fff!important;border-color:rgba(255,255,255,.28)!important}
.bd-app-header .bd-app-website,.bd-app-header .bd-app-user{border-color:rgba(255,255,255,.22)!important}
.fbi-mobile-bottom{display:none}
@media(max-width:767.98px){
 body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
 .fbi-mobile-bottom{position:fixed;z-index:1050;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:stretch;gap:2px;min-height:66px;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px));background:var(--fbi-nav-primary)!important;border-top:1px solid rgba(255,255,255,.2);box-shadow:0 -7px 28px rgba(6,59,43,.23)}
 .fbi-mobile-bottom__item{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 2px;border-radius:12px;color:#e2f0e8!important;text-decoration:none!important;font-size:10px;font-weight:650;line-height:1.2;text-align:center;transition:background .15s,color .15s}
 .fbi-mobile-bottom__item i{font-size:21px;line-height:1.1;color:inherit!important}
 .fbi-mobile-bottom__item span{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
 .fbi-mobile-bottom__item:hover{color:#fff!important;background:rgba(255,255,255,.1)}
 .fbi-mobile-bottom__item.is-active{color:var(--fbi-nav-primary-dark)!important;background:var(--fbi-nav-gold)!important}
 .fbi-mobile-bottom__item:focus-visible{outline:2px solid var(--fbi-nav-gold);outline-offset:-2px}
 .bd-nav .bd-nav-links{background:var(--fbi-nav-primary)!important}
}
@media(min-width:768px){.fbi-mobile-bottom{display:none!important}}

/* V25 high-specificity overrides for actual app markup */
html body .bd-nav,html body .bd-app-header,html body .brand-nav{background-color:#07543b!important;background-image:none!important;color:#fff!important}
html body .bd-nav .bd-nav-links,html body .bd-nav.bd-nav-open .bd-nav-links{background-color:#07543b!important}
html body .bd-nav .bd-nav-item,html body .bd-nav .bd-brand,html body .bd-app-header a,html body .bd-app-header button{color:#fff!important}
@media(max-width:767.98px){html body nav.fbi-mobile-bottom{background:#07543b!important;background-image:none!important}html body nav.fbi-mobile-bottom a.fbi-mobile-bottom__item{color:#e2f0e8!important}html body nav.fbi-mobile-bottom a.fbi-mobile-bottom__item.is-active{background:#f2cf7a!important;color:#053b2b!important}html body nav.fbi-mobile-bottom a.fbi-mobile-bottom__item i{color:inherit!important}}

/* V26 Android full-primary navigation: no white background in top/bottom bars. */
:root{color-scheme:light;--fbi-nav-primary:#07543b;--fbi-nav-gold:#f2cf7a}
html,body{overflow-x:clip}
html body .bd-nav,html body .bd-nav-inner,html body .bd-app-header,html body .bd-app-header-left,html body .bd-app-header-actions{background-color:#07543b!important;background-image:none!important}
html body .bd-nav a:not(.bd-nav-register),html body .bd-nav .bd-brand-text,html body .bd-nav .bd-brand-text strong,html body .bd-app-header,html body .bd-app-header i,html body .bd-app-header a{color:#fff!important}
html body .bd-nav .bd-nav-register{background:#f2cf7a!important;color:#053b2b!important}
@media(max-width:767.98px){
 html body .bd-nav,html body .bd-nav-inner,html body .bd-nav-links,html body .bd-app-header{background:#07543b!important;box-shadow:none}
 html body .bd-nav .bd-nav-links a:not(.bd-nav-register){color:#fff!important}
 html body .bd-nav .bd-menu-toggle,html body .bd-app-header .bd-sidebar-toggle{background:transparent!important;color:#fff!important}
 html body nav.fbi-mobile-bottom{background:#07543b!important;border:0!important;border-top:1px solid rgba(255,255,255,.17)!important;border-radius:0!important;box-shadow:0 -4px 16px rgba(0,0,0,.16)!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;padding-bottom:calc(7px + env(safe-area-inset-bottom,0px))!important}
 html body nav.fbi-mobile-bottom .fbi-mobile-bottom__item{background:transparent!important;color:#eaf7f0!important}
 html body nav.fbi-mobile-bottom .fbi-mobile-bottom__item i,html body nav.fbi-mobile-bottom .fbi-mobile-bottom__item span{color:inherit!important}
 html body nav.fbi-mobile-bottom .fbi-mobile-bottom__item.is-active{background:#f2cf7a!important;color:#053b2b!important}
 html body nav.fbi-mobile-bottom .fbi-mobile-bottom__item:focus-visible{outline:2px solid #f2cf7a}
}
