body {
    margin: 0;
   font-family: 'Tajawal', sans-serif;
    color: #2c2c2c;
    padding-bottom: 38px;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
     transition: background-color 0.3s ease, color 0.3s ease;
}



#arrow-indicator {
    position: fixed;
    right: 33px;
    top: 31px;
    width: 48px;
    height: auto;
    opacity: 0;
    z-index: 1000;
    animation: bounce 1s infinite;
    transition: opacity 0.5s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: rotate(-42deg) translateY(0);
    }
    50% {
        transform: rotate(-42deg) translateY(-2px);
    }
}



.side-menu {
  background-color: #f6f6f6;
  height: 100%;
  max-height: 100vh;
  overflow-y: auto;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(5px);
  padding-top: 58px;
  position: fixed;
  right: -262px;
  top: 0;
  z-index: 1002;
  transition: right 0.3s ease;
  width: 260px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  border-left: 2px solid #e8e8e8;
  scrollbar-width: thin;
  scrollbar-color: #c0c0c0 #f5f5f5;
  direction: rtl;
}

.side-menu button {
  background: none;
  border: none;
  color: #333333;
  width: 100%;
  padding: 12px 20px;
  text-align: right;
   font-family: 'Tajawal', sans-serif;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s;
}

#swipe-open-area {
  position: fixed;
  top: 60px;
  right: 0;
  width: 30px; /* تقريبًا نصف سم */
  height: 82vh;
  z-index: 9999;
  background : transparent; /* خلفية شفافة */
  touch-action: none; /* تمنع تصرفات النظام على الحافة */
}

.side-menu button i {
  color: #3b82f6;
  margin-left: 10px;
}

.side-menu button:hover {
  background-color: #f8f9fa;
}

.side-menu.open {
  right: 0;
}

/* Dropdown section */
.menu-toggle {
  justify-content: space-between;
}

.submenu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.submenu.open {
  max-height: 500px;
  opacity: 1;
}

.submenu button {
  background-color: #f8f9fa;
  padding-right: 30px;
  font-size: 13px;
  color: #666666;
  display: flex;
  align-items: center;
  border: none;
  text-align: right;
}

.submenu button i {
  color: #344465;
  margin-left: 10px;
  min-width: 18px;
}

.submenu button:hover {
  background-color: #e9ecef;
}

.menu-toggle {
  justify-content: space-between;
  position: relative;
}



.submenu.open ~ .arrow-icon,
.menu-toggle.open .arrow-icon {
  transform: rotate(180deg);
}

.side-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
}

.side-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.heart {
  color: #e74c3c;
  font-size: 1.2em;
  animation: beat 1s infinite;
  margin: 0 2px;
  display: inline-block;
  vertical-align: middle;
}

@keyframes beat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.by-ali {
  font-weight: 600;
  bottom: 100px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  margin-top: 10%;
  color: #888888;
  padding-bottom: 5px;
  user-select: none;
  letter-spacing: 0.5px;
  user-select: none;
}

.arrow-icon {
  transition: transform 0.3s ease;
  margin-right: auto;  /* يجعل السهم في أقصى اليسار */
  font-size: 13px;
}

#nav-icon1 {
    width: 26px;
        height: 26px; /* بدل 3px حتى يحتوي الخطوط الثلاثة + مساحة حولها */

    position: fixed;
    right: 14px;
    top: 20px;
    cursor: pointer;
    
    transition: .5s ease-in-out;
    z-index: 1001;
}



#nav-icon1 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 83%;
    background: #333333;
    border-radius: 9px;
    left: 0;
    transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
    top: 0px;
}

#nav-icon1 span:nth-child(2) {
    top: 8px;
}

#nav-icon1 span:nth-child(3) {
    top: 16px;
}

#nav-icon1.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
     background-color: rgb(182, 84, 84); /* Added this line */
}

#nav-icon1.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
   
}

#nav-icon1.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
    background-color: rgb(182, 84, 84); /* Added this line */

}


/* Basic styling for the header */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px; /* Reduced the top and bottom padding to 5px */
  background-color: #fcfcfc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  
  /* These are the key properties to make it sticky */
  position: sticky;
  top: 0;
  z-index: 1009; /* Ensures the top bar stays on top of other content */
}

/* Styling for the left section (logo and name) */
.left-section {
  display: flex;
  align-items: center;
}

/* New CSS to style the dotLottie logo */
.dotlottie-logo {
  /* This is the key part to make it smaller */
  width: 50px; 
  height: 50px;
  margin-right: 10px; /* Provides spacing between the logo and the site name */
}

.site-name {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
}






.content {
    padding: 20px 20px 0px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    color: #2c2c2c;
}

.content h1 {
    text-align: center;
    color: #236bd0;
   font-family: 'Tajawal', sans-serif;
    font-size: 22px;
}

.content h2 {
    text-align: center;
    font-size: 13px;
    margin: 20px 0;
    line-height: 1.6;
    color: #565a61;
}

.custom-text {
    text-align: justify;
    direction: rtl;
    color: #6b7280;
    font-size: 14px;
    line-height: 2;
    border-radius: 8px;
}

.note-text {
    color: #374151;
    font-size: 14px;
}




.content input[type="number"] {
    cursor: text;
}

.content input::placeholder {
    color: #9ca3af;
}

.content .dropdown {
    position: relative;
}

.content .dropdown::after {
    appearance: none;
            -webkit-appearance: none; /* For Safari/Chrome */
            -moz-appearance: none;    /* For Firefox */
    content: ' ▼';
    position: absolute;
    top: 60%;

    left: 12px;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 10px;
    pointer-events: none;
    margin-top: -5px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.content select:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
    cursor: not-allowed;
}

#show-data-btn {
    padding: 8.4px 20px;
    background-color: #346cc6;
    color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

#show-data-btn:hover {
    background-color: #2563eb;
}

#show-data-btn:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
}

#data-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
     border: 1px solid #e5e7eb;
}

#data-table th,
#data-table td {
    padding: 10px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

#data-table th {
    background-color: #f7fbfef1;
    color: #374151;
    font-weight: 600;
}

#data-table td {
    background-color: #fffffff9;
    color: #525763;
}

.college-header-cell {
   font-weight: bold;
    font-size: 13px !important
}



#data-table tbody tr:not(.college-header-row):hover td {
  background-color: #f5faff !important;
  transition: background-color 0.2s ease;
}


@media (max-width: 600px) {
    #data-table {
        font-size: 15px;
    }

    #data-table th,
    #data-table td {
  padding: 10px 8px;
          font-size: 15px;
    }

    #data-table-container {
        overflow-x: auto;
    }

    #data-table th {
        white-space: nowrap;
    }

    #data-table td {
        word-break: break-word;
    }
}

.highlight-fail {
    background-color: #fef2f2;
    color: #db5e5e;
    animation: fadeInRed 0.7s ease-out forwards;
}

@keyframes fadeInRed {
    from {
        background-color: transparent;
        color: inherit;
    }
    to {
        color: #c44949;
    }
}



#additional-info {
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
    text-align: justify;
    direction: rtl;
}

#additional-info ol {
    padding-right: 1px;
    list-style-position: inside;
}

#additional-info li {
    margin-bottom: 10px;
}

#additional-info ol li::marker {
    color: #374151;
}

label i {
    margin-left: 5px;
    color: #3b82f6;
}

.content label {
    font-size: 14px;
    margin: 10px 0;
    display: block;
    color: #374151;
    text-align: right;
    direction: rtl;
}

#table-title {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    color: #1f2937;
    margin-top: 20px;
    margin-bottom: 10px;
}

.study-message {
    font-size: 12px;
      margin-top: -30px;
    color: #404040;
    text-align: right;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.study-message .highlight-text {
    color: #146be4;
}


/* This code hides the tab bar by default on large screens */
.tab-bar {
  display: none;
}




/* Media query to show the tab bar on mobile devices */
@media (max-width: 1100px) {
  .tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    display: flex;
  }

  .site-name {
 margin-top: 4px;
}


  .tab-list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .tab-item {
    flex-grow: 1;
    text-align: center;
  }

  /* Adjustments for a slightly smaller size */
  .tab-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 0; /* Slightly reduced padding */
    text-decoration: none;
    color: #5b7396;
    font-size: 11px; /* Slightly reduced font size */
    transition: color 0.3s ease;
  }

  /* Adjusting icon size */
  .tab-item a i {
    font-size: 22px; /* Slightly reduced icon size */
    margin-bottom: 8px; /* Slightly reduced space below icon */
  }

  .tab-label {
    display: block;
  }

  /* Hover and active state styling */
  .tab-item a:hover,
  .tab-item a:focus,
  .tab-item.active a {
    color: #1470d3;
  }

  .tab-item a:hover i,
  .tab-item a:focus i,
  .tab-item.active a i {
    transform: scale(1.1);
  }
}




.theme-toggle-button-container {
            position: absolute;
            top: 0.65rem;
            right: 3.4rem;
        }
        
        .theme-toggle-button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: background-color 0.3s ease;
            line-height: 0;
        }

        .theme-toggle-button:hover {
 transform: scale(1.1);  
      }
        
      

        .theme-icon {
            width: 22px;
            height: 22px;
            transition: transform 0.6s ease-in-out;
            /* Removed SVG-specific stroke-width */
        }

        .tooltip {
            position: absolute;
            top: 98%; /* Position it below the button */
            right: 47%;
            transform: translateX(50%) translateY(0.5rem);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 0.5rem;
            font-size: 0.83rem;
            white-space: nowrap;
            opacity: 0; /* Initially hidden */
            pointer-events: none; /* Allows clicks to pass through */
            transition: opacity 0.5s ease-in-out;
        }

        .tooltip.visible {
            opacity: 1;
        }

        /* Arrow for the tooltip */
        .tooltip::before {
            content: '';
            position: absolute;
            bottom: 100%;
            right: 50%;
            transform: translateX(50%);
            border-width: 0.5rem;
            border-style: solid;
            border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
        }
     

        #table-title {
    color: #313131;
}



table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #f1f1f1;
    border-radius: 8px;
    direction: rtl;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* تنسيق رؤوس الأعمدة */
th {
    background-color: #f7fbfef1;
    color: #374151;
    font-weight: 600;
    padding: 10px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

/* تنسيق الخلايا */
td {
    background-color: #fffffff9;
    color: #525763;
    padding: 10px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

/* عنوان الجدول */
#table-title {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    color: #3c3c3c;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* تأثير عند مرور الفأرة */
table tbody tr:hover td {
    background-color: #f5faff !important;
    transition: background-color 0.2s ease;
}

/* حجم أصغر في شاشات الجوال */
@media (max-width: 600px) {
    table {
        font-size: 15px;
    }

    th,
    td {
        padding: 10px 8px;
        font-size: 15px;
    }

    th {
        white-space: nowrap;
    }

    td {
        word-break: break-word;
    }
}


.content input[type="number"],
.input-group input,
.input-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 38px;
    line-height: 1.5;
    padding: 10px 12px;
    margin: 10px 0;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    color: #374151;
    background-color: #ffffff;
    
    border: 1.5px solid #a1a8b3;
    border-radius: 5px;
    text-align: right;
    direction: rtl;
    cursor: text;
    box-sizing: border-box;
}



.input-group-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    margin: 0;
    
}

#result {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin: 10px auto 10px;
    border-radius: 29px;
    padding: 5px 15px;
    color: #1c58b8;
    width: 200px;
}

input:invalid {
    border-color: red;
}

.input-group1 {
    display: flex;
    align-items: center;
    direction: rtl;
    
    margin-top: -24px;
}

.branch-label {
    margin-right: 15px;
    margin-top: 15px;
    font-family: 'Tajawal', sans-serif;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
}

input[type="radio"] {
    margin-right: 13px;
    margin-top: -28px;
    cursor: pointer;
    accent-color: #346cc6; /* يعطي لون أزرق جميل */
}

.branch-text i {
    color: #3b82f6;
    padding-left: 5px;
}

.branch-text  {
 font-size: 14px;
}

/* تنسيق حاوية الأخبار الرئيسية */
#news-container {
  max-width: 840px; /* تحديد عرض أقصى للمحتوى */
  margin: 30px auto; /* توسيط الحاوية في الصفحة */
  padding: 0 15px;
   font-family: 'Tajawal', sans-serif;
  direction: rtl;
  display: flex;
  flex-direction: column;
  gap: 18px; /* مسافة موحدة وأنيقة بين بطاقات الأخبار */
}

/* ---------------------------------- */
/* 1. مؤشر التحميل المحترف (Spinner) */
/* ---------------------------------- */
.loader {
  width: 45px;
  height: 45px;
  border: 5px solid #f3f3f3; /* لون الحلقة الخلفية */
  border-top: 5px solid #2f6cae; /* لون الحلقة الأمامية المتحركة 
   font-family: 'Tajawal', sans-serif;*/
  border-radius: 50%;
  margin: 40px auto; /* توسيط المؤشر */
  animation: spin 1s linear infinite; /* تطبيق حركة الدوران */
}

/* حركة دوران المؤشر */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------------------------------- */
/* 2. تصميم بطاقة الخبر (News Item Card) */
/* ---------------------------------- */
.news-item {
  background-color: #ffffff; /* خلفية بيضاء للبطاقة */
  border-radius: 12px; /* حواف دائرية ناعمة */
  padding: 15px 25px;
  border: 1px solid #e8e8e8; /* حدود رمادية فاتحة جدًا */
  border-bottom: #146be4 3px solid; /* خط أزرق أسفل البطاقة */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02); /* ظل ناعم لإعطاء عمق */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* تأثير انتقال ناعم */
  cursor: pointer;
}

/* 3. تأثيرات تفاعلية عند تمرير الماوس */
.news-item:hover {
  transform: translateY(-5px); /* رفع البطاقة للأعلى قليلاً */
}

/* 4. تنسيق عنوان الخبر */
.news-title {
  font-size: 1.2rem;
  font-weight: 700; /* خط أعرض للعنوان */
  color: #3d3d3d; /* لون غامق للعنوان الرئيسي */
  line-height: 24px; /* ارتفاع السطر لسهولة القراءة */
  text-align: justify;
  margin: 0 0 10px 0; /* مسافة سفلية للفصل عن التاريخ */
  line-height: 1.5; /* زيادة ارتفاع السطر لسهولة القراءة */
}

/* 5. تنسيق تاريخ الخبر */
.news-date {
  font-size: 0.94rem;
  color: #888; /* لون رمادي للتاريخ والمعلومات الثانوية */
}

/* ---------------------------------- */
/* 6. استجابة التصميم للشاشات الصغيرة (الجوال) */
/* ---------------------------------- */


@media (max-width: 700px) {
  #news-container {
    padding: 0 10px;
    gap: 15px; /* تقليل المسافة بين البطاقات */
  }

  .news-item {
    padding: 18px 20px; /* تقليل الحشوة الداخلية للبطاقة */
    border-radius: 10px; /* تقليل دائرية الحواف */
      border-bottom: #3061a5 3px solid; /* خط أزرق أسفل البطاقة */

  }

  .news-title {
      line-height: 25px; /* ارتفاع السطر لسهولة القراءة */

    font-size: 0.8rem; /* تصغير خط العنوان ليتناسب مع حجم الشاشة */
  }

  .news-date {
    font-size: 0.85rem;
  }
}


/* ===================================== */
/* ==   Dark Mode Override Styles     == */
/* ===================================== */
body[data-theme='dark'] {
    background-color: #2d3748;
    color: #e2e8f0;
     transition: background-color 0.3s ease, color 0.3s ease;
}

body[data-theme='dark'] .side-menu {
    background-color: #2d3748;
    border-left-color: #4a5568;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
}

body[data-theme='dark'] .side-menu button {
    color: #e2e8f0;
    border-bottom-color: #374153;
}

body[data-theme='dark'] .side-menu button:hover {
    background-color: #4a5568;
}

body[data-theme='dark'] .side-menu button i {
    color: #63b3ed;
}

body[data-theme='dark'] #nav-icon1 span {
    background: #e2e8f0;
}

body[data-theme='dark'] .top-bar {
    background-color: #28303d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

body[data-theme='dark'] .site-name {
    color: #e2e8f0;
}

body[data-theme='dark'] .content  {
   background-color: #2d3748;
}

body[data-theme='dark'] .content h1 {
    color: #f1f1f1;
}



body[data-theme='dark'] .content h2 {
    color: #a0aec0;
}

body[data-theme='dark'] .custom-text {
    color: #8a97aa;
}


body[data-theme='dark'] .note-text {
    color: #e2e9f2;
}


body[data-theme='dark'] #additional-info {
    color: #cfd7e1;
}



body[data-theme='dark'] .content label {
    color: #e2e8f0;
}

body[data-theme='dark'] .content .dropdown select, 
body[data-theme='dark'] .content input[type="number"] {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

body[data-theme='dark'] .content .dropdown::after {
    color: #a0aec0;
}

body[data-theme='dark'] #show-data-btn {
    background-color: #2b6cb0;
    color: #ffffff;
}

body[data-theme='dark'] #show-data-btn:hover {
    background-color: #4299e1;
}

body[data-theme='dark'] #data-table {
    border-color: #4a5568;
     border: 1px solid #4a5568;
     background-color: #4a5568;
}



body[data-theme='dark'] #data-table th, 
body[data-theme='dark'] #data-table td {
    border-color: #4a5568;
}

body[data-theme='dark'] #data-table th {
    background-color: #404a5a;
    color: #e2e8f0;
}

body[data-theme='dark'] #data-table td {
    background-color: #2d3748;
    color: #c6cfda;
}

body[data-theme='dark'] #data-table tbody tr:not(.college-header-row):hover td {
    background-color: #3d4657 !important;
}

body[data-theme='dark'] .highlight-fail {
    color: #f86969;
}

body[data-theme='dark'] .tab-bar {
    background-color: #28303d;
    border-top-color: #4a5568;
}

body[data-theme='dark'] .tab-item a {
    color: #a0aec0;
}

body[data-theme='dark'] .tab-item a:hover, 
body[data-theme='dark'] .tab-item.active a {
    color: #63b3ed;
}



        body[data-theme='dark'] .study-message {  
    color: #f5f5f5;
}

body[data-theme='dark'] .study-message .highlight-text { 
    color: #5097fa;
}

body[data-theme='dark'] .submenu button {
  background-color: #2e3746;
}



body[data-theme='dark'] #table-title {
    color: #eaeaea;
}

body[data-theme='dark'] #additional-info ol li::marker {
    color: #cacaca;
}


body[data-theme='dark'] #show-data-btn:disabled {
    background-color: #4e5c6f;
}

body[data-theme='dark'] .by-ali {
  color: #e1e1e1;
}


body[data-theme='dark'] table {
    border-color: #4a5568;
     border: 1px solid #4a5568;
     background-color: #4a5568;
}



body[data-theme='dark'] table th, 
body[data-theme='dark'] table td {
    border-color: #4a5568;
}

body[data-theme='dark'] table th {
    background-color: #404a5a;
    color: #e2e8f0;
}

body[data-theme='dark'] table td {
    background-color: #2d3748;
    color: #c6cfda;
}

body[data-theme='dark'] table tbody tr:not(.college-header-row):hover td {
    background-color: #3d4657 !important;
}


body[data-theme='dark'] .branch-text  {
 color: #c6cfda;}


body[data-theme='dark'] 
#result {

    color: #f0f0f0;

}


/* الوضع الداكن للبطاقة الإخبارية */
body[data-theme='dark'] .news-item {
  background-color: #283140e6; /* أزرق داكن مائل للرمادي */
  border: 1px solid #334155; /* حد داكن خفيف */
    border-bottom: #3061a5 3px solid; /* خط أزرق أسفل البطاقة */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* ظل أغمق قليلاً للوضع الليلي */
}

/* عنوان الخبر في الوضع الداكن */
body[data-theme='dark'] .news-title {
  color: #e9e9e9; /* لون فاتح للعنوان */
}

/* التاريخ في الوضع الداكن */
body[data-theme='dark'] .news-date {
  color: #94a3b8dc; /* رمادي فاتح */
}
