﻿@font-face {
	font-family: NeoSansArabic;
	src: url('../fonts/NeoSansArabic.eot');
	src: url('../../fonts/NeoSansArabic.eot?#iefix') format('embedded-opentype'),
	url('../fonts/NeoSansArabic.woff') format('woff'),
	url('../fonts/NeoSansArabic.ttf') format('truetype'),
	url('../fonts/NeoSansArabic.svg#NeoSansArabic') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: Cairo;
	src: url('../fonts/Cairo-VariableFont_slnt,wght.ttf');
	src: url('../../fonts/Cairo-VariableFont_slnt,wght.ttf?#iefix') format('embedded-opentype'),
		font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: DroidKufi-Regular;
	src: url('../fonts/DroidKufi-Regular.eot');
	src: url('../fonts/DroidKufi-Regular.eot?#iefix') format('embedded-opentype'),
	url('../fonts/DroidKufi-Regular.woff') format('woff'),
	url('../fonts/DroidKufi-Regular.ttf') format('truetype'),
	url('../fonts/DroidKufi-Regular.svg#diavlo_medium_ii_37_1-webfont') format('svg');
	font-weight: normal;
	font-style: normal;
}



html, body {
}

html {
    -webkit-font-smoothing: antialiased;
}


h2 {
  padding-bottom: 14px;
}

        body {
            background-color: #EFEFEF;
            margin: 0;
            padding: 0px;
             text-decoration: none;
        }


.header {
	font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
    display: flex;
    align-items: center;   /* توسيط عمودي */
    background: white;
    padding: 30px;
    margin-bottom: 20px;
   border-bottom: 50px solid #4BB8A8;  /* ألخط تحت البنر */

}

.login-container{
	font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
}
.positive-behaviors-section h3{
	
	font-size:1.2em;
	margin-top:30px;
 	color:#7355B0;
    background:#E5E5E5;
    padding:10px;
    border-radius: 8px 8px 0 0;
margin-bottom: -5px;	
}

.transfer-from-to{
	font-size:0.8em;
	color:#FF2F2F;
}


.transfer-date-mini{
	font-size:0.7em;
	color:#747474;
	
}

.printcorb{
                position: fixed;
                bottom: 0;
                left: 0;
                width: 100%;
                text-align: center;
                padding: 10px 0;
                font-size: 10px;
                background: white;
                border-top: 1px solid #ddd;
                margin: 0;
	}


.content {
    flex: 1;               /* يأخذ كل المساحة المتبقية */
    text-align: center;    /* يوسّط النصوص أفقيًا */
    
}

.content h1 {
    margin: 0;
    font-size: 40px;
    text-align: center;    /* توسيط العنوان تمامًا */
	margin-bottom:20px;
	margin-left:5em;
}

.content p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #555;
    text-align: center;    /* توسيط الفقرة تمامًا */
	margin-right:11em;
}

.image {
    flex-shrink: 0;       /* لا يصغر */
}
.oqba-img2 {
    width: 250px;
    height: auto;
    display: block;
}

		
        .charts-grid {
	        font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
             text-decoration: none;

        }
        
        
        .chart-card {
        	        font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
             text-decoration: none;            
        }
        .chart-title {
            font-size:1.2em;
            color: #333;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #999999;
        }
        .ranking-list {
             font-size:0.9em;
            list-style: none;
            padding:10px;;
            margin: 0;
             text-decoration: none;            
        }
        .ranking-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 7px;
            margin-bottom: 8px;
            background: #F7F7F7;
            border-radius: 5px;
            border-right: 3px solid #666666;
            border-left: 3px solid #666666;
            transition: all 0.3s;
           text-decoration: none;
        }
        .ranking-item:hover {
            background: #D2D2D2;
            
        }
        .rank-badge {
            background: #007bff;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-left: 10px;
                         text-decoration: none;
        }
        .rank-1 { background: #ffc107; border-color: #ffc107; }
        .rank-2 { background: #6c757d; border-color: #6c757d; }
        .rank-3 { background: #cd7f32; border-color: #cd7f32; }
        .violation-count {
            background: #dc3545;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: bold;
                         text-decoration: none;
        }
        .nav-cards {
			font-family: DroidKufi-Regular;
			 font-size:0.8em;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 50px;
        }
        .nav-card {

            background: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            text-decoration: none;
            color: #333;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        .nav-card:hover {
            transform: translateY(-5px);
            text-decoration: none;
            color: #333;
            background-color: #f8f9fa;
                         text-decoration: none;
        }
        .nav-card h3 {
			font-family: DroidKufi-Regular;
			 font-size:1.3em;
            margin-top: 0;
            color: #666666;
        }
        .icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        .student-link {
            color: #666666;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s;
                         text-decoration: none;
        }
        .student-link:hover {
            color: #009999;
             text-decoration: none;            
        }
        .class-link {
            color: #666666;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s;
        }
        .class-link:hover {
            color: #009999;
             text-decoration: none;        }
        .student-info {
            font-size: 0.9em;
            color: #666;
            margin-top: 5px;
        }
        .class-info {
            font-size: 0.85em;
            color: #888;
            margin-top: 3px;
        }
		
		
	.icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.chart-title {
    color: #666666; /* رمادي غامق */
}	
		



.foter{
	font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
    display: flex;
    align-items: center;   /* توسيط عمودي */
    padding: 30px;
    margin-bottom:0px;
    
 
    
}

.contentfoter {
    flex: 1;               /* يأخذ كل المساحة المتبقية */
    text-align: center;    /* يوسّط النصوص أفقيًا */
}


.contentfoter p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #666666;
    text-align: center;    /* توسيط الفقرة تمامًا */
}

.imagefoter {
    flex-shrink: 0;       /* لا يصغر */
}
.oqba-img2foter {
    width: 120px;
    height: auto;
    display: block;
}

/* Responsive للجوال */
@media (max-width: 768px) {
    .foter {
                text-align: center;
                font-size:0.9em;
        text-align: center;
		    padding: 10px;

    }

    .contentfoter {
        width: 100%;               /* النصوص تأخذ عرض كامل الصفحة */
    }
.contentfoter p {
    font-size: 12px;
    text-align: center;    /* توسيط الفقرة تمامًا */
	margin-right:0em;
}
    .contentfoter h1 {
        width: 100%;               /* العنوان يأخذ العرض بالكامل */
        text-align: center;        /* توسيط النص */
	font-size: 20px;
    text-align: center;    /* توسيط الفقرة تمامًا */
	margin-right:0em;
    }

    .imagefoter {
        margin-bottom: 15px;
    }

    .oqba-img2foter {
        width: 150px;
    }
}




/*حلفية محررررررررررررررررررررركة*/

body {
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(115 115 115 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}



/*STUDENT*/
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 0px;
        }
        th, td {
            padding: 12px;
            text-align: right;
            border-bottom: 1px solid #ddd;
        }
        th {
            background-color: #666666;
            color: white;
        }
        tr:hover {
            background-color: #f5f5f5;
        }
        .filters {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 5px;
            margin-bottom: 20px;
            border: 1px solid #dee2e6;
        }
        .filter-group {
            display: inline-block;
            margin-left: 15px;
            margin-bottom: 10px;
            vertical-align: top;
            font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            
        }
        .filter-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #495057;
            font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            
        }
        .filter-group select, .filter-group input {
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius:10px;
            width:200px;
            font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            font-size:0.9em;
            
        }
        .filter-buttons {
            display: inline-block;
            vertical-align: bottom;
        }
        .results-info {
            background: #FFD0B0;
            padding: 12px;
            border-radius: 5px;
            margin-bottom: 15px;
            border-right: 4px solid #007bff;
            font-weight: bold;
        }
        .no-results {
            text-align: center;
            padding: 40px;
            color: #6c757d;
            font-size: 18px;
        }
        .instruction {
            background: #fff3cd;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            border-right: 4px solid #ffc107;
            text-align: center;
        }

.btn {
font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
  align-items: center;
  justify-content: space-between;
  background: #40B3A2;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  padding:12px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
}

.btn:hover {
background-color:#DF9200;
  opacity: .70;
}

titloqb{
font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
  font-size: 30px;
  font-weight: 500;
  text-align:center;
  color:#FF9900;
  background-color:#F4F4F4;
  padding-bottom:30px;
  padding-top:30px;
   border-radius: 10px;

	
}


/*التفاصيل*/
.nav-links {
    display: grid;
    grid-template-columns: 1fr auto auto; /* تغيير الأعمدة */
    border-radius: 15px;
    padding:0px;
    margin: 0 auto;
    max-width: 1200px;
    font-family: NeoSansArabic, tahoma, Arial, Verdana, sans-serif;
}



.nav-links .btn {
    font-family: NeoSansArabic, tahoma, Arial, Verdana, sans-serif;
    outline: 0;
    align-items: center;
    justify-content: center;
    background: #40B3A2;
    min-width: 80px;
    max-width: 250px;
    width: auto;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    padding: 8px 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links .btn:hover {
    background-color: #DF9200;
    opacity: .85;
}



/*جدييييييييييييييييييد*/




        .container {
            max-width: 1400px;
        }
        
        /* غلاف البنر الممتد */
        .banner-wrapper {
            width: 100%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            background:#FFFFFF;

        }
        
        /* تصميم البنر */
        .banner {
            background: rgba(255, 255, 255,1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 10px;
            color: white;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .banner-image {
            flex-shrink: 0;
            width: 230px;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .banner-image img {
            width: 85%;
            height: 85%;
            object-fit: contain;
        }
        
        .banner-content {
            flex: 1;
            text-align: center;
        }
        
        .banner-title {
            font-family: NeoSansArabic, tahoma, Arial, Verdana, sans-serif;   
            margin-bottom: 10px;
            font-weight: 600;
            color:#398270;
            font-size:3em;}
        
        .banner-subtitle {
            font-family: NeoSansArabic, tahoma, Arial, Verdana, sans-serif;         
            font-size: 1.4rem;
            opacity: 0.9;
            font-weight: 300;
            color:#999999;

        }
        
/*--------------------------------------------------------------القائمة الممتده---------------------------------------------*/
  /* التنسيقات الأساسية */
    /* البنر - بدون هوامش */
        .navbar-wrapper {
          font-family: NeoSansArabic, tahoma, Arial, Verdana, sans-serif;         
           background:#30877a;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border-bottom:0px solid #FF9933;
            width:100%;
        }
        
/* تنسيق الشريط الرئيسي */

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-badge {
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.user-info {
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}        
        .nav-btn {
            position: relative;
            padding: 15px 35px;
            color: #FFFFFF;
            text-decoration: none;
            font-size: 0.9em;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            border-left: 1px solid #f0f0f0;
        }
        
        .nav-btn:last-child {
            border-left: none;
        }
        
        .nav-btn i {
            margin-left: 10px;
            font-size: 0.9em;
        }
        
        .nav-btn:hover {
            background: #f8f9fa;
            color: #159895;
        }
        
        .nav-btn.active {
            background: #40B1A0;
            color: white;
        }
        
        .nav-btn::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 3px;
            background: #ffc107;
            transition: width 0.3s ease;
        }
        
        .nav-btn:hover::after,
        .nav-btn.active::after {
            width: 100%;
        }


/*------------------------------------------*/    
    
    /* القائمة */
    .navbar-wrapper {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    
    .navbar {
            border-radius: 0 0 20px 20px;
            font-family: NeoSansArabic, tahoma, Arial, Verdana, sans-serif;         
            max-width: 1400px;
            color:#FFFFFF;
            margin: 0 auto;
            padding: 0 30px;
            height:60px;
            display: flex;
            justify-content: flex-end;
    }
    
    /* القائمة العادية للشاشات الكبيرة */
    .nav-buttons {
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .nav-btn {
        text-decoration: none;
        color: white;
        padding: 8px 15px;
        border-radius: 5px;
        transition: all 0.3s ease;
        height:40px;
    }
    
    .nav-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color:#F7F7F7;
    }
    
    .user-info {
        display: flex;
        align-items: center;
        color: white;
        white-space: nowrap;
        font-size: 14px;
        margin-right: 10px;
    }
    
    /* زر القائمة للجوال - في اليمين */
    .menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 998;
        
        margin-left: auto;
        order: 2;
    }
    
    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    /* القائمة المنسدلة للجوال */
    .mobile-nav {
        font-family: NeoSansArabic, tahoma, Arial, Verdana, sans-serif;         
        position: fixed;
        background:#40B1A0 ;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 998;
        visibility: hidden;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        width: 70%;
        transform: translateX(100%);
        border-radius: 20px 0px 0px 20px ;
        top:10px;
    }
    
    .mobile-nav.active {
        justify-content: flex-end;

        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }


/* إعادة تعيين محاذاة النص للقائمة المتنقلة */
.mobile-nav {
    text-align: right !important;
    direction: rtl !important;
}

.mobile-nav-buttons {
    text-align: right !important;
    direction: rtl !important;
}

.mobile-nav-btn {
    text-align: right !important;
    direction: rtl !important;
    justify-content: flex-start !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.mobile-user-info {
    text-align: right !important;
    direction: rtl !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

/* تأكيد المحاذاة لجميع العناصر داخل القائمة */
.mobile-nav * {
    text-align: right !important;
    direction: rtl !important;
}



  
    .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        padding: 0;
        width: 100%;
    }
    
    .mobile-nav-btn {
        text-decoration: none;
        color: white;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        font-weight: 500;
        font-size:0.8em;
        width: 100%;
        text-align: right;
        justify-content: flex-end;
        text-align: right;
         padding-right: 25px;
    }
    
    .mobile-nav-btn:last-child {
        border-bottom: none;
    }
    
    .mobile-nav-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-user-info {
        padding: 15px 20px;
        color: white;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background-color: rgba(0, 0, 0, 0.1);
        font-size: 14px;
        width: 100%;
        text-align: right;
        font-size:1.5em
    }
    
    /* قائمة الأدمن المنبثقة */
    .admin-dropdown {
        position: relative;
    }
    
    .admin-btn {
        background: transparent;
        border: none;
        color: white;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        border-left: 1px solid #f0f0f0;
        font-size:1em;
    }
    
    .admin-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .admin-dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: linear-gradient(135deg, #34495e, #5d7aa7);
        min-width: 180px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        z-index: 1002;
        border-radius: 5px;
        overflow: hidden;
    }
    
    .admin-dropdown-content a {
        color: white;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        font-size: 14px;
        text-align: right;
    }
    
    .admin-dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .admin-dropdown-content a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .admin-dropdown:hover .admin-dropdown-content {
        display: block;
    }
    
    /* تأثيرات الحركة لزر القائمة */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* استعلامات الوسائط للتجاوب */
    @media (max-width: 1024px) {
        /* إخفاء القائمة العادية وإظهار زر القائمة */
        .nav-buttons {
            display: none !important;
        }
        
        .menu-toggle {
            display: flex;
        }
        
        .navbar {
            justify-content: flex-end;
        }
        
        
        /* إخفاء dropdown الأدمن على الجوال */
        .admin-dropdown-content {
            display: none !important;
        }
        
        .admin-dropdown:hover .admin-dropdown-content {
            display: none !important;
        }
    }
   
    @media (max-width: 768px) {
        
      .banner{
        padding: 0px 0px;
    }
      
    }
    
    
    @media (min-width: 1025px) {
        /* إخفاء القائمة المتنقلة وزر القائمة على الشاشات الكبيرة */
        .mobile-nav {
            display: none !important;
        }
        
        .menu-toggle {
            display: none !important;
        }
        
        /* إظهار القائمة العادية على الشاشات الكبيرة */
        .nav-buttons {
            display: flex !important;
        }
    }
    
    /* طبقة الخلفية المعتمة عند فتح القائمة */
    .overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 997;
        display: none;
    }
    
    .overlay.active {
        display: block;
    }
    

/*--------------------------------------------------- نهاية القائمة الممتده--------------------------------------------------*/        
        /* المحتوى الرئيسي */
        .main-content {
            padding:10px;
            margin-top: 30px;
            border-radius: 10px;
        }
        
        .section-title {
        width:100%;
            color: #1a5f7a;
            font-size: 1em;
            margin-bottom:0px;
            padding-bottom: 10px;
            border-bottom: 0px solid #ffc107;
            display: inline-block;
        }
        .section-title h3{
        color: black !important;
        background: #f5f5f5 !important;
        padding:10px;
        border-right: 5px solid #999999!important;
        border-radius: 5px;
        }
        
        .features {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: 30px;
        }
        
        .feature-box {
            flex: 0 0 30%;
            background: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 25px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-top: 4px solid #159895;
        }
        
        .feature-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: #1a5f7a;
            margin-bottom: 15px;
        }
        
        .feature-title {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: #1a5f7a;
        }
        
        .feature-desc {
            color: #666;
            line-height: 1.6;
        }
        
        /* تصميم متجاوب */
        
        
        
        
        
/*الفصوووووووووووووووووووووووووووووووووووول*/ 

        .class-info {
            background: #F2F2F2;
            padding: 20px;
            border-radius: 5px;
            margin-bottom: 30px;
            border-right: 4px solid #3FAF9F;
        }
        .class-info h2{
            background: #FFFFFF;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 30px;
            border-bottom:4px solid #3EAE9D;
            font-size:20px;
        }
        .class-infoto{
            background: #F4F4F4;
            padding: 10px;
            border-radius: 5px;
            border-right:4px solid #3EAE9D;
            font-size:20px;
        }
        .student-link {
            color: #007bff;
            text-decoration: none;
            font-weight: bold;
        }
        .student-link:hover {
            text-decoration: underline;
        }
        .violation-badge {
            background: #dc3545;
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.8em;
            font-weight: bold;
        }
        .no-violations {
            text-align: center;
            padding: 40px;
            color: #6c757d;
            background: #f8f9fa;
            border-radius: 5px;
            margin: 20px 0;
        }
        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 15px;
            border-radius: 5px;
            margin: 20px 0;
            border-right: 4px solid #dc3545;
        }





        .chart-card {
        	font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
             text-decoration: none;            
        }
        .chart-card a{
        	 font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
             text-decoration: none;
             color:#666666;            
        }



/* أنماط إضافية لنظام التسجيل */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    margin-right: auto;
}

.user-name {
    font-size: 14px;
}

.logout-btn {
    background: #e74c3c !important;
}

.logout-btn:hover {
    background: #c0392b !important;
}


/*صفجة الدخول*/

        .login-container {
        	font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            max-width: 400px;
            margin: 100px auto;
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .login-header h2 {
        	font-family:Cairo,tahoma,Arial,Verdana,sans-serif;     
            color: #2c3e50;
            margin-bottom: 10px;
            font-size:1.4em;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: #555;
            font-weight: bold;
        }
        
        .form-group input {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .login-btn {
        	font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
            width: 100%;
            padding: 12px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .login-btn:hover {
            background: #2980b9;
        }
        
        .error-message {
            background: #e74c3c;
            color: white;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .login-logo {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .login-logo img {
            max-width: 100px;
            height: auto;
        }
        .login-logotor{
            text-align: center;
            margin-bottom: 20px;
        }
        
        .login-logotor img {
            max-width:250px;
            height: auto;
        }
		
		
/*-------------------------------------------------------------------------------------------------الطابور*/		
/* التنسيقات الأساسية للجدول */
        

        .stat-card {
           border-bottom: 15px solid #f0b207;  /* ألخط تحت البنر */
          box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
            background: #FFFFFF;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            transition: transform 0.3s;
        }
        

        .stat-card:hover {
            transform: translateY(-10px);
        }
        
        .today-date {
            background: #3FB0A0;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 1.5em;
            color: #FFFFFF;
        }
        
        
        
        
        
        .progress-container {
            margin: 20px 0;
        }
        
        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 0.9em;
        }
        
        .progress-bar {
            width: 100%;
            height: 25px;
            background: #E9E9E9;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #28a745, #20c997);
            transition: width 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 0.9em;
        }
        
        /* جدول المعلمين */
        .teachers-table-container {
            overflow-x: auto;
           border-collapse: collapse;
            border-radius: 10px;
            background: #FCFCFC;
           font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;
           border: 1px solid #ccc;

        }
      
        .teachers-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
        }
        
        .teachers-table thead {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
  border-radius: 20px;            
        }
        
        .teachers-table th {
            padding: 15px 10px;
            text-align: right;
            font-weight: 600;
            font-size: 1.2em;
        }
        
        .teachers-table td {
            padding: 12px 10px;
            border-bottom: 1px solid #f0f0f0;
            text-align: right;
            vertical-align: middle;
        }
        
        .teacher-row:hover {
            background-color: #F2F4F7;
        }
        
        .teacher-row.saved {
            background-color: #f0fff4;
        }
        
        /* تنسيق معلومات المعلم */
        .teacher-info {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #666666;
    text-decoration: none;
    font-weight: 500;
        }
        
.teacher-name-link {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.teacher-name-link:hover {
    color: #FFAF37;
    text-decoration: none;
    transform: translateY(-1px);
}
       
        .teacher-icon {
            font-size: 18px;
            color: #3FB0A0;
        }
        
        /* تنسيق خيارات الحضور */
        .attendance-options {
            display: flex;
            gap: 10px;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .attendance-options label {
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 4px;
            transition: background-color 0.2s;
            background: rgba(255,255,255,0.1);
            margin: 2px;
        }
        
        .attendance-options label:hover {
            background-color: #f8f9fa;
        }
        
        .attendance-options input[type=radio] {
            margin: 0;
        }
        
        /* تنسيق حالة الحضور */
        .attendance-status {
            padding: 6px 12px;
            border-radius: 20px;
            font-weight: 500;
            text-align: center;
            display: inline-block;
        }
        
        .status-present {
            background-color: #d4edda;
            color: #155724;
        }
        
        .status-late {
            background-color: #fff3cd;
            color: #856404;
        }
        
        .status-absent {
            background-color: #f8d7da;
            color: #721c24;
        }
        
        /* تنسيق حقل الملاحظات */
        .notes-input {
            width: 100%;
            padding: 5px 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 1em;
            transition: border-color 0.2s;
        }
        
        .notes-input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
        }
        
        /* تنسيق الأزرار */
        .btn-edit {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.3s;
        }
        
        .btn-edit:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #338C7E 0%, #20c997 100%);
            color: white;
            border: none;
            padding: 9px 10px;
            border-radius:10px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            transition: all 0.3s;
            min-width:160px
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        .form-actions {
            text-align: center;
            margin-top: 20px;
            padding: 20px;
        }
        
        /* مربع البحث */
        .search-box {
            margin-bottom: 20px;
        }
        
        .search-input {
            background: #F5F5F5;
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 1em;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        /* إشعار الحفظ التلقائي */
        .auto-save-notice {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #28a745;
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            z-index: 1000;
            display: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        
        .view-all-link {
            display: inline-block;
            background: #3FB0A0;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            margin-top: 15px;
            transition: background 0.3s;
        }
        
        .view-all-link:hover {
            background: #369b8c;
            color: white;
        }
        
        .no-teachers {
            text-align: center;
            padding: 40px;
            color: #666;
            font-style: italic;
            background: #f8f9fa;
            border-radius: 8px;
            margin: 20px 0;
        }
        
        
        /* تحسينات إضافية للواجهة */
        .attendance-options input[type=radio]:checked + span {
            font-weight: bold;
        }
        
        .teacher-row {
            transition: all 0.3s ease;
        }
        
        .teacher-row.saved:hover {
            background-color: #e8f5e8;
        }
        
        /* تأثيرات بصرية عند الحفظ */
        .saving {
            opacity: 0.7;
            pointer-events: none;
        }
        
        .saved-success {
            animation: highlight 1.5s ease;
        }
        
        @keyframes highlight {
            0% { background-color: #d4edda; }
            100% { background-color: #f0fff4; }
        }
        
        /* تنسيق الرسائل مع تأثيرات الانتقال */
.message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.5s ease;
    opacity: 1;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auto-save-notice {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    transition: all 0.5s ease;
    opacity: 1;
}

/* تأثيرات للاختفاء */
.message.fade-out,
.auto-save-notice.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

/*--------------------------------------الصفحة الرئيسية------------------------------------------*/

       .supervisors-card {
            font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;     
            background:#FFFFFF;
            color: #4E4E4E;
            border-radius:30px 30px 10px 10px;
            padding: 20px;
            margin-bottom: 20px;
         /*   box-shadow: 0 4px 15px rgba(0,0,0,0.3); */
            position: relative;
        }
                /* بطاقة المشرفين */
        
        .supervisors-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 15px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .supervisors-title {
            font-size: 1.5em;
            font-weight: bold;
            margin: 0;
        }


        .supervisors-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            border-bottom: 2px solid gray(255,255,255,1.5);
            padding-bottom: 10px;
        }
        .supervisors-title {
            font-size: 1.3em;
            font-weight: bold;
            margin: 0;
        }
        .today-date {
            background:#FFFFFF rgba(255,255,255,0.2);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9em;
        }
        .breaks-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin:20px;
        }
        
        .break-section {
            background:rgba(155,155,155,0.1);
            padding: 15px;
            border-radius: 30px;
            border: 1px solid #EBEBEB;
        }
        .break-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 3px solid #C8C8C8;
        }
        .break-name {
            font-weight: bold;
            font-size: 1.1em;
        }
        
        @media (max-width: 768px) {
            .breaks-container {
                grid-template-columns: 1fr;
            }
        }
        .teachers-count {
            background:#CC0000;
            padding: 5px 8px;
            border-radius: 12px;
            font-size: 0.8em;
            color:#FFFFFF;
        }
        .teachers-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .teacher-item {
            padding: 8px 0;
            border-bottom: 1px solid #DADADA;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .teacher-item:last-child {
            border-bottom: none;
        }
        .teacher-info {
            display: flex;
            align-items: center;
            flex: 1;
        }
        .teacher-icon {
            margin-left: 8px;
            font-size: 1.1em;
        }
        .teacher-actions {
            display: flex;
            gap: 5px;
            align-items: center;
        }
        .whatsapp-btn {
            background: #3FB1A0;
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            text-decoration: none;
            font-size: 0.9em;
            transition: all 0.3s;
        }
        .whatsapp-btn:hover {
            background: #128C7E;
            transform: scale(1.1);
        }
        .no-supervisors {
            text-align: center;
            padding: 20px;
            font-style: italic;
        }
        .view-all-link {
            display: block;
            text-align: center;
            margin-top: 15px;
            color:#333333 ;
            text-decoration: none;
            background:#E9E9E9;
            padding: 10px 15px;
            border-radius: 5px;
            transition: background 0.3s;
        }
        .view-all-link:hover {
            background:#3FB1A0;
        }
        .notification-badge {
            position: absolute;
            top:-25px;
            left:0px;
            background: #ff4757;
            color: white;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9em;
            font-weight: bold;
        }
        .attendance-options {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .attendance-options label {
            display: flex;
            align-items: center;
            font-size:0.8em;
            cursor: pointer;
            padding: 5px 8px;
            border-radius: 5px;
            transition: background 0.3s;
            background:#E8E8E8;
        }
        .attendance-options label:hover {
            background:#F0F0F0;
        }
        .attendance-status {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .notes-btn {
            background: #ffc107;
            color: black;
            border: none;
            border-radius: 20px;
            padding: 5px 12px;
            font-size: 0.8em;
            cursor: pointer;
        }
        .save-btn {
            border: none;
            cursor: pointer;
            padding: 10px 15px;
            border-radius: 5px;
            color: white;
            font-weight: bold;
            transition: all 0.3s;
        }
        .save-first {
            background: #40B1A0;
        }
        .save-second {
            background: #3FB1A0;
        }
        .save-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        .teacher-name {
            min-width: 120px;
        }
        
        
        
        
        
        
        
        /* تنسيق الـModals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
   /* max-width: 600px;*/
    border-radius: 5px;
    direction: rtl;
}

.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}


/*--------------------------------المشرفين-----------------------*/

        .supervision-form {
            font-size:0.6em;      
            background: #f8f9fa;
            padding: 20px;
            border-radius: 15px;
            margin: 20px 0;
            border: 1px solid #dee2e6;
        }
        .supervision-form h3{
        padding:10px;
        color:#D6A85C;
        font-size:1.5em;      
        }
        
        
        .supervision-list {
            margin-top: 20px;
            font-size:0.7em;
        }
        
        .supervision-list h3{
	     font-size:1em;
        padding:10px; 
        color:#D6A85C;     
                   }
         .titloqb{
	     font-size:1.3em;
        padding:10px;
        color:#D6A85C;
                      }          
                   
        .form-row {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }
        .form-group {
            flex: 1;
            min-width: 200px;
        }
        .filters {
            background: #e9ecef;
            padding: 15px;
            border-radius: 5px;
            margin: 15px 0;
        }
        .day-section {
            background: white;
            margin: 20px 0;
            border-radius: 8px;
            border: 1px solid #dee2e6;
            overflow: hidden;
        }
        .day-header {
            background: #666666;
            color: white;
            padding: 15px 20px;
            margin: 0;
            font-size: 1.2em;
        }
        .breaks-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
        @media (max-width: 768px) {
            .breaks-container {
                grid-template-columns: 1fr;
            }
        }
        .break-section {
            padding: 15px;
            border-right: 1px solid #dee2e6;
        }
        .break-section:last-child {
            border-right: none;
        }
        .break-section:first-child {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        .break-section:last-child {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        .break-header {
            color: #2c3e50;
            padding: 10px 0;
            margin: 0 0 15px 0;
            font-size: 1.1em;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #3498db;
        }
        .break-header:first-child {
            border-bottom: 2px solid #e74c3c;
        }
        .break-header:last-child {
            border-bottom: 2px solid #2ecc71;
        }
        .teachers-list {
            max-height: 400px;
            overflow-y: auto;
        }
        .teacher-card {
            background: white;
            padding: 12px;
            margin-bottom: 10px;
            border-radius: 8px;
            border: 1px solid #ddd;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .teacher-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        .teacher-info {
            flex: 1;
        }
        .teacher-name {
            font-weight: bold;
            margin-bottom: 5px;
            color: #2c3e50;
        }
        .teacher-meta {
            font-size: 0.8em;
            color: #7f8c8d;
        }
        .supervision-actions {
            display: flex;
            gap: 8px;
        }
        .no-results {
            text-align: center;
            padding: 20px;
            color: #6c757d;
            background: #f8f9fa;
            border-radius: 5px;
        }
        .break-empty {
            padding: 30px 20px;
            text-align: center;
            color: #95a5a6;
            font-style: italic;
            background: #ecf0f1;
            border-radius: 8px;
            border: 2px dashed #bdc3c7;
        }
        .stats-badge {
            background: #338C7E;
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.8em;
            font-weight: bold;
        }
        .statsbadgetor {
            background: #990000;
            color: white;
            padding: 10px 10px;
            border-radius: 20px;
            font-size: 0.8em;
        }

        .break-icon {
            font-size: 1.2em;
            margin-left: 8px;
        }
        .first-break .break-icon {
            color: #e74c3c;
        }
        .second-break .break-icon {
            color: #2ecc71;
        }
        
        
/*--------------------------------------------------------------القائمة الممتده---------------------------------------------*/

.text-left {
    text-align: left !important;}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}


/*--------------------------------------------------------------شواهد المعلمين---------------------------------------------*/
       
       .evidence-card {
            font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;     
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 25px;
            color: white;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            border: none;
        }
        
        .elements-card {
            font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;          
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 25px;
            color: white;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            border: none;
        }
        
        .evidence-item, .element-item {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            color:black;
        }
        
        .evidence-item {
            border-right: 15px solid #CCCCCC;
        }
        
        .element-item {
            border-right: 5px solid #667eea;
        }
        
        .status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8em;
            font-weight: bold;
        }
        
        .status-pending { background: #fff3cd; color: #856404; }
        .status-approved { background: #d4edda; color: #155724; }
        .status-rejected { background: #f8d7da; color: #721c24; }
        
        .role-badge {
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8em;
            font-weight: bold;
        }
        
        .role-teacher { background: #e3f2fd; color: #1976d2; }
        .role-supervisor { background: #f3e5f5; color: #7b1fa2; }
        .role-agent { background: #e8f5e8; color: #388e3c; }
        .role-principal { background: #fff3e0; color: #f57c00; }
        
        .percentage-warning {
            color: #dc3545;
            font-weight: bold;
        }
        
        .percentage-ok {
            color: #28a745;
            font-weight: bold;
        }
        
        .tab-content {
            background:#FFFFFF;
            border-radius: 10px;
            padding: 20px;
            margin-top: 0px;
        }
        
        .nav-tabs .nav-link.active {
            background:#CCCCCC;
            border: none;
        }
        
        .nav-tabs .nav-link {
            color: white;
            border: none;
            margin: 0 5px;
            background:#D6A85C;
        }
        
        .nav-tabs {
            border: none;
             font-family:NeoSansArabic,tahoma,Arial,Verdana,sans-serif;     

        }
        
        .points-display {
            background: #e7f3ff;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            color: #136B9B;
        }
        
        .teacher-infothree {
            background: #E7EAED;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 10px;
            color:#CC0000;
            border-right: 5px solid #D6A85C;
        }
        
        .file-link {
            color: #007bff;
            text-decoration: none;
            font-weight: bold;
        }
        
        .file-link:hover {
            text-decoration: underline;
        }
        
        .element-details {
            background: #E9ECEF;
            padding: 10px;
            border-radius: 5px;
            margin: 10px 0;
            border-right: 5px solid #D6A85C;
        }
        
        .debug-info {
            background: #fff3cd;
            padding: 10px;
            border-radius: 5px;
            margin: 10px 0;
            font-size: 0.9em;
            color: #856404;
        }
        
/*--------------------------------------------------------------كل الشواهد---------------------------------------------*/
 
 
         .teacher-cardfor {
            background: white;
            margin-bottom: 10px;
            justify-content: space-between;
            align-items: center;
            transition: transform 0.2s, box-shadow 0.2s;
        }

 
 
 
 .teacher-namefor{
 font-size:0.9em;
	
}
     
        .teachers-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 25px;
            color: white;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
 .action-buttonsfor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:2px;
    margin-top:30px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 300;
}
       
        .teacher-itemfor{
            background: #F7F7F7;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-right: 4px solid #2F8477;
            font-size:0.7em;
        }

        .teacher-itemfor:hover {
            transform: translateY(-10px);
            background:#AEE3C9;
        }

        
        .teacher-item:hover {
            background: #f8f9fa;
            transform: translateX(-5px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .evidence-count {
            display: inline-block;
            background: rgba(0,0,0,0.1);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.8em;
            margin-right: 5px;
            color: #333;
        }
        
        .action-buttons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .btn-new-window {
            background: #28a745;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8em;
            cursor: pointer;
            flex: 1;
        }
        
        .btn-new-tab {
            background: #007bff;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8em;
            cursor: pointer;
            flex: 1;
        }
        
        .search-box {
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .header-buttons {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .btn-back {
            background: #6c757d;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
        }
 
         .nav-cardfory {
			font-family: DroidKufi-Regular;
			 font-size:1em;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 50px;
        }

        .nav-cardtpp {

            background: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            text-decoration: none;
            color: #333;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }

        .ranking-itemtoo{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            margin-bottom: 8px;
            background: #F7F7F7;
            border-radius: 5px;
            border-right: 3px solid #666666;
            border-left: 3px solid #666666;
            transition: all 0.3s;
                         text-decoration: none;
        }
        .ranking-itemtoo:hover {
            background: #D2D2D2;
            transform: translateX(-5px);
            
        }
        
/*-------------------------------------------------*/
/* تنسيق زر القائمة للجوال */


.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-right:20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.mobile-nav-title {
    color: white;
    font-size: 1.2em;
    margin: 0;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 5px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
border-bottom:1px dashed #F7F7F7;
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-user-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    color: white;
    font-size: 0.9em;
}

/* overlay للخلفية */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-nav-overlay.active {
    display: block;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-buttons {
        display: none !important;
    }
    
    .navbar {
        justify-content: space-between;
        padding: 0 15px;
    }
}

/*------------------------------------------------*/
        .transfers-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 25px 0;
}

.transfers-section h3 {
    color: white;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.transfer-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size:0.6em;
}

.transfer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}

.transfer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.transfer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.transfer-parties {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size:1.5em;
}

.transfer-party {
    display: flex;
  /*flex-direction: column;*/
    align-items: center;
    text-align: center;
    min-width: 150px;
}

.party-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.transfer-from .party-avatar {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.transfer-to .party-avatar {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.party-info {
    background: #F3F3F3;
    color: white;
    padding: 0px 5px  0px 0px;
    border-right: 5px solid #ffc107;
    font-size: 1em;
    margin-right:10px;
    border-radius: 10px
}

.party-name {
    font-weight: bold;
    color: #2c3e50;
    font-size:1em;
    padding:7px;
}

.party-role {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size:0.9em;
    font-weight: bold;
    display: inline-block;
}

.transfer-from .party-role {
    background: #e74c3c;
}

.transfer-to .party-role {
    background: #27ae60;
}

.transfer-arrow {
    font-size: 32px;
    color: #3498db;
    margin: 0 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.transfer-meta {
    text-align: right;
    min-width: 200px;
}

.transfer-date {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: inline-block;
}

.transfer-by {
    margin-top: 8px;
    font-size: 12px;
    color: #7f8c8d;
}

.transfer-details {
    border-radius: 12px;
}

.detail-row {
    margin: 15px 0;
    padding: 15px;
    background: #F3F3F3;
    border-radius: 10px;
    border-right: 3px solid;
}

.detail-row strong {
    color: #CC0000;
    margin-left: 10px;
    display: block;
    margin-bottom:15px;
    font-size: 14px;
}

.comment-text {
    background:#F3A79E;
    padding: 12px 15px;
    border-radius: 10px;
    border-right: 4px solid #ffd54f;
    font-style: italic;
    color: #333333;
    line-height: 1.6;
    font-size:1.5em;
}
.comment-text2 {
    background:#C0F1D6;
    padding: 12px 15px;
    border-radius: 10px;
    border-right: 4px solid #ffd54f;
    color: #5d4037;
    line-height: 1.6;
}

.comment-text::before {
    content: '"';
    font-size: 24px;
    color: #ffd54f;
    margin-right: 5px;
}

.add-comment-form {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    padding: 20px;
    border-radius: 12px;
    border: 2px dashed #4caf50;
    margin-top: 20px;
}

.add-comment-form textarea {
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-comment-form textarea:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
    transform: scale(1.02);
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .transfer-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .transfer-parties {
        justify-content: center;
    }
    
    .transfer-meta {
        text-align: center;
        width: 100%;
    }
    
    .transfer-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}




/*--------------------------------------------------------------------------------*/

        .notifications-container {
            margin: 20px auto;
            padding: 20px;
        }
        
        .notifications-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 25px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .notifications-header h1 {
            margin: 0;
            font-size: 28px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .notifications-count {
            background: rgba(255,255,255,0.2);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            margin-top: 10px;
            display: inline-block;
        }
        
        .notification-item {
            background: white;
            padding: 20px;
            margin: 15px 0;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-size: 0.7em;
        }
        
        .notification-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }
        
        .notification-item.unread {
            border-right: 4px solid #e74c3c;
            background: #fff5f5;
        }
        
        .notification-item.unread::before {
            background: linear-gradient(90deg, #e74c3c, #c0392b);
        }
        
        .notification-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .notification-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .notification-title {
            font-weight: bold;
            color: #2c3e50;
            font-size: 18px;
        }
        
        .notification-date {
            color: #7f8c8d;
            font-size: 14px;
            background: #f8f9fa;
            padding: 6px 12px;
            border-radius: 20px;
        }
        
        .notification-message {
            color: #5a6268;
            line-height: 1.6;
            margin-bottom: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            border-right: 3px solid #3498db;
        }
        
        .notification-sender {
            background: #e8f4fd;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            color: #2c3e50;
            margin-bottom: 10px;
            display: inline-block;
        }
        
        .notification-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e9ecef;
        }
                .btn-view {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 8px 20px;
            text-decoration: none;
            border-radius: 25px;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            align-items: center;
            gap: 5px;
        }
        
        .btn-view:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
            color: white;
            text-decoration: none;
        }
        
        .btn-clear {
            background: linear-gradient(135deg, #6c757d, #5a6268);
            color: white;
            padding: 8px 20px;
            text-decoration: none;
            border-radius: 25px;
            font-size: 14px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-clear:hover {
            background: linear-gradient(135deg, #5a6268, #495057);
        }
        
        .no-notifications {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }
        
        .no-notifications-icon {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.5;
        }
        
        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            margin: 20px 0;
            border: 1px solid #f5c6cb;
        }

        @media (max-width: 768px) {
            .notification-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .notification-date {
                align-self: flex-start;
            }
            
            .notification-actions {
                justify-content: center;
            }

}

.action-buttonssaeed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 5px;
    font-size:1.2em;
    font-weight: 300;
}

.action-buttonssaeed i{
    align-items: center;
    color:#999999
    padding: 15px;
    border-radius: 5px;
    font-size:0.6em;
    font-weight: 300;
    font-style: normal;
}

/*-----------------------------------------view_attendance-------------------------------------------------------------*/
    .stats-container {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid #dee2e6;
    }
    
    .stats-gridsaeed {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 15px;
    }
    
    .stat-box {
        text-align: center;
        padding: 15px;
        border-radius: 8px;
        color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: relative;
    }
    
    .stat-box small {
        display: block;
        margin-top: 5px;
        font-size: 11px;
        opacity: 0.9;
    }
    
    .stat-box.present { background: #28a745; }
    .stat-box.absent { background: #dc3545; }
    .stat-box.late { background: #ffc107; color: #000; }
    .stat-box.leave { background: #17a2b8; }
    .stat-box.total { background: #6c757d; }
    .stat-box.school-total { background: #6610f2; }
    
    .stat-box h4 {
        margin: 0 0 10px 0;
        font-size: 14px;
    }
    
    .stat-box p {
        margin: 0;
        font-size: 24px;
        font-weight: bold;
    }
    
    .stats-percentage {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #dee2e6;
    }
    
    .stats-percentage h4 {
        margin-bottom: 10px;
        color: #333;
    }
    
    .percentage-row {
        background: #fff;
        padding: 15px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #dee2e6;
    }
    
    .percentage-row p {
        margin: 8px 0;
        padding: 5px 0;
    }
    
    .highlight-percentage {
        font-weight: bold;
        font-size: 1.1em;
        color: #28a745;
        background: #d4edda;
        padding: 2px 8px;
        border-radius: 4px;
        margin: 0 5px;
    }
    
    .highlight-percentage.warning {
        color: #dc3545;
        background: #f8d7da;
    }
    
    .progress-container {
        height: 30px;
        background: #e9ecef;
        border-radius: 15px;
        overflow: hidden;
        margin: 10px 0;
        display: flex;
    }
    
    .progress-bar {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 12px;
        transition: width 0.3s ease;
    }
    
    .progress-bar.present { background: #28a745; }
    .progress-bar.absent { background: #dc3545; }
    .progress-bar.late { background: #ffc107; color: #000; }
    .progress-bar.leave { background: #17a2b8; }
    
    .progress-bar span {
        padding: 0 10px;
        white-space: nowrap;
    }
    
    .status-badge {
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: bold;
    }
    
    .status-حاضر { background: #d4edda; color: #155724; }
    .status-غائب { background: #f8d7da; color: #721c24; }
    .status-متأخر { background: #fff3cd; color: #856404; }
    .status-إجازة { background: #d1ecf1; color: #0c5460; }
    
    .export-actions {
        margin-top: 20px;
        text-align: center;
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .no-results {
        text-align: center;
        padding: 40px;
        background: #f8f9fa;
        border-radius: 10px;
        margin: 20px 0;
    }
    
    .suggestions {
        margin-top: 20px;
        text-align: left;
        background: #fff;
        padding: 15px;
        border-radius: 5px;
        border: 1px solid #dee2e6;
    }
    
    .suggestions ul {
        margin: 10px 0 0 20px;
    }
    
    .welcome-message {
        text-align: center;
        padding: 40px;
        background: #f8f9fa;
        border-radius: 10px;
        margin: 20px 0;
    }
    
    .welcome-message ul {
        text-align: left;
        display: inline-block;
        margin: 15px auto;
    }
    
    .features {
        background: white;
        padding: 20px;
        border-radius: 8px;
        margin-top: 20px;
        border: 1px solid #dee2e6;
    }
    
    .table-info {
        background: #e9ecef;
        padding: 10px 15px;
        border-radius: 5px;
        margin-bottom: 10px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .table-info .summary {
        font-size: 14px;
    }
    
    .table-info .summary span {
        margin: 0 5px;
        padding: 2px 8px;
        border-radius: 3px;
        font-weight: bold;
    }
    
    .table-info .summary .present { color: #28a745; background: #d4edda; }
    .table-info .summary .absent { color: #dc3545; background: #f8d7da; }
    .table-info .summary .late { color: #856404; background: #fff3cd; }
    .table-info .summary .leave { color: #0c5460; background: #d1ecf1; }
    
    /* نماذج التحديث في الجدول */
    .update-form {
        display: flex;
        gap: 5px;
        align-items: center;
    }
    
    .status-select {
        padding: 5px;
        border-radius: 8px;
        border: 1px solid #ccc;
        min-width: 100px;
        font-size:0.9em;
    }
    
    .btn-update {
        background: #007bff;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
    }
    
    .btn-update:hover {
        background: #0056b3;
    }
    
    .btn-notes {
        background: #ea6362;
        color: white;
        border: none;
        padding: 5px 8px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 11px;
        margin-top: 5px;
    }
    
    .btn-notes:hover {
        background: #545b62;
    }
    
    .btn-delete {
        background: #dc3545;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
    }
    
    .btn-delete:hover {
        background: #c82333;
    }
    
    .no-notes {
        color: #999;
        font-style: italic;
        font-size: 12px;
    }
    
    /* نمط المودال */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
    }
    
    .modal-content {
        background-color: white;
      /*  margin: 10% auto;*/
        padding: 20px;
        border-radius: 8px;
      /*  width: 50%;*/
       /* max-width: 500px;*/
        position: relative;
    }
    
    .close {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 24px;
        cursor: pointer;
        color: #999;
    }
    
    .close:hover {
        color: #333;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 5px;
    }
    
    .form-group textarea {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        resize: vertical;
    }
    
    .form-buttons {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }
    
    @media (max-width: 768px) {
        .modal-content {
            width: 90%;
        }
        
        .update-form {
            flex-direction: column;
            gap: 5px;
        }
        
        .status-select {
            width: 100%;
        }
        
        .attendance-table {
            font-size: 12px;
        }
        
        .attendance-table td, .attendance-table th {
            padding: 5px;
        }
        
        .stats-gridsaeed {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .table-info {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .progress-bar span {
            font-size: 10px;
            padding: 0 5px;
        }
    }
