@import '/assets/theme/theme.css';

#main_header{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 79px;
    border-bottom: 1px solid silver;
    z-index:2000;
    background-color:white;
    position:fixed;
}

.header_section{
    width: 95%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header_logo{
    display: flex;
    justify-content:start;
    align-items:center;
    width:20%;
}

.logo_image{
    height:70px;
    width:70px;
}

.header_search{
    display: flex;
    align-items: center;
    width: 40%;
    padding: 10px;
    border: 1px solid silver;
    border-radius: 20px;
    justify-content: center;
    gap: 10px;
}

.search_label{
    cursor: pointer;
    display: flex;
    color: var(--primary-color-1);
}

#search_input{
    width: 100%;
    border: none;
    outline: none;
    color:black;
}


.header_action{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
    position: relative;
    width:20%;
}

.header_button{
    background-color: white;
    display: flex;
    border: 1px solid var(--primary-color-1);
    border-radius: 50%;
    color: var(--primary-color-1);
    height: 2.5rem;
    width: 2.5rem;
    justify-content: center;
    align-items: center;
    font-size:20px;
}

.header_button:hover{
    cursor: pointer;
    color:white;
    background-color:var(--primary-color-1);
}



#header_dropdown {
    display:none;
    position: absolute;
    top: 50px;
    right: 3px;
    z-index: 1000;
}

.header_dropdown_card{
    display:flex;
    flex-direction: column;
    gap: 15px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    padding: 16px;
    box-sizing: border-box;
    text-align: center;
  }

.card_header {
    display: flex;
    justify-content: end;
    align-items: center;
    position: absolute;
    right: 15px;
  }
  
.close-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
  }
  
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

.username{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color-1);
    border-radius: 50%;
    color: white;
    transition: .5s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.email {
    font-size: 14px;
    color: #333;
  }


.greeting {
    font-size: 18px;
  }
  
  .account_link{
    display: block;
    padding: 8px;
    color: var(--primary-color-1);
    border: 2px solid var(--primary-color-1);
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
  }
  
.account_link:hover{
    background-color: var(--primary-color-1);
    color: white;
  }
.actions{
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  
  .billing_link,
  .logout_link{
    flex: 1;
    padding: 8px;
    font-size: 14px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background-color: var(--primary-color-1);
    color: white;
    text-decoration: none;
  }

  .billing_link:hover, .logout_link:hover {
    background-color: black;
  }
  
.header_hamberger{
    display:none;
    justify-content:center;
    align-items:center;
}

.header_hamberger_btn{
    display:flex;
    justify-content:center;
    align-items:center;
    background-color:white;
    border:1px solid var(--primary-color-1);
    height:2.5rem;
    width:2.5rem;
    border-radius:50%;
    font-size:20px;
    color:var(--primary-color-1);
    cursor:pointer;
} 

/* Tablets */
@media screen and (max-width: 1024px) {
    
    .header_search{
        display:none;
    }
    
    .header_hamberger{
        display:flex;
    }
    
    .header_notify{
        display:none;
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .header_search{
        display:none;
    }
    
    .header_hamberger{
        display:flex;
    }
    
    .header_notify{
        display:none;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .header_search{
        display:none;
    }
    
    .header_hamberger{
        display:flex;
    }
    
    .header_notify{
        display:none;
    }

}
  
  