*{
    padding: 0;
    margin: 0;
    
    font-family: sans-serif;
    scroll-behavior: smooth;

}
:root{
    --white_color:#ffffff;
    --icon_color:#0d47a1;
    --body_color: #f5f7fa;
    --black_color:#222222;
    --menu_color:#e3f2fd;
    --p_color:#0d47a1;
    --hover: #2c84e9;
    --box: #1e88e5;
    --row:#1e3a8a;
    --hover-row: #62a6f3;
    --p-table:#333333;
    --p-price:#001;
}
.dark{
    --p_color:#ffffff;
    --icon_color:#ffffff;
    --body_color: #001;
    --black_color:#222222;
    --menu_color:#123;
    --text_color:#007bff;
    --hover: #ffffff55;
    --box: #123;
    --row:#123;
    --hover-row: #ffffff55;
    --p-table:#ffffff;
    --p-price:#ffffff;
}
p ,span{
    color: #ffffff;
}
ul li i{
    color: var(--icon_color);
}
body{
    background-color: var(--body_color);
    display: flex;
    transition: .3s;
}
.image-man{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    flex-shrink: 0;
    
}
.image-man img{
    width: 100%;

}
.profile{
    display: flex;
    align-items: center;
    gap: 30px;
}
.profile h2{
    font-size: 20px;
    color: var(--p_color);
}



/* start aside */

aside .menu{
    background-color: var(--menu_color);
    width: 60px;
    height: 100vh;
    padding: 20px;
    overflow: hidden;
    transition: .5s;
}
aside  .menu.active{
    width: 260px;
}
ul{
    list-style: none;
    position: relative;
    height: 95%;
}
ul li a{
    display: block;
    text-decoration: none;
    padding: 10px ;
    margin: 6px 0;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 40px; 
    transition: .4s;
}
ul li a p{
    color:  var(--p_color) ;
}
ul li a:hover , ul li .active {
    background-color: var(--hover);
}
.log-out{
    position: absolute;
    bottom: 0px;
    width: 100%;
}
.log-out a{
    background-color: #b71c1c;
}

ul li a i{
    font-size: 30px;

}
.sswitch{
    position: absolute;
    bottom: 18%;
    
}


.switch {
    /* border: 2px solid rebeccapurple; */
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
}
.switch input {
    /* all: unset; */
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    background-color: #2185d6;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 30px;
    box-shadow: 0 0 0 rgba(33, 133, 214, 0);
    transition: all 0.4s ease;
}
.slider:hover {
    box-shadow: 0 0 15px rgba(33, 133, 214, 0.5);
}

.slider::before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 50%;
    left: 10%;
    bottom: 15%;
    box-shadow: inset 15px -4px 0px 15px #fdf906;
    background-color: #28096b;
    transition: all 0.4s ease;
    transform-origin: center;
  }
  .slider:hover::before {
    transform: rotate(45deg);
  }
  .clouds_stars {
    position: absolute;
    content: "";
    border-radius: 50%;
    height: 10px;
    width: 10px;
    left: 70%;
    bottom: 50%;
    background-color: #fff;
  
    transition: all 0.3s;
    box-shadow:
      -12px 0 0 0 white,
      -6px 0 0 1.6px white,
      0.3px 16px 0 white,
      -6.5px 16px 0 white;
    filter: blur(0.55px);
  }
  .switch input:checked ~ .clouds_stars {
    transform: translateX(-20px);
    height: 2px;
    width: 2px;
    border-radius: 50%;
    left: 80%;
    top: 15%;
    background-color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    box-shadow:
      -7px 10px 0 #fff,
      8px 15px 0 #fff,
      -17px 1px 0 #fff,
      -20px 10px 0 #fff,
      -7px 23px 0 #fff,
      -15px 25px 0 #fff;
    filter: none;
    animation: twinkle 2s infinite;
  }
  .switch input:checked + .slider {
    background-color: #28096b !important;
  }
  .switch input:checked + .slider::before {
    transform: translateX(100%);
    box-shadow: inset 8px -4px 0 0 #fff;
  }
  .switch input:checked + .slider:hover::before {
    transform: translateX(100%) rotate(-45deg);
  }


header{
    display: flex;
    align-items: center;
    margin-bottom:20px ;
    justify-content: space-between;
}
header i{
    font-size: 30px;
}
header .input {
  width: 100%;
  max-width: 220px;
  height: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid lightgrey;
  outline: none;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0px 0px 20px -18px;
}

.input:hover {
  border: 2px solid lightgrey;
  box-shadow: 0px 0px 20px -17px;
}

.input:active {
  transform: scale(0.95);
}

.input:focus {
  border: 2px solid #0080ff;
}


section{
    width: 100%;
    margin: 10px;

}
.open-bar{
    cursor: pointer;
    color: var(--icon_color);
}
.title-info{
    background-color: #2196f3;
    color: #ffffff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    margin: 10px 0;
}

.content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.content .box{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 150px;
    flex-basis: 150px;
    flex-grow: 1;
    border-radius: 8px ;
    transition: .3s;
    background-color: var(--box);
}
.content .box:hover{
    background-color: #1565c0;
}
.content .box i{
    font-size: 40px;
    color: var(--icon_color);
}
.content .box .data{
    text-align: center;
}
.content .box .data span{
    font-size: 30px; ;
}



/*////////////// table /////////////////*/

table{
    width: 100%;
    text-align: center;
    border-spacing: 8px; 
}
td,th{
    background-color: var(--row);
    height: 40px;
    border-radius: 8px ;
    transition: .3s;
    color: var(--p-table);
    font-size: 19px;
}
th{
    background-color: #2196f3;
    color: #ffffff;
}
td:hover{
    background-color: var(--hover-row);
}
.price,.count{
    padding: 6px;
    border-radius: 6px;
}
.price{
    background-color: #66ff00;
}
.count{
    background-color: #ffb300;
    color: var(--p-price);
}

.close_menu{
    display: none;
}

@media (max-width:700px){
    .close_menu{
        display:block;
        position: absolute;
        right: 5px;
        font-size: 25px;
    }
    aside .menu {
        background-color: var(--menu_color);
        width: 0px;
        height: 100vh;
        padding: 0px;
        overflow: hidden;
        transition: .5s ;
    }
    aside  .menu.active{
        width: 100%;
        position: fixed;

    }
    header .input {
        width: 100%;
        max-width: 156px;
        height: 5px;
    }
    .image-man {
        width: 42px;
        height: 42px;
    }
}