/* ---------------------------------------------------------------------------
   The bar across the top. Three groups in a flexbox.
   --------------------------------------------------------------------------- */

.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 100;
  background-color: white;
  border-bottom: 1px solid #e5e7eb;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hamburger-icon {
  height: 25px;
  margin-left: 20px;
  cursor: pointer;
}

.youtube-logo {
  height: 20px;
  margin-left: 25px;
  margin-right: 20px;
  cursor: pointer;
}

.search-container {
  display: flex;
  flex: 1;
  max-width: 450px;
}

.search-bar {
  flex: 1;
  width: 0;
  height: 36px;
  font-size: 16px;
  padding-left: 10px;
  border: 1px solid #cccccc;
  border-radius: 2px 0 0 2px;
}

.search-bar::placeholder {
  color: #8c8c8c;
}

.search-button {
  width: 66px;
  height: 40px;
  background-color: #f8f8f8;
  border: 1px solid #cccccc;
  border-left: none;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s;
}

.search-button:hover {
  background-color: #f0f0f0;
}

.search-icon {
  height: 25px;
  margin-top: 3px;
}

.voice-button {
  width: 40px;
  height: 40px;
  margin-left: 10px;
  border: none;
  border-radius: 20px;
  background-color: #f8f8f8;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s;
}

.voice-button:hover {
  background-color: #e5e5e5;
}

.voice-icon {
  height: 20px;
  margin-top: 3px;
}

.header-right {
  margin-right: 20px;
}

.right-icons-button {
  margin-left: 6px;
  margin-right: 6px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.right-icon {
  height: 24px;
}

.right-channel-icon {
  height: 31px;
  border-radius: 16px;
}
