.header {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid rgba(216, 216, 216, 1);
  z-index: 100;
}

.left-section {
  display: flex;
  align-items: center;
}

.middle-section {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 70px;
  margin-right: 35px;
  max-width: 500px;
}

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

.search-bar::placeholder {
  font-family: Roboto, Arial;
}

.search-button,
.voice-button,
.upload {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
}

.search-button {
  height: 35px;
  margin: 0 5px;
}

.voice-button {
  height: 32px;
  border-radius: 50%;
}

.tooltip {
  font-family: Roboto, Arial;
  font-size: 12px;
  font-weight: 700;
  background-color: gray;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  position: absolute;
  bottom: -30px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  white-space: nowrap;
}

.search-button:hover .tooltip,
.voice-button:hover .tooltip,
.upload:hover .tooltip {
  opacity: 1;
}

.search,
.voice,
.video {
  height: 24px;
}

.voice {
  border-radius: 30px;
}

.right-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  flex-shrink: 0;
}

.menu {
  height: 30px;
  margin-left: 20px;
  margin-right: 15px;
}

.icon {
  height: 60px;
}

.choose {
  height: 20px;
}

.logo {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 20px;
}

.bell {
  height: 30px;
}

.notifications {
  position: relative;
}

.notification-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: white;
  font-family: Roboto, Arial;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 10px;
}

/* Responsive Header */
@media (max-width: 600px) {
  .middle-section {
    margin-left: 10px;
    margin-right: 10px;
  }

  .search-bar {
    font-size: 14px;
  }

  .right-section {
    width: auto;
    gap: 8px;
  }

  .tooltip {
    display: none;
  }
}
