/*
 * NFS Intelligence Hub — Portal Shell v6.53.1
 * Jedan namespaced Old Money header za javne stranice portala.
 * Ne dira sadržaj stranica ni produkcijske podatke.
 */
:root{
  --nfs-shell-green-950:#061d16;
  --nfs-shell-green-900:#0a291f;
  --nfs-shell-green-800:#12392b;
  --nfs-shell-cream:#fff7e8;
  --nfs-shell-cream-2:#efe1c8;
  --nfs-shell-gold:#d6a653;
  --nfs-shell-gold-2:#b17a34;
  --nfs-shell-bronze:#815425;
  --nfs-shell-ink:#24180d;
}
html{scroll-padding-top:92px}
body.nfs-shell-page{--nfs-shell-header-height:76px}

#nfs-portal-header.nfs-portal-header{
  position:sticky!important;
  top:0!important;
  z-index:214748000!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid rgba(214,166,83,.30)!important;
  background:
    radial-gradient(circle at 8% -80%,rgba(214,166,83,.20),transparent 34%),
    linear-gradient(135deg,rgba(6,29,22,.985),rgba(10,41,31,.975))!important;
  color:var(--nfs-shell-cream)!important;
  box-shadow:0 16px 42px rgba(3,17,13,.24)!important;
  backdrop-filter:blur(20px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(125%)!important;
}
#nfs-portal-header *{box-sizing:border-box}
#nfs-portal-header .nfs-shell-inner{
  width:min(1380px,calc(100% - 32px))!important;
  min-height:76px!important;
  margin:0 auto!important;
  padding:9px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
}
#nfs-portal-header .nfs-shell-brand{
  min-width:176px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  color:var(--nfs-shell-cream)!important;
  text-decoration:none!important;
  flex:0 0 auto!important;
}
#nfs-portal-header .nfs-shell-brand img{
  width:46px!important;
  height:46px!important;
  max-width:46px!important;
  max-height:46px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.26))!important;
}
#nfs-portal-header .nfs-shell-brand-copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
#nfs-portal-header .nfs-shell-brand strong{
  margin:0!important;
  color:var(--nfs-shell-cream)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:22px!important;
  line-height:.9!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}
#nfs-portal-header .nfs-shell-brand span{
  color:#d9c7a6!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:8px!important;
  line-height:1.1!important;
  font-weight:850!important;
  letter-spacing:.19em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
#nfs-portal-header .nfs-shell-menu-toggle{
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:9px 14px!important;
  border-radius:999px!important;
  border:1px solid rgba(214,166,83,.38)!important;
  background:rgba(255,247,232,.08)!important;
  color:var(--nfs-shell-cream)!important;
  font:850 10px/1 Inter,system-ui,sans-serif!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
}
#nfs-portal-header .nfs-shell-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
#nfs-portal-header .nfs-shell-link,
#nfs-portal-header .nfs-login-compact,
#nfs-portal-header .nfs-profile-compact,
#nfs-portal-header .nfs-member-chip,
#nfs-portal-header .nfs-logout-compact,
#nfs-portal-header .nfs-notifications-bell{
  min-height:34px!important;
  padding:8px 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border-radius:999px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  color:#eadcc4!important;
  box-shadow:none!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
#nfs-portal-header .nfs-shell-link:hover,
#nfs-portal-header .nfs-shell-link[aria-current="page"]{
  background:rgba(214,166,83,.13)!important;
  border-color:rgba(214,166,83,.26)!important;
  color:#ffe7ad!important;
  transform:translateY(-1px)!important;
}
#nfs-portal-header .nfs-shell-community{
  background:linear-gradient(135deg,#f0cc82,#b77d35)!important;
  border-color:rgba(255,231,173,.38)!important;
  color:#092219!important;
  box-shadow:0 9px 20px rgba(0,0,0,.18)!important;
}
#nfs-portal-header .nfs-shell-community:hover{background:linear-gradient(135deg,#f6d996,#c28a43)!important;color:#061d16!important}
#nfs-portal-header #header-auth{display:flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important}
#nfs-portal-header .nfs-login-compact,
#nfs-portal-header .nfs-profile-compact{
  background:rgba(255,247,232,.09)!important;
  border-color:rgba(214,166,83,.28)!important;
  color:var(--nfs-shell-cream)!important;
}
#nfs-portal-header .nfs-member-chip{
  background:rgba(214,166,83,.16)!important;
  border-color:rgba(214,166,83,.34)!important;
  color:#f5d28d!important;
}
#nfs-portal-header .nfs-notifications-bell{
  position:relative!important;
  background:rgba(255,247,232,.08)!important;
  border-color:rgba(214,166,83,.28)!important;
  color:#f1cc7d!important;
}
#nfs-portal-header .nfs-logout-compact{
  background:rgba(129,84,37,.18)!important;
  border-color:rgba(214,166,83,.18)!important;
  color:#dec8a4!important;
}
#nfs-portal-header .nfs-login-compact:hover,
#nfs-portal-header .nfs-profile-compact:hover,
#nfs-portal-header .nfs-member-chip:hover,
#nfs-portal-header .nfs-notifications-bell:hover,
#nfs-portal-header .nfs-logout-compact:hover{
  transform:translateY(-1px)!important;
  background:rgba(214,166,83,.17)!important;
  border-color:rgba(214,166,83,.38)!important;
  color:#ffe7ad!important;
}
#nfs-portal-header .nfs-notifications-count{
  min-width:17px!important;
  height:17px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:#d6a653!important;
  color:#061d16!important;
  font-size:9px!important;
  font-weight:950!important;
}
#nfs-portal-header .nfs-notifications-count[hidden]{display:none!important}

@media(max-width:1180px){
  #nfs-portal-header .nfs-shell-menu-toggle{display:inline-flex!important;margin-left:auto!important}
  #nfs-portal-header .nfs-shell-inner{flex-wrap:wrap!important;gap:10px!important}
  #nfs-portal-header .nfs-shell-nav{
    order:3!important;
    width:100%!important;
    max-height:0!important;
    overflow:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    padding:0!important;
    transform:translateY(-7px)!important;
    transition:max-height .26s ease,opacity .18s ease,transform .18s ease,padding .18s ease!important;
  }
  #nfs-portal-header.is-menu-open .nfs-shell-nav{
    max-height:520px!important;
    opacity:1!important;
    pointer-events:auto!important;
    padding:8px 0 3px!important;
    transform:translateY(0)!important;
  }
  #nfs-portal-header .nfs-shell-link,
  #nfs-portal-header #header-auth,
  #nfs-portal-header #header-auth>*{width:100%!important}
  #nfs-portal-header #header-auth{grid-column:1/-1!important}
  #nfs-portal-header #header-auth .nfs-auth-compact{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;gap:7px!important}
}
@media(max-width:760px){
  #nfs-portal-header .nfs-shell-inner{width:min(100% - 22px,1380px)!important;min-height:68px!important;padding:8px 0!important}
  #nfs-portal-header .nfs-shell-brand{min-width:0!important}
  #nfs-portal-header .nfs-shell-brand img{width:41px!important;height:41px!important}
  #nfs-portal-header .nfs-shell-brand strong{font-size:20px!important}
  #nfs-portal-header .nfs-shell-brand span{font-size:7px!important;letter-spacing:.15em!important}
  #nfs-portal-header .nfs-shell-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #nfs-portal-header #header-auth .nfs-auth-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #nfs-portal-header .nfs-shell-link,
  #nfs-portal-header .nfs-login-compact,
  #nfs-portal-header .nfs-profile-compact,
  #nfs-portal-header .nfs-member-chip,
  #nfs-portal-header .nfs-logout-compact,
  #nfs-portal-header .nfs-notifications-bell{min-height:38px!important;font-size:9px!important;padding:9px 8px!important}
}
@media(max-width:390px){
  #nfs-portal-header .nfs-shell-brand span{display:none!important}
  #nfs-portal-header .nfs-shell-nav,
  #nfs-portal-header #header-auth .nfs-auth-compact{grid-template-columns:1fr!important}
}
