/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    background-color: #e8f5e9; /* أخضر فاتح */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 5px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

header {
    margin-bottom: 10px;
}

header .logo {
    width: 150px;
    height: auto;
    margin-bottom: 2px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.1);
}

header h1 {
    font-size: 24px;
    color: black;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

header p {
    font-size: 24px;
    color: black;
    margin-bottom: 2px;
    font-weight: bold;
    letter-spacing: 2px;
    
}

header h2 {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #007bff;
    font-size: 18px;
}
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.buttons .btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.buttons .btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم نموذج البحث */
.search-section {
    padding: 30px;
}

.search-section h3 {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
}

.form-number-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.form-number-input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25);
}

.search-btn {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 20px 0 0 10px;
}

.search-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* نتائج البحث */
.results-section {
    padding: 5px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2px 0;
}

.results-table th,
.results-table td {
    border: 8px solid #ddd; 
    padding: 5px;
    text-align: right;
    font-size: 14px;
    
}

.results-table th {
    background-color: #f8f9fa;
    color: black;
}

.results-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.continue-btn, .back-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 10px;
    display: inline-block;
    width: 50%;
}

.continue-btn:hover, .back-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.back-btn {
    background-color: #6c757d;
}

.back-btn:hover {
    background-color: #5a6268;
}

/* إقرار القبول */
.agreement-section {
    padding: 30px;
}

.agreement-text {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: justify;
    border-right: 4px solid #28a745;
}

.signature-area {
    background-color: #ffffff;
    border: 2px dashed #28a745;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

/* نموذج التسجيل */
.registration-form {
    padding: 20px;
    text-align: right;
}

.form-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.section-title {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 10px;
    font-weight: bold;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}

.file-input {
    padding: 10px;
    background-color: #ffffff;
    border: 2px dashed #28a745;
    border-radius: 5px;
    text-align: center;
}

.submit-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 20px auto;
    display: block;
}

.submit-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* رسائل النجاح والخطأ */
.success-message, .error-message {
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.university-id-display {
    font-size: 20px;
    font-weight: bold;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.instructions {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    text-align: right;
}

/* تصميم لوحة التحكم */    
/* Header */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  border-bottom: 2px solid #ddd;
}

.logo img {
  width: 100px;
  height: auto;
  
}

.center-text {
  text-align: center;
}

.center-text h1 {
  font-size: 28px;
  font-weight: bold;
  color: #389c54;
}

.center-text h2 {
  font-size: 18px;
  color: #555;
}

.center-text p {
  font-size: 14px;
  color: #777;
}
.admin-dashboard {
    background-color: #e8f5e9;
    padding: 20px;
    min-height: 100vh;
}

.admin-header {
    margin-bottom: 30px;
}

.admin-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* جداول لوحة التحكم */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #ddd;
    
}

.admin-table th {
    background-color: #f8f9fa;
    color: #007bff;
    font-weight: bold;
}

.admin-table tr:hover {
    background-color: #f8f9fa;
}



.requests-table-container {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* إضافة خاصية التمرير الأفقي */
}

.admin-table2 th,
.admin-table2 td {
    padding: 13px;
    text-align: right;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
}

.admin-table2 th {
    background-color: #f8f9fa;
    color: #007bff;
    font-weight: bold;
    font-size: 12px;
}

.admin-table2 tr:hover {
    background-color: #f8f9fa;
}

/* إضافة عرض минимальي للجدول لضمان التمرير */
.admin-table2 {
    min-width: 600px; /* أو أي قيمة مناسبة حسب المحتوى */
}



.action-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 2px;
    font-size: 12px;
    font-weight: 600;
}

.edit-btn {
    background-color: #ffc107;
    color: #212529;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

.view-btn {
    background-color: #17a2b8;
    color: white;
}

/* تصميم بطاقة الطالب */
.student-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 400px;
}

.student-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #28a745;
    margin: 0 auto 15px;
}

.card-info {
    margin: 10px 0;
}

.card-info h3 {
    color: #333;
    margin-bottom: 5px;
}

.card-info p {
    color: #6c757d;
    margin: 3px 0;
}

/* تصميم صفحة تسجيل الدخول */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.login-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
}

.login-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم زر إضافة مستخدم */
.add-user-btn {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background-color: #a4d5b0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-user-btn a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.add-user-btn a:hover {
    background-color: #ffffff;
    color: white;
}

.add-user-btn a.active {
    background-color: #ffffff;
    color: white;
}

.add-user-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم نموذج المستخدم */
.user-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* تصميم قائمة الكليات */
.college-select {
  display: inline-block;
  padding: 12px 10px;
  background-color: #ffffff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 10px;
  transition: all 0.3s ease;
}

/* تصميم جدول الفلترة */
.filter-section {
    background-color: #ffffff;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
}

.filter-group {
    max-width: 1500px;
    margin: 10px 30px;
    padding: 12px 30px;
    background-color: #a4d5b0;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    font-size: 12px;
}

.search-box {
  display: inline-block;
  padding: 12px 10px;
  background-color: #ffffff;
  color: block;
  text-decoration: none;
  border-radius: 6px;
  font-size: 10px;
  transition: all 0.3s ease;
}

.search-box:hover {
  background-color: #ffffff;
}

/* تصميم زر تطبيق الفلتر - تصحيح لجعله في صف واحد */
.apply-filter-btn {
    display: inline-block; /* تغيير من flex إلى inline-block */
    background-color: #a4d5b0;    
    padding: 11px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 5px; /* تقليل الهوامش */
}

.apply-filter-btn a {
    padding: 10px 60px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 10px;
    display: inline-block; /* إضافة هذا */
}

.apply-filter-btn a:hover {
    background-color: #ffffff; 
    color: white;
}

.apply-filter-btn a.active {
    background-color: #ffffff; 
    color: white;
}

.apply-filter-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم زر إعادة تعيين الفلاتر - تصحيح لجعله في صف واحد */
.reset-filter-btn {
    display: inline-block; /* تغيير من flex إلى inline-block */
    background-color: #a4d5b0;    
    padding: 11px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 5px; /* تقليل الهوامش */
}

.reset-filter-btn a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 10px;
    display: inline-block; /* إضافة هذا */
}

.reset-filter-btn a:hover {
    background-color: #ffffff; 
    color: white;
}

.reset-filter-btn a.active {
    background-color: #ffffff; 
    color: white;
}

.reset-filter-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* حل بديل لجعل الأزرار في صف واحد */
.button-container {
    text-align: center; /* محاذاة الأزرار في المنتصف */
    margin: 10px 0;
}

.button-container .apply-filter-btn,
.button-container .reset-filter-btn {
    display: inline-block;
    vertical-align: middle; /* محاذاة عمودية */
    margin: 0 10px; /* مسافة بين الأزرار */
}

/* تصميم زر تصدير/استيراد */
.export-import-btn {
    padding: 12px 24px;
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 10px;
}

.export-import-btn:hover {
    background-color: #5a32a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم رسالة تحميل الملفات */
.file-upload-section {
    background-color: #ffffff;
    border: 2px dashed #28a745;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

/* تصميم زر اختيار الملف */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: 10px;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-input-label {
    display: inline-block;
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.file-input-label:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم قائمة الصلاحيات */
.role-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* تصميم عرض الصور */
.student-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
}

/* تصميم حالة التسجيل */
.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.status-completed {
    background-color: #28a745;
    color: white;
}

.status-pending {
    background-color: #ffc107;
    color: #212529;
}

.status-rejected {
    background-color: #dc3545;
    color: white;
}

/* تصميم زر العودة */
.back-to-dashboard {
    padding: 12px 24px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    display: inline-block;
    margin: 10px 0;
}

.back-to-dashboard:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم قائمة الكليات */
.colleges-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.college-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.college-item h4 {
    color: #333;
    margin-bottom: 10px;
}

.college-item p {
    color: #6c757d;
    font-size: 14px;
}

/* تصميم زر إضافة كلية */
.add-college-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 10px;
}

.add-college-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم نموذج إضافة كلية */
.college-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* تصميم زر حذف */
.delete-college-btn {
    padding: 8px 15px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.delete-college-btn:hover {
    background-color: #c82333;
}

/* تصميم زر تعديل */
.edit-college-btn {
    padding: 8px 15px;
    background-color: #ffc107;
    color: #212529;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.edit-college-btn:hover {
    background-color: #e0a800;
}

/* تصميم قائمة المستخدمين */
.users-list {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.user-row {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.user-info {
    flex: 1;
}

.user-actions {
    display: flex;
    gap: 10px;
}

/* تصميم زر إضافة مستخدم في لوحة التحكم */
.admin-add-user-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 20px 0;
    display: block;
    width: fit-content;
}

.admin-add-user-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم نموذج إضافة مستخدم في لوحة التحكم */
.admin-user-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* تصميم قائمة الفلاتر */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    background-color: #6f42c1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

/* تصميم جدول الطلبات */
.requests-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.requests-table th,
.requests-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #ddd;
    
}

.requests-table th {
    background-color: #f8f9fa;
    color: #007bff;
    font-weight: bold;
}

.requests-table tr:hover {
    background-color: #f8f9fa;
}

/* تصميم زر عرض التفاصيل */
.view-btn {
    padding: 8px 15px;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.view-btn:hover {
    background-color: #138496;
}

/* تصميم زر قبول */
.accept-btn {
    padding: 8px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.accept-btn:hover {
    background-color: #218838;
}

/* تصميم زر رفض */
.reject-btn {
    padding: 8px 15px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.reject-btn:hover {
    background-color: #c82333;
}

/* تصميم عرض تفاصيل الطلب */
.request-details {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.detail-row {
    display: flex;
    margin: 5px 0;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
}

.detail-label {
    flex: 2;
    font-weight: bold;
    color: #333;
    font-size: 12px;
}

.detail-value {
    flex: 2;
    font-weight: bold;
    color: #333;
    font-size: 12px;
}

/* تصميم عرض المرفقات */
.attachments-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
    
}

.attachment-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
}

.attachment-icon {
    margin-left: 10px;
    color: #28a745;
    font-size: 14px;
}

.attachment-link {
    color: #28a745;
    text-decoration: none;
    font-size: 14px;
}

.attachment-link:hover {
    text-decoration: underline;
}

/* تصميم زر طباعة */
.print-btn {
    padding: 12px 24px;
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 20px 0;
    display: block;
    width: fit-content;
}

.print-btn:hover {
    background-color: #5a32a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم زر تصدير إلى PDF */
.pdf-btn {
    padding: 8px 15px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 0 10px;
    display: inline-block;
}

.pdf-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم زر تصدير إلى Excel */
.excel-btn {
    padding: 8px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 0 10px;
    display: inline-block;
}

.excel-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم زر إرسال بريد إلكتروني */
.email-btn {
    padding: 12px 24px;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 0 10px;
    display: inline-block;
}

.email-btn:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم قائمة التنقل */
.nav-btn {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background-color: #a4d5b0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-btn a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-btn a:hover {
    background-color: #ffffff;
    color: white;
}

.nav-btn a.active {
    background-color: #ffffff;
    color: white;
}

.nav-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
/* تصميم زر تسجيل الخروج */
.logout-btn {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background-color: #a4d5b0;    
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logout-btn a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.logout-btn a:hover {
    background-color: #ffffff; 
    color: white;
}

.logout-btn a.active {
    background-color: #ffffff; 
    color: white;
}

.logout-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم عرض إحصائيات */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

.stat-label {
    color: #6c757d;
    font-size: 16px;
}

/* تصميم زر تحديث */
.refresh-btn {
    padding: 12px 24px;
    background-color: #ffc107;
    color: #212529;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 10px;
}

.refresh-btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم قائمة الإشعارات */
.notifications-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.notification-icon {
    margin-left: 15px;
    font-size: 20px;
    color: #28a745;
}

.notification-content {
    flex: 1;
}

.notification-time {
    color: #6c757d;
    font-size: 12px;
}

/* تصميم زر عرض الكل */
.view-all-btn {
    padding: 12px 24px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 10px;
    display: block;
    width: fit-content;
}

.view-all-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم عرض التقويم */
.calendar-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    padding: 10px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-weight: bold;
}

.calendar-date {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-date:hover {
    background-color: #28a745;
    color: white;
}

.calendar-date.active {
    background-color: #28a745;
    color: white;
}

/* تصميم زر إضافة حدث */
.add-event-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    margin: 10px 0;
}

.add-event-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* تصميم نموذج إضافة حدث */
.event-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* تصميم قائمة الأحداث */
.events-list {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.event-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.event-info {
    flex: 1;
}

.event-actions {
    display: flex;
    gap: 10px;
}

/* تصميم زر حذف حدث */
.delete-event-btn {
    padding: 8px 15px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.delete-event-btn:hover {
    background-color: #c82333;
}

/* تصميم زر تعديل حدث */
.edit-event-btn {
    padding: 8px 15px;
    background-color: #ffc107;
    color: #212529;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.edit-event-btn:hover {
    background-color: #e0a800;
}

/* إضافة أنماط زر التجميد */
.freeze-btn {
    padding: 8px 15px;
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

.freeze-btn:hover {
    background-color: #5a32a3;
}

/* تحسينات إضافية للتجاوب */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .admin-nav {
        flex-direction: column;
    }
    
    .filters-container {
        flex-direction: column;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .colleges-list {
        grid-template-columns: 1fr;
    }
}