/* /src/repoHeader.css */

#repoHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 46px;
  background: #0b57d0;
  color: white;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 6px 10px;
  z-index: 20000;

  font-family: system-ui, sans-serif;
}

#repoHeader select,
#repoHeader button {
  height: 30px;
  border: none;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  cursor: pointer;
}

#repoHeader select {
  background: #fff;
  color: #111;
}

#repoHeader button {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

#repoHeader button:hover {
  background: rgba(255,255,255,0.28);
}


/* ------------------------------
   USER PROFILE
------------------------------ */

#repoUser {
  margin-left: auto;
  position: relative;
}

#repoUserAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

#repoUserAvatar:hover {
  background: rgba(255,255,255,0.35);
}

#repoUserMenu {
  position: absolute;
  right: 0;
  top: 38px;

  background: #ffffff;
  color: #111;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  min-width: 140px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);

  display: flex;
  flex-direction: column;
  z-index: 20001;
}

#repoUserMenu.hidden {
  display: none;
}

#repoUserMenu .item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

#repoUserMenu .item:hover {
  background: #f3f4f6;
}