/* VirPhone dark header to match Yeti reference design */
#header {
  background: #12151c !important;
  background-image: none !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 2px 8px rgba(0,0,0,.35) !important;
  text-shadow: none !important;
  height: 26px;
  padding: 7px 0;
}
#header h1 {
  padding: 0 20px 0 20px;
}
#header a, #header a:link {
  color: #b8bfc9;
}
#header ul.tabs > li {
  margin-top: 2px;
  margin-bottom: 2px;
}
#header ul.tabs > li > a {
  color: #b8bfc9 !important;
  background: transparent !important;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  border-radius: 0 !important;
  padding: 6px 10px 6px 10px !important;
  transition: color .15s ease, border-color .15s ease;
}
#header ul.tabs > li.has_nested > a {
  background-image: none !important;
  padding-right: 18px !important;
}
#header ul.tabs > li.has_nested > a::after {
  content: "\25BE";
  font-size: .65em;
  margin-left: 5px;
  opacity: .7;
  vertical-align: middle;
}
#header ul.tabs > li:hover > a,
#header ul.tabs > li.has_nested:hover > a {
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
  border-bottom-color: rgba(59,130,246,.5);
}
#header ul.tabs > li.current > a {
  color: #fff !important;
  background: transparent !important;
  border-bottom-color: #3b82f6;
}
#header ul.tabs li ul {
  background: #1a1f2b !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.45) !important;
  border: 1px solid rgba(255,255,255,.08);
}
#header ul.tabs li ul li a {
  color: #c3c9d3 !important;
}
#header ul.tabs li ul li a:hover {
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
}

/* Utility nav: admin name, clock, theme toggle, logout — right aligned */
#header #utility_nav {
  color: #8b93a1;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
#header #utility_nav ul.tabs {
  display: flex;
  align-items: center;
  gap: 14px;
}
#header #utility_nav li {
  display: flex;
  align-items: center;
}
#header #utility_nav li > a,
#header #utility_nav li > span {
  color: #c3c9d3 !important;
  background: transparent !important;
  padding: 4px 2px !important;
  font-size: .92em;
}
#header #utility_nav li#current_user > a {
  font-weight: 600;
  color: #fff !important;
}
#vp-live-clock {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: .85em;
  letter-spacing: .02em;
  color: #9aa3b2;
  white-space: nowrap;
}
#vp-theme-toggle {
  cursor: pointer;
  font-size: 1.05em;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 50%;
  transition: background .15s ease;
}
#vp-theme-toggle:hover {
  background: rgba(255,255,255,.08);
}
#header #utility_nav li#logout > a {
  font-size: 0;
  padding: 4px 7px !important;
  border-radius: 50%;
  transition: background .15s ease;
  position: relative;
  display: inline-flex;
}
#header #utility_nav li#logout > a::before {
  content: "\23FB";
  font-size: 15px;
  color: #c3c9d3;
}
#header #utility_nav li#logout > a:hover {
  background: rgba(255,255,255,.08);
}
#header #utility_nav li#logout > a:hover::before {
  color: #fff;
}
