﻿   body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      color: #333;
      background: #f0f2f5;
    }
    header {
      background: linear-gradient(135deg, #00bcd4, #0097a7);
      color: #fff;
      padding: 15px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      position: relative;
    }
    .logo {
      display: flex;
      align-items: center;
    }
    .logo img {
      width: 120px;
    }
    .logo h1 {
      margin-left: 15px;
      font-size: 2em;
      font-weight: bold;
      color: #fff;
    }
    .nav-bar a {
      color: #fff;
      text-decoration: none;
      background: #ff5722;
      padding: 10px 20px;
      border-radius: 5px;
      font-size: 1.1em;
      transition: background 0.3s;
    }
    .nav-bar a:hover {
      background: #e64a19;
    }
    .adsense {
      background-color: #fff;
      padding: 15px;
      text-align: center;
      margin: 20px 0;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .adsense iframe {
      width: 100%;
      height: 90px;
      border: none;
    }
    .container {
      padding: 20px;
      max-width: 1200px;
      margin: 0 auto;
      background-color: #fff;
      border-radius: 5px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    input[type="text"] {
      width: calc(50% - 22px);
      padding: 10px;
      margin: 10px 10px 10px 0;
      border: 2px solid #00bcd4;
      border-radius: 5px;
    }
    button {
      padding: 10px 20px;
      background-color: #00bcd4;
      border: none;
      color: white;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1em;
      transition: background 0.3s;
    }
    button:hover {
      background-color: #0097a7;
    }
    video {
      width: 100%;
      border: 2px solid #00bcd4;
      border-radius: 5px;
    }
    .footer {
      background-color: #333;
      color: white;
      text-align: center;
      padding: 10px;
      position: relative;
      margin-top: 20px;
    }
    .footer a {
      color: #00bcd4;
      text-decoration: none;
    }
    .footer a:hover {
      text-decoration: underline;
    }
   .video-wrapper {
  position: relative; /* لتحديد موقع قائمة القنوات بالنسبة للفيديو */
  width: 100%; /* تأكد من أن الفيديو وقائمة القنوات يشغلان العرض الكامل */
}

video {
  width: 100%; /* تأكد من أن الفيديو يشغل العرض الكامل */
  border: 2px solid #00bcd4;
  border-radius: 5px;
}

.channel-list {
  position: absolute; /* وضع القائمة فوق الفيديو */
  top: 0;
  left: 0;
  width: 100%;
  max-width: 200px;
  height: 100%; /* تأكد من أن القائمة تغطي كامل الفيديو إذا لزم الأمر */
  max-height: 90%;
      margin: 5px;
    border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.8); /* خلفية شبه شفافة */
  color: white;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-bottom: 2px solid #00bcd4;
  z-index: 10; /* تأكد من أن القائمة فوق الفيديو */
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* يسمح بالتمرير إذا كانت القائمة كبيرة */
}

.channel-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.channel-list li {
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.54);
    padding: 5px;
    border-radius: 5px;
}

.channel-list img {
  width: 50px;
  height: 30px;
  margin-right: 10px;
}

.channel-list span {
  font-size: 1.1em;
}
/* تخصيص شريط التمرير للمتصفح */
::-webkit-scrollbar {
    width: 12px; /* عرض شريط التمرير */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* لون خلفية شريط التمرير */
    border-radius: 10px; /* حواف دائرية لشريط التمرير */
}

::-webkit-scrollbar-thumb {
    background: #888; /* لون مقبض شريط التمرير */
    border-radius: 10px; /* حواف دائرية لمقبض شريط التمرير */
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* لون مقبض شريط التمرير عند التمرير فوقه */
}
  .alert-message {
    display: flex;
    align-items: center;
    background-color: #ffeb3b; /* لون الخلفية الأصفر الفاتح */
    color: #000; /* لون النص */
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    font-size: 1em;
    position: relative; /* لجعل الأيقونة والنص في نفس السطر */
    margin: 10px;
  }

  .alert-message i {
    font-size: 1.5em;
    color: #f44336; /* لون الأيقونة */
    margin-right: 10px;
  }

  .alert-message span {
    font-size: 1em;
  }

  /* إخفاء الرسالة بشكل افتراضي */
  #alertMessage {
    display: none;
  }