@import './variables.scss';

.sc-header {
  background: $threeBoxBlack;
  min-height: 60px;

  border-top-left-radius: $windowBorderRadius;
  border-top-right-radius: $windowBorderRadius;
  padding: 10px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-header--img {
  align-self: center;
  padding: 0 6px;
}

.sc-header--right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sc-header-updateProfile {
  color: white;
  opacity: .6;
  font-size: 13px;
  margin-right: 6px;
}

.sc-header--img.default {
  margin: 0;
  width: 28px;
  height: auto;
}

.sc-header--team-name {
  padding: 10px 8px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.sc-header--team-name_text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .3px;
  color: white;
  margin: 0 12px 0 0;
}

.sc-header_details {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.sc-header--team-name_membersOnline {
  font-size: 13px;
  color: white;
  opacity: .6;
  padding-top: 1px;
  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
}

.sc-header--team-name_membersOnline.active {
  text-decoration: underline;
}

.sc-header--close-button {
  width: 40px;
  align-self: center;
  height: 40px;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 5px;
}

.sc-header--close-button:hover {
  background-color: rgba(255, 255, 255, 0.153);
}

.sc-header--close-button svg {
  width: 100%;
  height: 100%;
  padding: 13px;
  box-sizing: border-box;
}

@media (max-width: 450px) {
  .popupChat .sc-header {
    border-radius: 0px;
  }
}