/* ===== ZX Topbar — unified white topbar (shared across pages) ===== */
.navbar.zx-topbar{background:#ffffff!important;border-bottom:1px solid #e9ecef!important;box-shadow:0 2px 8px rgba(0,0,0,0.06)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;height:56px!important;position:sticky;top:0;z-index:100;font-family:'Outfit',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
body[data-theme="light"] .navbar.zx-topbar,
[data-theme="light"] .navbar.zx-topbar{background:#ffffff!important;border-bottom:1px solid #e9ecef!important}
.zx-topbar-inner{max-width:1200px;margin:0 auto;padding:0 24px;height:56px;display:grid;grid-template-columns:260px 544px 300px;column-gap:24px;align-items:center}
.zx-topbar-left{display:flex;align-items:center;justify-content:flex-start;min-width:0}
.zx-topbar-nav{display:flex;align-items:center;justify-content:center;gap:2px;min-width:0}
.zx-topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:2px;min-width:0}
.zx-topbar-logo{height:40px;cursor:pointer;display:block;flex-shrink:0}
.zx-nav-link{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:10px;color:#adb5bd;text-decoration:none;font-size:14px;font-weight:500;transition:background .2s,color .2s;white-space:nowrap;font-family:inherit}
.zx-nav-link svg{width:18px;height:18px;stroke-width:2;flex-shrink:0}
.zx-nav-link:hover{background:#f1f3f5;color:#868e96}
.zx-nav-link.active{background:#f1f3f5;color:#868e96}
.zx-nav-sep{width:1px;height:18px;background:#e9ecef;flex-shrink:0;margin:0 2px}
.zx-icon-btn{background:transparent;border:none;cursor:pointer;padding:8px;border-radius:10px;color:#adb5bd;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s;position:relative;width:36px;height:36px;text-decoration:none}
.zx-icon-btn:hover{background:#f1f3f5;color:#868e96}
#zxLabBtn{padding:5px}
.zx-user.user-menu{position:relative;margin-left:6px}
.zx-avatar.user-avatar{width:37px!important;height:37px!important;border-radius:50%!important;cursor:pointer;display:block;object-fit:cover;border:2px solid #adb5bd}
.zx-notif-wrap{position:relative}
.navbar.zx-topbar .notification-badge{position:absolute!important;top:0!important;right:0!important;background:#e03131!important;color:#ffffff!important;font-size:9px!important;font-weight:700!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;aspect-ratio:1/1!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;border:none!important;box-shadow:0 0 0 2px #ffffff!important;box-sizing:border-box!important;overflow:hidden!important;flex-shrink:0!important}
.navbar.zx-topbar .user-menu-dropdown{position:absolute;right:0;top:calc(100% + 8px);background:#ffffff;border:1px solid #e9ecef;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,0.1);min-width:240px;padding:0;overflow:hidden;font-family:Arial,sans-serif;font-size:14px;color:#868e96;letter-spacing:normal;display:none;z-index:200}
.navbar.zx-topbar .user-menu.open .user-menu-dropdown{display:block}
.navbar.zx-topbar .user-menu-dropdown *{font-family:Arial,sans-serif;letter-spacing:normal;box-sizing:border-box}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-user{padding:16px;border-bottom:1px solid #e9ecef;border-left:3px solid #B2D235;line-height:1.6}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-name{font-size:18px;font-weight:700;color:#868e96;line-height:1.2}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-email{font-size:12px;color:#adb5bd;margin-top:2px;font-weight:400;line-height:1.6}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;background:none;border:none;border-radius:0;font-size:14px;font-weight:500;line-height:normal;color:#868e96;text-decoration:none;text-align:left;cursor:pointer;transition:background .15s;font-family:Arial,sans-serif}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-item:hover{background:#f8f9fa;color:#868e96}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-item.zx-danger:hover{background:#f8f9fa;color:#e03131}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-item svg{width:16px;height:16px;stroke:currentColor;flex-shrink:0}
.navbar.zx-topbar .user-menu-dropdown .profile-menu-divider{height:1px;background:#e9ecef;margin:0}
.navbar.zx-topbar .user-menu-dropdown .zx-google{margin:12px 16px;width:calc(100% - 32px);display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;background:#fff;border:1px solid #e9ecef;border-radius:8px;color:#868e96;font-size:14px;cursor:pointer}
.navbar.zx-topbar .user-menu-dropdown .zx-google:hover{background:#f8f9fa}
/* Responsive — below 1200 the feed collapses, so the topbar follows */
@media (max-width:1199px){
  .zx-topbar-inner{grid-template-columns:auto 1fr auto;column-gap:16px}
}
@media (max-width:900px){
  .zx-nav-link span{display:none}
  .zx-nav-link{padding:8px 10px}
}
@media (max-width:480px){
  .zx-topbar-inner{padding:0 12px;column-gap:8px}
  .zx-topbar-logo{height:32px}
  .zx-icon-btn{width:34px;height:34px;padding:7px}
  .zx-topbar-nav{gap:0}
  .zx-nav-link{padding:7px 6px}
  .zx-nav-link svg{width:20px;height:20px}
}
