body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* لون خلفية الصفحة */
    color: #333; /* لون النص العام */
  }
  
   /* تحسين شكل النصوص والعناصر العامة */
   .container {
    text-align: center;
  }
  
  .content {
    max-width: 600px;
    margin: auto; /* ليتم وضع العناصر في وسط الصفحة */
  }

  

  .slideInTable {
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  
  .slideInTable.show {
    transform: translateY(0);
    opacity: 1;
  }
  
  
  @keyframes slideIn {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
  }
  
  .slideInEffect {
    animation: slideIn 1s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .fadeInEffect {
    animation: fadeIn 1s ease-in-out;
  }
  
  

.section h2 {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}
  
  /* تنسيق الأقسام */
  .section {
    margin-bottom: 40px;
  }
  
  #linksTable,
  #accountsTable,
  #requestsTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  
  
  td a {
    word-wrap: break-word;
    color: #007bff; /* تغيير لون الرابط */
    text-decoration: none; /* إزالة تزيين الرابط */
    transition: color 0.3s ease; /* تأثير عند التحويل */
    font-weight: bold;
  }

  
  
  td a:hover {
    color: rgb(2, 133, 35); /* تغيير لون الرابط عند التحويل */
  }
  
  th, td {
    width: 25%;
    padding: 12px;
    text-align: center;
    font-size: 16px; /* تكبير حجم الخط */
    font-weight: bold;
  }
  
  /* تحسينات للعناصر في الجدول */
  th {
    background-color: #e85a4f;
    color: white;
    font-weight: bold;
  }
  
  td {
    background-color: #ccc;
  }
  
  /* تحسينات للأزرار */
  button {
    padding: 8px 16px;
    font-weight: bold;
    background-color: #111;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-size: 20px;
    transition: background-color 0.3s ease, border-radius 0.3s ease-in-out;
  }
  
  button:hover {
    background-color: rgba(34, 34, 34, 0.5); /* لون أسود (الرمز #222) بنفس الشفافية */

    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* لون أسود بنفس الشفافية */
  }

  .dark-mode td {
    background-color: #333;
  }
  
  
  .toggle-mode {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }

  .scrollable-container {
    max-height: 400px; /* Adjust height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
  }
  

/* أنماط الـ select */
.custom-select {
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 10px;
  border: 2px solid #ccc;
  background-color: #f8f8f8;
  font-weight: bold;
  color: #333;
  width: 300px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
  background-position: calc(100% - 25px) 50%, calc(100% - 20px) 50%;
  background-size: 15px 15px, 15px 15px;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* أنماط الـ option */
.custom-select option {
  background-color: #f8f8f8;
  color: #333;
  font-weight: bold;
}

/* أنماط عنصر الـ select عند الهوفر */
.custom-select:hover {
  border-color: #aaa;
  background-color: #e0e0e0;
}

/* أنماط عنصر الـ select عند الفوق */
.custom-select:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
}

/* أنماط الـ option عند الهوفر */
.custom-select option:hover {
  background-color: #ddd;
  color: #000;
}

/* أنماط الـ option عند الفوق */
.custom-select option:checked {
  background-color: #ddd;
  color: #000;
}

/* أنماط الـ select عند الفتح */
.custom-select:active {
  border-color: #888;
  background-color: #f0f0f0;
}

/* أنماط لإظهار القائمة السفلية للـ option */
.custom-select select::-ms-expand {
  display: none;
}

/* أنماط لصندوق الـ option */
.custom-select select {
  padding: 8px;
  border: none;
  background-color: #f8f8f8;
  color: #333;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  appearance: none;
}

  
  .green-text {
    color: #0bb83f; /* اللون الأخضر المطلوب */
    position: relative;
    display: inline-block;
  }


  /* تحديد شكل الدائرة الدوارة */
  .green-text::before {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #0bb83f; /* اللون الأخضر المطلوب */
    animation: rotateCircle 1.5s ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 0 10px rgba(11, 184, 63, 0.8); /* تأثير ظل لإضافة عمق */
  }
  
  /* تحديد حركة الدائرة الدوارة */
  @keyframes rotateCircle {
    0%, 50%, 100% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
    }
    25% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
  }
  
  
  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
  }
  
  .switch i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: .4s;
    color: #fff; /* لون الأيقونات */
  }
  
  /* وضع الأيقونة الشمس */
  .switch i:first-child {
    left: 5px; /* ضع موقع الأيقونة الشمس */
  }
  
  /* وضع الأيقونة القمر */
  .switch i:last-child {
    right: 5px; /* ضع موقع الأيقونة القمر */
  }
  
  /* عند تفعيل الوضع الداكن */
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  input:checked + .slider i:first-child {
    opacity: 0; /* إخفاء الأيقونة الشمس في الوضع الداكن */
  }
  
  input:checked + .slider i:last-child {
    opacity: 1; /* إظهار الأيقونة القمر في الوضع الداكن */
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    background-color: #2196F3;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .dark-mode {
    background-color: #222; /* لون الخلفية في الوضع الداكن */
    color: #fff; /* لون النص في الوضع الداكن */
    /* يمكنك إضافة أي تعديلات أخرى هنا */
  }
  
  /* CSS الحالي هنا */
  
  /* تحسين شكل الهيدر والقائمة */
  /* CSS الحالي هنا */
  
  /* تحسين شكل الهيدر وأزرار القائمة */
  header {
    padding: 1px;
    text-align: center;
    background-color: #ccc;
    box-shadow: 0  0 10px#333;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    position: relative; /* تغيير إعدادات الـ position للسماح بتحكم أفضل */
  }
  
  
  
  
  .loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background-color: #e85a4f;
    box-shadow: 0 0 10px #e85a4f; /* تأثير ظل لإضافة عمق */
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out; /* إضافة تأثير للتأكد من سلاسة التحميل */
    z-index: 10;
    opacity: 0; /* إخفاء الشريط عند عدم التحميل */
  }
  
  /* styles.css */
  
  /* أنميشن ظهور المربع */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* أنميشن اختفاء المربع */
  @keyframes fadeOut {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-10px);
    }
  }
  
  /* أنميشن للرسومات عند تحويم الماوس */
  @keyframes focusBorder {
    0% {
      box-shadow: 0px 0px 5px 0px rgba(0, 255, 0, 0.7);
    }
    50% {
      box-shadow: 0px 0px 15px 0px rgba(0, 255, 0, 0.7);
    }
    100% {
      box-shadow: 0px 0px 5px 0px rgba(0, 255, 0, 0.7);
    }
  }
  
  /* أسلوب CSS للمربع والانميشن */
  #accountDropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 150px;
    animation-duration: 0.3s; /* مدة الانميشن */
  }
  
  #accountDropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .dark-mode #accountDropdown a {
    color: rgb(0, 0, 0);
  }
  
  #accountDropdown a:hover {
    background-color: #f0f0f0;
  }
  
  
  /* تطبيق الانميشن عند الظهور */
  .fadeIn {
    animation-name: fadeIn;
  }
  
  /* تطبيق الانميشن عند الاختفاء */
  .fadeOut {
    animation-name: fadeOut;
  }
  
  
  .light-mode .loading-bar {
    display: none;
  }
  
  /* أنيميشن للشريط */
  @keyframes moveLoadingBar {
    0% {
      width: 0;
    }
    50% {
      width: 50%;
    }
    100% {
      width: 100%;
    }
  }
  
  
  .dark-mode header {
    background-color: #333; /* لون خلفية الهيدر في الوضع الداكن */
    box-shadow: 0  0 10px#000;
    color: #fff; /* لون النص في الوضع الداكن */
  }
  
  .main-menu {
    position: relative; /* تغيير إعدادات الـ position للسماح بالتعديلات */
  }
  
  .main-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* لوضع الأزرار على المين */
    position: relative; /* تغيير إعدادات الـ position للسماح بالتعديلات */
  }
  
  .main-menu ul li {
    margin: 0 20px;
    position: relative;
  }
  
  .main-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease-in-out;
  }
  
  
  .dark-mode .main-menu ul li a {
    color: #fff; /* لون الروابط في الوضع الداكن */
  }
  
  /* تحسين شكل الخطوط تحت النصوص */
  .main-menu ul li a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #e85a4f; /* لون الخط الذي يظهر عند التحويم */
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
  }
  
  .main-menu ul li a:hover::before {
    width: 100%;
    left: 0;
  }
  
  
  .main-menu ul li a:hover {
    color: #e85a4f; /* لون الروابط عند التحويم */
  }
  
  
  /* تحسين شكل الزر "صفحة رئيسية" */
  .main-menu ul li:nth-child(1) a {
    color: #e85a4f; /* لون الروابط */
    position: relative; /* إضافة خصائص للوضع النسبي */
  }
  
  /* تحسين شكل الزر "صفحة رئيسية" مع حركة للخط */
  .main-menu ul li:nth-child(1) a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0; /* يبدأ من اليسار بصورة دائمة */
    width: 21%;
    height: 3px;
    background-color: #e85a4f; /* لون الخط أسفل الزر */
    transition: left 2s ease-in-out; /* حركة الخط */
    animation: moveLine 2s infinite alternate; /* حركة الخط بين اليمين والشمال */
  }
  
  /* الأنيميشن لحركة الخط */
  @keyframes moveLine {
    0% {
      left: 0;
    }
    100% {
      left: calc(100% - 20px); /* يذهب لليمين حتى نهاية الزر */
    }
  }
  
  
/* تحسين شكل الزر */
  .highlight-button {
    background-color: #e85a4f; /* لون الزر */
    color: #fff; /* لون النص على الزر */
    border: none;
    font-weight: bold;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    box-shadow: 0 0 10px #e85a4f; /* تأثير ظل لإضافة عمق */
    
  }
  
  .highlight-button:hover {
    background-color: #0bb83f; /* لون الزر عند التحويم */
    box-shadow: 0 0 10px rgba(11, 184, 63, 0.8); /* تأثير ظل لإضافة عمق */
  }
  
  /* تحسين شكل العناصر الرئيسية */
  .container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .content {
    max-width: 600px;
  }
  
  
  /* الستايلات الحالية هنا */
  
  /* إضافة شكل دائري للأيقونات الاجتماعية */
  .social-icons {
    margin-top: 20px;
  }
  
  .social-icons a {
    display: inline-block;
    margin-right: 10px;
    background-color: #0bb83f;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s ease-in-out;
    
  }
  
  .social-icons a:hover {
    border-color: #09831d; /* تغيير لون الحدود عند التركيز */
    outline: none; /* إزالة الـ outline الافتراضي */
    animation: focusBorder 1.5s infinite; /* تحديد الانميشن */
  }
  
  @keyframes focusBorder {
    0% {
        box-shadow: 0px 0px 5px 0px rgba(0, 255, 0, 0.7);
    }
    50% {
        box-shadow: 0px 0px 15px 0px rgba(0, 255, 0, 0.7);
    }
    100% {
        box-shadow: 0px 0px 5px 0px rgba(0, 255, 0, 0.7);
    }
  }
  
  /* أسلوب CSS لتزيين الـ footer */
  footer {
    background-color: #ccc;
    color: rgb(0, 0, 0); /* لون النص داخل الـ footer */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    padding: 0.1px 0; /* مسافة داخلية للـ footer */
    text-align: center; /* توسيط النص في الـ footer */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    max-width: 1200px; /* أقصى عرض للمحتوى في الـ footer */
    margin: 0 auto; /* توسيط المحتوى في الـ footer */
  }
  
  .dark-mode footer {
    background-color: #333; /* لون خلفية الهيدر في الوضع الداكن */
    box-shadow: 0  0 3px#000;
    color: #fff; /* لون النص في الوضع الداكن */
  }
  
  .footer-content p {
    font-size: 15px; /* حجم الخط */
    font-weight: bold; /* تحديد سمك الخط */
  }
  
  
  
  
      /* أسلوب CSS للوجو النصي */
      .logo {
        position: absolute;
        top: 0;
        left: 20px; /* تعديل المسافة من الحافة اليسرى */
        margin: 14px 0; /* تعديل الهامش العمودي حسب الحاجة */
        font-size: 30px; /* حجم النص */
        font-weight: bold; /* سمك النص */
        color: #e85a4f; /* لون النص */
        text-transform: uppercase; /* تحويل النص إلى حروف كبيرة */
        letter-spacing: 2px; /* مسافات بين الحروف */
        font-family: 'Arial', sans-serif; /* خط النص */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2), 0 0 25px rgba(0, 0, 0, 0.1); /* ظلال النص */
        opacity: 0; /* الشفافية: النص غير مرئي في البداية */
        animation: fadeIn 1.5s ease-in-out forwards; /* تأثير تلاشي عند دخول الصفحة */
        transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out; /* تأثيرات انتقالية */
      }
  
      /* تأثير تلاشي عند دخول الصفحة */
      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
  
      /* تغيير لون النص وتأثير الظل عند تحويل المؤشر فوقه */
      .logo:hover {
        color: #0bb83f; /* لون مختلف عند تحويل المؤشر فوقه */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), 0 0 35px rgba(0, 0, 0, 0.3); /* تأثيرات ظلال مختلفة عند تحويل المؤشر فوقه */
      }

.chat-widget {
  background-color: #ccc;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 500px; /* يمكنك ضبطه حسب الحاجة */
  
}

.chat-widget h3 {
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
  color: #fff;
  position: relative;
}

.chat-widget input[type="text"],
.chat-widget textarea {
  width: 90%;
  font-weight: bold;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #777;
  border-radius: 10px;
  background-color: #ccc;
  color: #000;
  transition: all 0.3s ease, border-radius 0.3s ease-in-out;
}

.chat-widget input[type="text"]:focus,
.chat-widget textarea:focus {
  outline: none;
  border-color: #fff;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.chat-widget button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: rgb(119, 117, 117);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, border-radius 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.chat-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.chat-widget button:hover {
  background-color: rgba(12, 12, 12, 0.5);
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(197, 192, 192, 0.5);
}

.dark-mode .chat-widget {
  background-color: #333;
}

.dark-mode .chat-widget input[type="text"],
.dark-mode .chat-widget textarea {
  background-color: #444;
}

.dark-mode .chat-widget button {
  background-color: #111;
}

.dark-mode .chat-widget button:hover {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/* CSS Styles */
.message .sender {
  font-weight: bold;
  margin-bottom: 4px;
}

.message.user .sender {
  color: #3498db; /* لون "You" */
}

.message.support .sender {
  color: #27ae60; /* لون "Support" */
}

.message .sender:before {
  font-family: 'Font Awesome 5 Free'; /* يجب أن يكون لديك رابط الخطوط المضافة في الصفحة */
  margin-right: 8px;
  font-weight: 900;
  display: inline-block;
  transition: transform 0.3s ease;
}

.message.user .sender:before {
  content: "\f007"; /* رمز "You" - يمكن تغييره حسب الرمز المطلوب */
}

.message.support .sender:before {
  content: "\f11e"; /* رمز "Support" - يمكن تغييره حسب الرمز المطلوب */
}

/* Animation - تأثير الظهور */
.message {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.chat-widget .messages {
  max-height: 300px; /* يمكن تعديل الحجم حسب الرغبة */
  overflow-y: auto;
  scrollbar-width: thin; /* تمكين شريط التمرير للمتصفحات الحديثة */
}

.chat-widget .messages::-webkit-scrollbar {
  width: 6px; /* عرض شريط التمرير */
}

.chat-widget .messages::-webkit-scrollbar-thumb {
  background-color: #888; /* لون الشريط */
  border-radius: 4px; /* شكل الحواف */
}