/* إضافة نمط للجسم */
body {
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', sans-serif;
  background-color: #f5f5f5;
}

/* إضافة نمط للتحميل */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Tajawal', sans-serif;
}

.loading-spinner::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* إضافة نمط للقائمة الجانبية */
.sidebar {
  width: 250px;
  height: 100vh;
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* إضافة نمط للمحتوى الرئيسي */
.main-content {
  margin-right: 250px;
  padding: 1rem;
}

/* إضافة نمط للأزرار */
button {
  cursor: pointer;
  font-family: 'Tajawal', sans-serif;
}

/* إضافة نمط للروابط */
a {
  text-decoration: none;
  color: #3498db;
}

/* إضافة نمط للعناوين */
h1, h2, h3, h4, h5, h6 {
  color: #2c3e50;
}

/* إضافة نمط للجداول */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 8px;
  text-align: right;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* إضافة نمط للنماذج */
input, select, textarea {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Tajawal', sans-serif;
}

/* إضافة نمط للرسائل */
.message {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}

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

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

/* إضافة نمط للبطاقات */
.card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 1rem;
}