/* =======================
   Header Container Styles
   ======================= */
.header{
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgb(222, 222, 222);
}

/* ===========================
   Left Section: Logo & Menu
   =========================== */
.left-section{
    display: flex;
    align-items: center;;
}
.icon-3tier{
    height:24px;
    margin-left: 25px;
    margin-right: 25px;
    cursor: pointer; 
}
.icon-youtube{
    height: 20px;
    cursor: pointer; 
}


/* ================================
   Middle Section: Search & Mic
   ================================ */
.Middle-section{
 flex: 1;
 margin-left: 60px;
 margin-right: 35px;
 max-width: 700px; 
 display: flex;
 align-items: center;
}
.search-bar::placeholder{
    font-size: 16px;
}
.search-bar{
    height: 40px;
    width: 0;
    flex: 1;
    font-size: 16px;
    padding-left: 12px;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    background-color: white;
    box-shadow: inset 0px 1px 3px rgba(238,238,238,0.9);
    border-color: rgb(192, 192, 192);
    box-sizing: border-box;
}
.icon-searchbutton{
    height: 40px;
    width: 64px;
    background-color: rgb(249, 249, 249);
    margin-left: -1px;
    border-width: 0.8px;
    border-color: rgb(204, 204, 204);
    margin-right: 8px;
    cursor: pointer;
    box-sizing: border-box;
    position:relative;

}
.search-icon{
    height: 25px;

}
.mic-icon{
    height: 25px;
    cursor: pointer; 
}


/* ================================
   Right Section: User Utilities
   ================================ */
.Right-section{
    margin-right: 25px;
    width: 180px;
    display: flex;
    flex-wrap: nowrap;;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    z-index: 100;
}

.icon-upload{
    height:25px;
    cursor: pointer; 
}
.icon-mychannel{
    height:25px;
    cursor: pointer;  
}
.icon-notification{
    height:25px;
    cursor: pointer;  
}
.icon-youtuberlogo{
    height:30px;
    border-radius: 50px;
    cursor: pointer;
}

/* ====================================
   Notification Badge (Unread Alerts)
   ==================================== */
.notification-count{
    position: absolute;
    top: -2px;
    right: -7px;
    background-color: rgb(204, 0, 0);
    color: white;
    font-size: 12px;
    padding: 1.5px 5px;
    border-radius: 80px;
    border-color: white;
    border: 2px solid white;
    cursor: pointer;
}


/* ==========================
   Icon Hover Tooltip Setup
   ========================== */
.icon-searchbutton,
.icon-voice-serach,
.div-icon-upload,
.div-icon-notification,
.div-icon-mychannel,
.div-icon-notification 
{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.icon-searchbutton .tool-tip,
.icon-voice-serach .tool-tip,
.div-icon-upload .tool-tip,
.div-icon-mychannel .tool-tip,
.div-icon-notification .tool-tip
{
    position:absolute;
    background-color: rgb(137, 137, 137);
    color: white;
    padding: 4px 6px;
    bottom: -35px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.icon-searchbutton:hover .tool-tip,
.icon-voice-serach:hover .tool-tip,
.div-icon-upload:hover .tool-tip,
.div-icon-mychannel:hover .tool-tip,
.div-icon-notification:hover .tool-tip
{
    opacity: 1;
}
.icon-voice-serach{
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border-style: none;
    background-color: rgb(248, 248, 248);
    align-items: center;
}
