
/* EFLIS COMMON HEADER 12.6.3.40 */
:root{--efl-head:#155a86;--efl-head-dark:#10486e;--efl-home:#e6f3fb;--efl-home-text:#123f62}
#applicationScreen>.app-header,.topbar{
  box-sizing:border-box!important;height:74px!important;min-height:74px!important;
  margin:0!important;padding:0 28px!important;background:var(--efl-head)!important;
  border:0!important;border-bottom:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 3px 12px rgba(16,64,96,.14)!important;
}
#applicationScreen>.app-header .app-header-inner,.topbar{
  width:100%!important;max-width:none!important;height:74px!important;min-height:74px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
}
.efl-header-brand,.topbar .brand{display:flex!important;align-items:center!important;gap:13px!important;height:74px!important}
.efl-header-logo,.topbar .brand>img{
  box-sizing:border-box!important;width:58px!important;height:58px!important;min-width:58px!important;
  max-width:58px!important;max-height:58px!important;object-fit:contain!important;margin:0!important;
  padding:3px!important;border-radius:50%!important;background:rgba(255,255,255,.13)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.22),0 3px 10px rgba(0,30,55,.16)!important;
}
.efl-header-copy,.topbar .brand>div{display:flex!important;flex-direction:column!important;justify-content:center!important;line-height:1.08!important}
#eflLocationLabel,.club-location{
  order:0!important;display:block!important;margin:0 0 4px!important;color:#dcecf7!important;
  font-size:10px!important;font-weight:800!important;letter-spacing:1px!important;text-transform:uppercase!important;
}
.efl-header-copy>b,.topbar .brand b{
  order:1!important;color:#fff!important;font-size:16px!important;font-weight:850!important;letter-spacing:.15px!important;
}
#eflModuleLabel,.topbar .brand span:last-child{
  order:2!important;margin-top:3px!important;color:#dcecf7!important;font-size:11px!important;font-weight:650!important;
}
#eflTopActions,.top-actions{display:flex!important;align-items:center!important;gap:9px!important;margin-left:auto!important}
#eflTopActions button,.top-actions button{
  box-sizing:border-box!important;height:40px!important;min-width:106px!important;margin:0!important;padding:0 18px!important;
  border-radius:9px!important;font:800 13px/1 Arial,sans-serif!important;box-shadow:none!important;transform:none!important;
}
#systemHubButton,.top-actions #homeBtn{
  background:var(--efl-home)!important;color:var(--efl-home-text)!important;border:1px solid #c7dfef!important;
}
#logoutButton,.top-actions #logoutBtn{
  background:var(--efl-head-dark)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;
}
#systemHubButton.hidden{display:none!important}
#efl-global-logo,#efl-global-logo-style,.app-logo-wrap{display:none!important}
body.efl-system-hub #eflLocationLabel{display:none!important}
@media(max-width:700px){
 #applicationScreen>.app-header,.topbar{height:66px!important;min-height:66px!important;padding:0 10px!important}
 #applicationScreen>.app-header .app-header-inner,.topbar,.efl-header-brand,.topbar .brand{height:66px!important;min-height:66px!important}
 .efl-header-logo,.topbar .brand>img{width:50px!important;height:50px!important;min-width:50px!important}
 .efl-header-copy>b,.topbar .brand b{font-size:13px!important}
 #eflLocationLabel,.club-location{font-size:8px!important}
 #eflModuleLabel,.topbar .brand span:last-child{font-size:9px!important}
 #eflTopActions,.top-actions{gap:5px!important}
 #eflTopActions button,.top-actions button{height:36px!important;min-width:76px!important;padding:0 9px!important;font-size:11px!important}
}

/* 12.6.3.42: admin üst menü görünürlük düzeltmesi */
body.efl-admin-active #eflTopActions { display:flex !important; }
body.efl-admin-active #systemHubButton:not(.hidden) { display:inline-flex !important; align-items:center !important; justify-content:center !important; }

/* 12.6.3.43: deterministic top navigation */
#systemHubButton.hidden,#systemHubButton[hidden]{display:none!important}
#systemHubButton:not(.hidden):not([hidden]){display:inline-flex!important;align-items:center!important;justify-content:center!important}

/* 12.6.3.46: kesin header davranışı */
body.efl-system-hub #systemHubButton {
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.efl-header-logo,.topbar .brand>img {
  background:rgba(255,255,255,.88) !important;
  padding:4px !important;
  border:1px solid rgba(255,255,255,.96) !important;
  box-shadow:0 2px 9px rgba(8,42,67,.22) !important;
}
