/* Add-ons for topbar (main layout lives in assets/css/main.css) */

/* Center logo sizing */
.topbar__center-logo{
  height:56px;
  width:auto;
  display:block;
}

.topbar__quicklinks{
  display:none;
}

/* Auth UI (Bonjour + initiales) */
.topbar__user{
  display:flex;
  align-items:center;
  gap:8px;
  margin-right:4px;
  padding:0;
}
.topbar__account{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
}
.topbar__impersonation{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28);
  max-width:420px;
}
.topbar__impersonation-label{
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.topbar__impersonation-stop{
  background:rgba(255,255,255,.94) !important;
  color:var(--navy) !important;
  border-color:rgba(255,255,255,.95) !important;
  font-weight:800 !important;
  font-size:12px !important;
  padding:6px 10px !important;
  min-height:auto !important;
}
.topbar__impersonation-stop:hover{
  filter:brightness(.98);
}
.topbar__greeting{
  color:#fff;
  font-weight:400;
  font-style:italic;
  font-size:15px;
  letter-spacing:.05px;
  opacity:.9;
  white-space:nowrap;
}
.topbar__initials{
  width:32px;
  height:32px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
  border:1px solid rgba(255,255,255,.38);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.4px;
  cursor:pointer;
}

/* Logout: rouge + texte blanc (force override) */
.topbar__logout{
  background:var(--red) !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#fff !important;
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  z-index:40;
  white-space:nowrap;
}
.topbar__logout:hover{filter:brightness(.95);}

@media (max-width:980px){
  .topbar__impersonation-label{max-width:180px;}
}
