/* AI-Generated Code - 2026-08-19 - Composer */

/* Keep Developer Center in the normal floated header-right layout. */
#header:has(#umm-auth-chrome) .header-right,
#header:has(#umm-auth-chrome) .nav_item_right {
  margin-right: 52px;
}

/* While the account menu is open, don't open Developer Center underneath it. */
#header:has(#umm-auth-chrome:hover) .header-right .menu li#menu-item-2240:hover .sub-menu,
#header:has(#umm-auth-chrome:focus-within) .header-right .menu li#menu-item-2240:hover .sub-menu,
#header:has(#umm-auth-chrome:hover) .nav_item_right .menu li#menu-item-2240:hover .sub-menu,
#header:has(#umm-auth-chrome:focus-within) .nav_item_right .menu li#menu-item-2240:hover .sub-menu {
  display: none !important;
}

#umm-auth-chrome {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10001;
  transform: translateY(-50%);
  font-family: Montserrat, Roboto, "Segoe UI", sans-serif;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}

#umm-auth-chrome .umm-auth-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

#umm-auth-chrome .umm-auth-trigger svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

#umm-auth-chrome .umm-auth-popover {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  padding-top: 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 10002;
}

#umm-auth-chrome:hover .umm-auth-popover,
#umm-auth-chrome:focus-within .umm-auth-popover {
  display: block;
}

#umm-auth-chrome .umm-auth-popover-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 10px 12px;
  border: 1px solid #d7dbe0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

#umm-auth-chrome .umm-auth-who {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #28323a;
}

#umm-auth-chrome .umm-auth-out {
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #007cd2;
  border-radius: 3px;
  color: #007cd2;
  text-decoration: none;
}

#umm-auth-chrome .umm-auth-out:hover {
  background: #007cd2;
  color: #fff;
}

#umm-auth-chrome.umm-auth-chrome--bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  justify-content: flex-end;
  margin: 0;
  padding: 8px 20px;
  background: #1b1f24;
  transform: none;
}
