/* ============================================================
   V7 MASTER Global Header 1.1 – Centered Page Title
   Hivatalos közös felső sáv a belső oldalakhoz.
   Bal: rendszer neve | Közép: oldal neve | Jobb: állapot
   ============================================================ */
:root{
  --v7-header-height:48px;
  --v7-header-bg:rgba(255,255,255,.97);
  --v7-header-border:#dfe8e1;
  --v7-header-text:#0d1b14;
  --v7-header-green:#079447;
}
.v7-global-header{
  position:sticky;
  top:0;
  z-index:1200;
  min-height:var(--v7-header-height);
  height:var(--v7-header-height);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:18px;
  padding:0 16px;
  box-sizing:border-box;
  background:var(--v7-header-bg);
  border-bottom:1px solid var(--v7-header-border);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-family:'Urbanist',Arial,sans-serif;
}
.v7-global-header__identity{
  min-width:0;
  display:flex;
  align-items:center;
  justify-self:start;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v7-global-header__system{
  font-size:14px;
  line-height:1;
  font-weight:650;
  letter-spacing:-.12px;
  color:var(--v7-header-text);
}
.v7-global-header__page{
  justify-self:center;
  max-width:min(48vw,680px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
  font-size:24px;
  line-height:1;
  font-weight:650;
  letter-spacing:-.45px;
  color:#07131f;
}
.v7-global-header__actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.v7-global-header__status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:0 13px;
  border:1px solid #d6e3da;
  border-radius:11px;
  background:#fff;
  color:#08753b;
  font-size:12px;
  font-weight:550;
  box-shadow:0 2px 8px rgba(10,70,35,.04);
  white-space:nowrap;
}
.v7-global-header__dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#14a35b;
  box-shadow:0 0 0 3px rgba(20,163,91,.08);
}
.v7-global-header__icon{
  width:28px;
  height:28px;
  display:inline-grid;
  place-items:center;
  border:0;
  padding:0;
  background:transparent;
  color:#30453a;
  border-radius:8px;
  font-size:16px;
  cursor:default;
}
.v7-global-header__icon:hover{background:#f2f7f3}

/* A cím már a Global Headerben jelenik meg, ezért a régi nagy oldalcímet elrejtjük. */
body.v7-global-header-active .hero-title h1{display:none!important}
body.v7-global-header-active .hero-title{
  margin:14px auto 26px!important;
}
body.v7-global-header-active .hero-title .title-line{
  margin-top:0!important;
  margin-bottom:14px!important;
}

@media(max-width:900px){
  .v7-global-header{padding:0 12px;gap:10px}
  .v7-global-header__system{font-size:13px}
  .v7-global-header__page{font-size:19px;max-width:42vw}
}
@media(max-width:640px){
  .v7-global-header{
    grid-template-columns:34px minmax(0,1fr) 34px;
    height:46px;
    min-height:46px;
  }
  .v7-global-header__system{display:none}
  .v7-global-header__page{font-size:16px;max-width:100%}
  .v7-global-header__status{
    width:30px;
    min-height:30px;
    padding:0;
    justify-content:center;
    border-radius:9px;
  }
  .v7-global-header__status-text{display:none}
  .v7-global-header__actions{gap:0}
  .v7-global-header__icon{display:none}
}
