.body{
    margin: 0px;
    background-color: rgb(247, 244, 244);

}


/* menu bar1 */
body {
    margin: 0;
    font-family: sans-serif;
}

.menu-btn {
    cursor: pointer;
    border: none;
    background: none;
}

.menu-btn:hover {
    width: 40px;
    height: 40px;
    background-color: #ffffff27;
    border-radius: 10px;
}

.sidebar {
    position: fixed;
    display: flex;
    flex-direction: column;
    text-align: right;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    transition: 0.3s;
    z-index: 1000;
    font-family: 'Vazirmatn', sans-serif;
    border-radius: 5px;
}

.sidebar-sar{
    display: flex;
    align-items:center ;
    justify-content:space-between ;
    border-bottom: 1px solid #ccc; /* خط خاکستری نازک */
    padding: 10px;
    padding-bottom: 0px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    
}

.close-btn {
    /* position: absolute; اینا رو ببن چه میکنن؟ */
    /* top: 10px;
    left: 15px; */
    font-size: 24px;
    font-weight: bold;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

.sidebar a {
    display: block;
    padding: 15px;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.sidebar a:hover {
    background: #444;
}



.overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}


/* پیام سایت در صفحه اول */
.payamsite1{
display: flex;
flex-direction: column;
align-items: flex-end;
padding: 15px;
margin: 10px;
background: linear-gradient(135deg, #ffffff, hsla(221, 100%, 50%, 0.144));
border-radius: 12px;
border: 1px solid rgba(45, 102, 226, 0.192);
}

.payamtitle1{
   font-size: 24px; 
   font-family: 'Vazirmatn', sans-serif;
   margin: 0px;
}

.payamtitle2{
   font-size: 14px; 
   font-family: 'Vazirmatn', sans-serif;
   margin: 0px;
}

.payambutton1{
    font-size: 15px;
    color: aliceblue;
    font-family: 'Vazirmatn', sans-serif;
    margin-top: 10px;
    padding: 8px;
    padding-left:20px ;
    padding-right:20px ;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    border:none;
}

/* دسترسی سریع سایت */
.dastresisare1{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0px 10px 0px 10px;
    margin-top: 25px;
}
.dastresibox1{
    flex: 1 1 200px;
    justify-items: end;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;   /* برای انیمیشن هاور نرم */
}

.dastresibox1:hover { /* هاور باکس دسترسی سریع */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-5px);  /* حرکت ریز به بالا */
}

.dastresilogo1{
    width: 45px;
    height: 45px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #508dbe47;
    font-size: 20px;
    display: flex;
    justify-content: center; /* وسط افقی */
    align-items:start;     /* وسط عمودی */
    
}
.dastresititle1{
    font-size: 30px;
    color: rgba(0, 0, 0, 0.925);
    font-family: Vazirmatn , sans-serif;
    font-weight: bold;
}

.dastresititle2{
    font-size: 15px;
    color: rgba(0, 0, 0, 0.473);
    font-family: 'Vazirmatn', sans-serif;
}

/* نفرات برتر  */
.bartarnafar{
    justify-items: end;
    background: #ffffff;
    border-radius: 9px;
    padding: 20px; 
    margin: 10px;
    margin-top: 20px;
}

.bartarnafarcontiner{
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
     gap: 20px;

}
.bartarnafarbox{
   display: flex;
   flex-direction: column;
   align-items: center;
   border: 1px solid rgba(45, 102, 226, 0.192) ;
   border-radius: 12px;
   padding: 30px;
   gap: 10px;

}

.bartarnafarbox:hover { /* هاور باکس  نفرات برتر */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-5px);  /* حرکت ریز به بالا */
}

.bartarnafarpic{
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border: 2px solid rgba(45, 102, 226, 0.192);
    border-radius: 100px;
}

/*  فعالیت‌های اخیر  */
.konesh-akher{
    justify-items: end;
    background: #ffffff;
    border-radius: 9px;
    padding: 20px; 
    margin: 10px;
    margin-top: 20px;
}

.konesh-akher-continer{
     display: flex;
     flex-direction: column;
     flex-wrap: wrap;
     gap: 10px;
     width: 100%;

}

.konesh-akher-box{
   display: flex;
   flex: 1;
   flex-direction: row;
   align-items: center;
   justify-content: end;
   border: 1px solid rgba(45, 102, 226, 0.192) ;
   border-radius: 12px;
   gap: 10px;
   padding: 15px;
}

.konesh-akher-box:hover { /* هاور باکس  نفرات برتر */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-5px);  /* حرکت ریز به بالا */
}

.konesh-akher-pic{
    width: 40px;
    height: 40px;
    border: 2px solid rgba(45, 102, 226, 0.192);
    border-radius: 12px;
}
.konesh-akher-pic1{
  font-size: 28px;
  justify-content: center; /* وسط افقی */
  align-items:center;     /* وسط عمودی */
  margin: 0px;
}

.konesh-akher-titlecontener{
    display: flex;
    flex-direction: column;
    align-items: end;
    line-height: 1;
}

.konesh-akher-title1{
    color: #000000;
    font-size: 15px;
    font-family: 'Vazirmatn', sans-serif;
    margin-bottom: 5px;

}
.konesh-akher-title2{
   color: #000000;
    font-size: 8px;
    font-family: 'Vazirmatn', sans-serif;
    margin-top: 0;
}