.header{
    height: 55px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    background-color:white;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color:rgb(228,228,228);
}
.left-section{
    display: flex;
    align-items: center ;
}
.hamburger-menu{
    height: 24px;
    margin-left: 24px;
    margin-right: 24px;
}
.youtube-logo{
    height: 20px;
}
.middle-section {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 70px;
    margin-right: 35px;
    max-width: 500px;
}
.search-bar{
    flex: 1;
    height: 36px;
    padding-left: 10px;
    font-size: 15px;
    border:1px solid rgb(191, 191, 191);
    border-radius: 120px;
    box-shadow: inset 1px 2px 3px rgba(0, 0, 0 ,0.05);
    width: 0;
}
.search-bar:focus {
    border: 1px solid  lightpink;
    outline: none;
}

.search-bar::placeholder{
    font-size: 16px;
}
.search-button{
    height: 39px;
    width: 66px;
    background-color: rgb(240,240,240);
    border-width: 1px;
    border-radius: 20px;
    border-style: solid;
    border-color: rgb(191, 191, 191);
    margin-left: -40px;
    margin-right: 10px;
    
   
}
.search-button,
.voice-search-button,
.upload-icon-container,
.youtube-apps-icon-container,
.notifications-icon-container
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.search-button .tooltip,
.voice-search-button .tooltip,
.upload-icon-container .tooltip,
.youtube-apps-icon-container .tooltip,
.notifications-icon-container .tooltip
{
    position: absolute;
    background-color: grey;
    color: white;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 2px;
    font-size: 12px;
    bottom: -30px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
}
.search-button:hover .tooltip,
.voice-search-button:hover .tooltip,
.upload-icon-container:hover .tooltip,
.youtube-apps-icon-container:hover .tooltip,
.notifications-icon-container:hover .tooltip
{
    opacity: 1;
}
.current-user-picture-container:hover{
    cursor: pointer;

}

.search-icon{
    height: 25px;
}
.voice-search-button{
     height: 40px; /*to make rounded corneres set border-readius to half of the height n width */
     width: 40px;
     border-radius:20px ;
     border: none;
     background-color: rgb(245,245,245);
}
.voice-search-icon{
    height: 24px;
}

.right-section{
    width: 180px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0; 
}
.upload-icon{
    height: 24px;
}
.youtube-apps-icon{
    height: 24px;
}
.notifications-icon{
    height: 24px;
}
.notifications-icon-container{
    position: relative;
}
.notifications-count{
    position: absolute;
    top: -2px;
    right: -5px;
    background-color: rgb(200, 0, 0);
    color: white;
    font-size: 11px;
    padding-top:2px ;
    padding-bottom: 2px;
    padding-right:5px;
    padding-left:5px;
    border-radius: 10px;

}

.current-user-picture{
    height: 32px;
    border-radius: 16px; 
    position: relative;   
}
.login-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 16px;
    z-index: 100;
    margin-top: 8px;
  }

  .login-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .login-form h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
  }

  .close-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #606060;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .login-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
  }

  .login-submit-button {
    width: 100%;
    padding: 10px;
    background: #065fd4;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
  }

  .form-footer {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
    color: #606060;
  }

  .form-footer a {
    color: #065fd4;
    text-decoration: none;
  }

  .hidden {
    display: none;
  }

