*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: arial ,sans-serif;
    scroll-behavior:smooth;
   
}

body{
    background-color:#e9e9e1;
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



#container{
    background-color: #fafaf6;
    padding: 40px 15px 150px 15px;
    margin: 15px 15px 15px 250px;
    border-radius: 10px;
    box-shadow: rgb(165, 165, 165) 0px 3px 10px ;
    
}
#scroll{
    background-color:#a2a278;
    position: fixed;
    height: 40px;
    width: 40px;
    border-radius: 25px;
    border: none;
    box-shadow: #727374 0px  1px 10px 0px;
    z-index: 10;
    right:15px;
    bottom: 25px;
    cursor: pointer;
    display: none;
  }

#navbar{
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 250px;
    height: 100%;
    text-align: center;
    align-items: center;
    padding: 0 15px;
}
#navbar h1{
 margin:30px 0 50px 0;   
}

#user{
    width: 100%;
    height: 60px;
    background-color:#fafaf6;
    display: inline-flex;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid rgb(207, 207, 207);
}
#user:hover{
    transform:scale(1.01);
    cursor: pointer;
}
#user-img{
    width: 40px;
    height: 40px;
    display: flex;
    align-self: center;
    margin-right:10px;
    margin-left: 5px;
    border-radius: 50%;
    overflow: hidden;
}
#user img{
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}
#user-detail{
    display: flexbox;
    margin: auto 0;
}
#user h2, #user p{
    font-family:poppins;
    display: flex ;
    line-height: 15px;
    align-items: center;
}
#user h2{
    font-size: 13px;

}
#navbar hr{
    margin: 40px 0;
    width: 90%;
    justify-self: center;
}


#navbar a{  
    color: black;
    text-decoration: none ;
}
#navbar ul {
    font-family:poppins;
    margin-left:0px;
    text-align: left;
    list-style: none;
}
#navbar ul li{
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    height: 35px;
    display: flex;
    padding-left: 5px;
    border-radius: 3px;
    align-items: center;
}
#navbar ul li:hover{
    background-color:#d8d8ce;
    cursor: pointer;
}
#active-li{
    background-color:#d8d8ce;
}

a:visited{
    color: black;
}


#user p{
    font-size: 10px;
    color: gray;
    font-weight:lighter;
}

#header{
    text-align: center;
    text-transform: uppercase;
    margin: 0px 0 ;
}
#header h1{
    margin-bottom: 30px;
}
#nav-section i {
    margin-right: 5px;
}
#nav-section h3{
    color: rgb(77, 77, 77);
    font-size: 15px;
    margin: 15px 0 ;
    text-align: left;
    font-weight: 300;
    margin-left: 10px;
}


input{
    height: 40px;
    width: 100%;
    margin:5px 0 ;
    padding: 5px;
    font-size:0.8rem;
    border-radius: 5px;
    border: none;
    outline: none;
    background-color:#d8d8ce;
    letter-spacing: 1px;

}
input:focus{
    letter-spacing: 1px;
    background-color:#b8b8ae;
    scale:1.01;
    transition: 0.3s;
}
input:hover{
    scale:1.01;
    transition: 0.3s;
}

#prices{
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: center;
}
#prices input{
    flex: 1;
    min-width: 0;
    width:20%;
    margin-right: 5px;
}
#total{
    vertical-align: middle;
    padding:8px 3px;
    background-color: red;
    border-radius: 5px;
    font-weight: 600;
    width: auto ;
}
#total::before{
    content:'Total : ';
 }

 button{
    height: 40px;
     width: 100%;
     background-color: #98b846;
     border-radius: 5px;
     border: none;
     outline: none;
     margin: 5px 0;
     text-transform: uppercase;
     font-weight: 600;
     font-size:0.9rem;
     letter-spacing: 0.5px;
     transition: 0.5s;
     cursor: pointer;
 }
 #delete{
    background-color: #dc3545;
    color: #ffffff;
 }
 #update{
    background-color: #28a745;
    color: #ffffff;
 }
 #delete:hover{
    background-color: #800020;
 }
 #update:hover{
    background-color:#218838;
 }
 button:hover{
    letter-spacing: 1px;
    background-color: rgb(105, 124, 12);
 }
 #searchby{
    display: flex;
    justify-content: space-between;
 }
 #searchby button{
    width: 49%;
 }

 table{
    margin: 10px 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    
    
 }
 
table th {
    text-transform: uppercase;
    font-family: poppins !important;
    letter-spacing: 1px;

}
th , td{
    padding: 5px;
}

th   {
    border-bottom: 1px solid rgb(91, 91, 91);   
}
 #update:hover , #delete:hover{
    letter-spacing: 0;
 }