*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
     font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.fa-laptop{
    color: #fff;
    text-shadow: 1px 2px 1px #000
}
 tr a{
    color: #000;
 }
:root{
    --white:#fff;
    /* --blue:#21a528; */
    --blue:#f3c932;
    --black1:#333;
    --black2:#999;
    --grey:#f5f5f5;
    --red:#b70505;
    --green:#04880f;
}
html{
    /* for arbic */
    direction: rtl;
}
body{
    min-height: f100vh;
}
/* my change*/
.from1{
    padding-right: 20px;
    font-size: 20px;
  }
  .container{
   
  }
  /* end my change*/
/* the rule for main button */
.btn{
    position: relative;
    padding: 7px 13px;
    color: var(--white);
    background: var(--blue);
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}
.oheader img{
    height: 110px;
}
.no1{
  display: block;
    margin: -30px 8px;
    width: 32px;
    padding: 9px;
    border-radius: 50%; 
}
.btn:hover{
    background-color: var(--white);
    color: var(--black1);
    border: 2px solid var(--blue);
}
.container{
    position: relative;
    width: 100% !important;
    padding: 0px !important;
}
.nav{
    position: fixed;
    width: 300px;
    height: 100%;
    background: #f3c932;
     /* for arbic */
    border-right: 10px solid #f3c932;
    transition: .5s;
    overflow: hidden;
}
.nav.shreenk{
    width: 80px;
}
.nav ul{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}
.nav ul li{
    list-style: none;
    position: relative;
    width: 100%;
    font-size: 22px;
    margin-top: 10px;
    /* for english
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px; */
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.nav ul li:nth-child(1){
    margin-bottom: 40px;
    position: relative;
    display: block;
    white-space: nowrap;
    padding:0 6px;
    margin-top: 60px;
   /* margin-right: -50px;*/
}
.nav ul li:nth-child(1) a{
   display: inline;
       text-shadow: 1px 2px 3px #000;
}
.nav ul li:nth-child(1) span{
    display: inline-block;
    width: 60px;
    height: 45px;
}
.nav ul li:nth-child(1) span img{
   width: 108%;
    height: 138%;

}


.nav ul li.hovered{
    background: #fff;
}
.nav ul li > a{
    position: relative;
    display: flex;
    width: 100%;
    text-decoration: none;
    color: #fff;
}
.nav ul li.hovered a{
    color: #f3c932 !important;
}
.nav ul li a .icon{
    position: relative;
    min-width: 60px;
    height: 60px;
    line-height: 60px;
    display: block;
    text-align: center;
    font-size: 1.75em;
}
.nav ul li a .title{
    position: relative;
    display: block;
    height: 60px;
    line-height: 60px;
    white-space: nowrap;
    padding: 0 10px;
}
.nav ul li.hovered a::before{
    content: '';
    position: absolute;
     /* for arbic */
    left: 0;
    top: -50px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: transparent;
     /* for english */
      /* box-shadow: 35px 35px 0 10px var(--white); */
    box-shadow: -35px 35px 0 10px var(--white);
    pointer-events: none;
}
.nav ul li.hovered a::after
{
    content: '';
    position: absolute;
     /* for arbic */
    left: 0;
    bottom: -50px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: transparent;
     /* for english */
      /* box-shadow: 35px -35px 0 10px var(--white); */
    box-shadow: -35px -35px 0 10px var(--white);
    pointer-events: none;
}
/* start the serch bar  */
.topbar{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px;
    position: fixed;
    inset: 0;
    z-index: 3;
}
.toggle{
    position: relative;
    top: 0;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    cursor: pointer;
}
.search{
    position: relative;
    width: 400px;
    margin: 0 10px;
}
.search label{
    position: relative;
    width: 100%;
}
.search label input{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    padding: 5px 20px;
    outline: none;
    border: 1px solid var(--black2);
    padding-left: 35px;
    font-size: 15px;
}
.search label i{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.2em;
}
.user{
    position: relative;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
}
.user img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
/* end the serch bar  */
.main{
    position: relative;
    width: calc(100% - 300px);
     /* for arbic */
    right: 300px;
    background: var(--white);
    transition: .5s;
   /* height: 100vh;*/
    padding-top: 60px;
}
.main.active{
    width: calc(100% - 80px);
     /* for arbic */
    right: 80px;
}
.main h2{
   font-size: 2rem;
   padding:20px 30px;
   color: #f3c932;
}

.cardBox{
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap:nowrap;
    grid-gap:20px;
}
.cardBox .card{
    border: 1px solid rgba(0,0,0,0.08);
    padding: 20px;
    background: var(--white);
    box-shadow:-10px 7px 7px rgba(0,0,0,0.08);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.cardBox .card .cardNumber a{
 font-size: 22px !important;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    color: #f3c932;
    top: -5px;
}
.cardBox .card a .cardNumber {
 font-size: 22px !important;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    color: #f3c932;
    top: -5px;
}

.card .cicon{
    font-size: 3.2em;
    color: var(--black2);
}
.card:hover{
    background: var(--blue);
}
.cardBox .card:hover .cardNumber a,
.cardBox .card:hover .icon{
    color: var(--white);
}

/*details the main container for the tables*/
.details{
    position: relative;
    width: 100%;
    padding: 20px;
    display: flex;
    grid-gap: 30px;
    margin-top:10px ;
}
/*the bigest table container*/
.details .recentO{
    position: relative;
    flex: 1;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
    border-radius: 20px;
}
.oheader h3{
    font-weight: 600;
    color: #f3c932;
    font-size: 1.7rem;
}
h3,h2,h1,h4,h5,h6{
   
    color: #f3c932;
    font-weight: bold;

}

.details table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.details table thead{
    font-weight: 600;
}
.details .recentO table tr{
    color: var(--black1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border: 1px solid #000;
}
.details .recentO table tr:last-child{
    border-bottom: none;
}
.details .recentO table tbody tr:hover{
    background: var(--blue);
    color: var(--white);
}
.details .recentO table tr td{
     border: 1px solid #000 !important;
    padding: 10px;
   
}
table tr td{
   border: 1px solid #000 !important; 
}
.details .recentO table tr td:last-child{
    text-align: end;
    display: flex;
    gap: 5px;
    border: 1px solid #000;

}
.details .recentO table tr td span{
    cursor: pointer;
    padding: 7px 10px;
    color: var(--white);
    border-radius: 7px;
 
}
.update{
        top: 31px;
}



.details .recentO table tr td span:nth-child(1){
    /*background-color: var(--green);*/
    text-decoration: none;
    
}
.details .recentO table tr td span a{
    text-decoration: none;
    color: var(--white);
}
.details .recentO table tr td span:hover{
    background: var(--grey);
    color: var(--black1);}
     .details .recentO table tr td span:hover a{
        color: var(--black1);}
.recentCustomers{
    position: relative;
    padding: 20px;
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
    border-radius: 20px;
    background: var(--white);
}
.recentCustomers .imgBx{
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.recentCustomers .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.recentCustomers table tr:hover{
    background: var(--blue);
    color: var(--white);
}
.recentCustomers table tr td{
    padding: 12px 10px;
}
.recentCustomers table tr h4{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
}
.recentCustomers table tr  span{
    font-size: 14px;
    color: var(--black2);
}
.recentCustomers table tr:hover h4 span{
    color: var(--grey);
}
/* =========form ==============*/
.form-container{
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    padding: 10px 25px;
}
.form-container .input-box{
    display: flex;
    padding: 10px;
}
.form-container .input-box label{
    text-align: right;
    font-size: 20px;
    min-width: 113px;
    color: var(--black1);
}
.form-container .input-box input,
.form-container .input-box textarea{
    min-width:350px ;
    height: 40px;
    border-radius: 10px;
    outline: none;
    border: 1px solid var(--black2);
    font-size: 1.2rem;padding: 10px;
    
}
.form-container .input-box textarea{
    height: inherit;}
.input-box button{
    width: 40px;
    height: 40px;
    margin-right: 10px;
    cursor: pointer;
}
.form-container .btn{
    width: 100px;
    height: 50px;
    padding: 10px;
    margin: 20px;
    align-self: flex-end;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}
.container-login{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    text-align: center;
    background-color: #f3c932;

}
.container-login > div{
  background-color: #fff;
  padding: 30px;
  padding-top: 50px;
  border-radius: 10px;
  color: var(--blue);
  box-shadow:  0px 15px 30px hsla(210, 30%, 32%, 0.05);
}
.container-login h3{
    font-size: 1.7rem;
}

/* =========media==============*/
@media (max-width:991px){
    .nav{
        /* for arbic */
        right: -300px;
    }
    .nav.shreenk{
        width: 300px;
        /* for arbic */
        right: 0;
    }
    .main{
        width: 100% !important;
        /* for arbic */
        right: 0;
    }
    .main.active{
        /* for arbic */
      right: -91px;
    }\
    .cardBox {
    width: 100%;
     margin-right: 89px !important;
    }
    .cardBox .card{
    margin-right: 89px !important; 
    }
    .graphBox{
        grid-template-columns: 1fr;

    }
    .cardBox{
        grid-template-columns: repeat(2,1fr);
    }
}
@media print{
    .details{
        margin-top: -20px !important;
    }
    .topbar{
    display: none !important;
}
.print{
 display: none !important;
}
.container .details{
    margin-top: -100px;
   
  
}
.hide{
    display: none !important;
}

}
@media (max-width:768px){
    .details{
        grid-template-columns: repeat(1,1fr);
    }
    .recentCustomers{
        overflow-x: auto;
    }
}
@media (max-width:480px){
    .cardBox{
        grid-template-columns: repeat(1,1fr);
    } 
    .oheader h2 {
        font-size: 20px;
    }
.user{
    min-width: 40px;
}
.nav{
    width: 100%;
    /* for arbic */
    right: -100%;
    z-index: 111;
}
.nav.shreenk{
    width: 100%;
    /* for arbic */
    right: 0;
}
.toggle{
    z-index: 115;
}
.main.active .toggle{
    position: fixed;
    /* for arbic */
    left: 0;
     /* for arbic */
    right: initial;
    color: #fff;
}
}