/* --- العنوان --- */
h1 {
    text-align: center;
}

/* --- التخطيط العام لقائمة الدول --- */
.channels-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.country-section {
    flex: 1 1 calc(25% - 20px); /* 4 أعمدة على الشاشات الكبيرة */
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;

    transition: transform 0.3s ease;
}

.country-section:hover {
    transform1: scale(1.03);
}

@media (max-width: 1199px) {
    .country-section {
        flex: 1 1 calc(50% - 20px); /* 2 عمود على الشاشات المتوسطة */
    }
}

@media (max-width: 600px) {
    .country-section {
        flex: 1 1 100%; /* عمود واحد على الشاشات الصغيرة */
    }
}

/* --- رأس كل دولة --- */
.country-section h2 {
    margin: 0;
    padding: 15px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    background: #0b81c582;
}

.toggle-icon {
    font-size: 18px;
    font-weight: bold;
    float: right;
}

/* --- محتوى القنوات داخل الدولة --- */
.section-content {
    padding: 10px;
    background: #003e64;
}

.channel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.channel-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

.channel-item img {
    width: 60px;
    height: auto;
    margin-right: 10px;
    border-radius: 4px;
}

.channel-name {
    font-weight: bold;
    font-size: 16px;
    flex-grow: 1;
}

.edit-link {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.edit-link:hover {
    background-color: #0056b3;
}

/* --- شبكة عرض القنوات (يمكنك تعديلها لاحقًا لتناسب شكل البطاقات) --- */
.channel-card {
    width: calc(25% - 20px);
    background: #0b81c54f;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.channel-card:hover {
    transform: scale(1.05);
}

.channel-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.channel-card h3 {
    margin: 10px 0 5px;
    font-size: 1em;
}

.channel-card p {
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .channel-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .channel-card {
        width: 100%;
    }
}


.packages-intro {
  padding: 30px 20px;
  text-align: center;
}

.stat-box {
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  border: 1px solid #00ffff;
  background-color: #11275561;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.stat-box .stat-icon {
  width: 50px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .stat-box {
    padding: 0;
  }

  .stat-box h2 {
    font-size: 20px;
  }

  .stat-box p {
    font-size: 14px;
  }

  .stat-box .stat-icon {
    width: 40px;
  }
}

.search-filter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
  max-width: 600px;
  padding: 10px;
  box-sizing: border-box;
}

.search-filter-form input[type="text"] {
  flex: 1 1 250px;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.search-filter-form input[type="text"]:focus {
  border-color: #007bff;
}

.search-filter-form button {
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-filter-form button:hover {
  background-color: #0056b3;
}

