@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

*{
list-style: none;
text-decoration: none;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
scrollbar-width: none;
}

body{
background: #f5f6fa;
scrollbar-width: none;
}

.wrapper .sidebar{
background: #16213e;
position: fixed;
top: 0;
left: 0;
width: 225px;
height: 100%;
padding: 20px 0;
transition: all 0.5s ease;
}


.wrapper .sidebar ul li a{
display: block;
padding: 13px 30px;
border-bottom: 1px solid #10558d;
color: rgb(241, 237, 237);
font-size: 16px;
position: relative;
}

.wrapper .sidebar ul li a .icon{
color: #dee4ec;
width: 30px;
display: inline-block;
}



.wrapper .sidebar ul li a:hover,
.wrapper .sidebar ul li a.active{
color: #0c7db1;

background:white;
border-right: 2px solid rgb(5, 68, 104);
}

.wrapper .sidebar ul li a:hover .icon,
.wrapper .sidebar ul li a.active .icon{
color: #0c7db1;
}

.wrapper .sidebar ul li a:hover:before,
.wrapper .sidebar ul li a.active:before{
display: block;
}

.wrapper .section{
width: calc(100% - 225px);
margin-left: 225px;
transition: all 0.5s ease;
}

.wrapper .section .top_navbar{
background:#16213e;
height: 50px;
display: flex;
align-items: center;
padding-left: 5px;
}

.wrapper .section .top_navbar .hamburger a{
font-size: 28px;
color: #f4fbff;
}

.wrapper .section .top_navbar .a_notif{

  font-size: 22px;
  color: #f4fbff;
  margin-left: 10px;

}


.wrapper .section .top_navbar .hamburger a:hover{
color: #a2ecff;
}

.wrapper .info {
  width: calc(100% - 225px);
  margin-left: 225px;
  transition: all 0.5s ease;
  height: 100%;

}

#logo_picture{
  max-width: 200px;
  max-height: 50px;
}






body.active .wrapper .sidebar{
left: -225px;
}

body.active .wrapper .section{
margin-left: 0;
width: 100%;
position: static;
}

body.active .wrapper .info{
  margin-left: 0;
  width: 100%;
  }
  @media only screen and (min-width: 600px) {
#a_notif1 {
  margin-left: 80%;
}}


/* _______________________________________*/










.info{
    overflow: auto;
    margin-top: 0px;
    padding: 5px 0;

  }

/* *************BASE************* */



.info table{
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
  }

.info table tbody tr:nth-child(even){
    background-color: #16213e1e

  }

.info table thead th{
    height: 30px;
    background: #f7d55ac7 ;
    border: 0px;
    color: black;
    padding: 5px ;

  }
  
.info table tbody td #td_quant{
    max-width: 30px;
  }


.info table tbody td{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px ;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;

  }

  

.info table tbody td button{
    transition-duration: 0.4s;
    padding: 2px 4px;
    border-radius: 5px;
    border: 0.5px solid #161816ef;
    


  }

.info table tbody td button:hover{
    background-color: #0d568b; 
    color: white;

  }


  .search_box{
    margin: 5px 20px;
    padding: 10px 20px;


  }

  #search_input{
      padding: 10px;
      width: 400px;
  }

  .search_box button{
    padding: 10px;
    background: #0d578bec;
    color: #bdb8d7;
    border: 1px white solid;
  }



  .search_box button:hover{
    color: #fff;

  }


  
  #btn_ajouterproduit{
    
    margin-left: 30%;
  }


  .info table tbody td input{
    background: transparent;
    border: 0px;
    text-align: center;


  }

  .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    width: 400px;
    height: 500px;
    background-color: #16213e;

}

.popup-content {
    background-color: transparent;
    padding: 20px;
    border-radius: 5px;
    color: #bdb8d7;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}


#ajouter{
  width: 40%;
  background-color: #0d578bec;
  color: #bdb8d7;
  padding: 14px 20px;
  margin: 15px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 30%;
}

#ajouter:hover{
  color: white;
}

#close{
  color: red;
}

#btn_utiliser {

  background-color: rgba(255, 0, 0, 0.822); 
}

#notif{
  color: #f3f5f9;
}

#btn_s:hover{
  background-color: red;
}

#alert {
  padding: 20px;
  background-color: #f44336;
  color: white;
  border-radius: 5px;
  margin-bottom: 15px;
}

#closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

#closebtn:hover {
  color: black;
}



  
 .info .left_part{
  border-right: 1px solid black;
}

.info .infoDiv2{
  display: grid;
}
#confirmation{
  margin-top: 10px;
  margin-left: 75%;
  padding: 5px;
  background: #0d568b;
  color: #bdb8d7;
  border: 0px;
}
#confirmation:hover{
  color: white;
}

#cmd{
  color: #0d568b  ;
  font-size: larger;
  font-weight: bold;
  margin-bottom: 10px;
}

#total{
  margin-top: 10px;
  margin-left: 60%;
}
#valeur{
  margin-left: 60%; 
}

input[type=text],[type=number],[type=date],[type=email], select {
  width: 80%;
  padding: 12px 20px;
  margin: 8px 5px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

@media only screen and (max-width: 600px) {

  #a_notif1 {
    margin-left: 10%;
  }
}