  	      @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;400;500;700;800;900&display=swap');

 
    * {
      box-sizing: border-box;
	font-family: 'Tajawal', sans-serif;
      margin: 0;
      padding: 0;
    }
    

    body {
      background: #f5f5f5;
      color: #333;
      padding-top: 80px;
      padding-bottom: 60px;
    }
 
 pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    font-family: 'Tajawal';
}
 
 
 
 
 
 
 
 
  

    header {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      background: #ccc;
      padding: 10px 20px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1000;
      color: #333;
      border-bottom:5px solid #666
    }

    .header-left {
      display: flex;
      align-items: center;
    }

    .header-left img {
      height: 40px;
      margin-left: 10px;
    }

    .header-center {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .header-center img {
      height: 35px;
    }

    footer {
      position: fixed;
      bottom: 0;
      right: 0;
      left: 0;
      background: #333;
      color: #fff;
      text-align: center;
      padding: 10px;
      height: 80px;
      font-size: 0.9rem;
      z-index: 1000;
    }

    .container {
      display: flex;
      flex-direction: row-reverse;
      min-height: calc(100vh - 130px);
      
    }

    aside {
      background: #333;
      color: #fff;
      width: 220px;
      padding: 20px;
      flex-shrink: 0;
      overflow-y: auto;
      max-height: calc(100vh - 130px);
     scrollbar-color: orange #f1f1f1; /* اللون الأول للمقبض والثاني للخلفية */
}

/* --- للـ Chrome و Edge و Safari --- */
aside::-webkit-scrollbar {
    width: 10px; /* عرض الشريط */
}
aside::-webkit-scrollbar-track {
    background: #f1f1f1; /* لون الخلفية */
}
aside::-webkit-scrollbar-thumb {
    background: orange; /* لون المقبض */
    border-radius: 5px; /* تدوير الحواف */
}
aside::-webkit-scrollbar-thumb:hover {
    background: #555; /* لون عند مرور الماوس */
}
 
    aside img {
      height: 100px;
     }

    aside h4 {
       margin-bottom: 20px;
      text-align: center;
      color:orange;
    }

    aside nav a {
      display: block;
      padding: 10px;
      color: #ecf0f1;
      text-decoration: none;
      border-radius: 6px;
      margin-bottom: 10px;
      text-align: right;
      width: 100%;
    }

    aside nav a:hover {
      background: orange;
    }

    main {
      flex: 1;
      padding: 20px;
    }

    .main-header {
      background: orange;
      color:white;
      padding: 15px 20px;
      border-radius: 8px;
      margin-bottom: 20px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
      text-align: right;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .card {
        overflow-x: auto;border:2px solid gray ;
      background: #ffffff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(255, 165, 0, 0.3);
    text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(255, 165, 0, 0.5);
    }
    
    
        .card2{
       background: #efefef;
      padding:5px 10px;
      margin:5px;
      border-radius: 8px;
      border:1px solid #dfdfdf;
      box-shadow: 0 2px 5px rgba(255, 165, 0, 0.3);
    text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card2:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(255, 165, 0, 0.5);
    }
.card a{
      text-decoration: none;

}
    .card h3 {
      margin-bottom: 10px;
      font-size: 1.2rem;
      color: orange;
    }








          
          .alight{
   		    text-decoration:none;
 
   }
.alight:link {
  color: #eee;
}

.alight:visited {
  color: #eee;
}



.adark{
   		    text-decoration:none;
 
   }
.adark:link {
  color: #333;
}
 .detailtab {
 background:orange;
 color:white ;
 border-radius:5px; 
 width:98%;
 margin:5px;
 font-size:14px;
  height:50px;
  padding:5px;
}
 .detailtab2 {
 background:white; 
 color:#333;
 border:2px solid orange;
 border-radius:5px; width:98%;margin:5px;height:50px;
 font-size:14px;
 padding:5px;
} 
 .student{
 
	background-color: rgb(255, 255, 255);
	overflow: hidden;
	border-radius: 1em;
	text-align: center;
 }

.user-image {
	padding: 10px 0;
	background: orange;
 
}

.adark:visited {
  color: #333;
}

     @media print {
      body * {
        visibility: hidden;
      }

      #printarea, #printarea * {
        visibility: visible;
      }

      #printarea {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
      }
    }      
          



























@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  aside {
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
  }

  aside nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
  }

  aside nav a {
    flex: none;
    width: auto;
    white-space: nowrap;
    padding: 8px 16px;
    background-color: #444;
    border-radius: 6px;
    display: inline-block;
    text-align: center;
  }
}
  