.iptv-list-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 4px;
}

@media screen and (max-width: 600px) {
  .iptv-list-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(48px, auto);
  }
}

.iptv-list-tabs .tab {
  padding: 4px 30px;
  text-align: center;
  border-radius: 12px;
  background-color: #f3efff;
  cursor: pointer;
}

.iptv-list-tabs .tab.active {
  color: #fff;
  background-color: #642D90;
}

.iptv-list-content {
  padding: 64px 64px 22px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(94, 90, 125, 0.2);
}

@media screen and (max-width: 1024px) {
  .iptv-list-content {
    padding: 24px 20px;
  }
}

.iptv-list-content .tab-content {
  display: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.iptv-list-content .tab-content.active {
  display: block;
  opacity: 1;
}

.iptv-list-content .tab-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

@media screen and (max-width: 600px) {
  .iptv-list-content .tab-content-header {
    flex-wrap: wrap;
  }
}

.iptv-list-content .tab-content-title {
  max-width: 70%;
  font-family: 'Open Sans', sans-serif;
  font-size: 40px;
  font-weight: 700;
}

@media screen and (max-width: 1024px) {
  .iptv-list-content .tab-content-title {
    max-width: 50%;
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
  .iptv-list-content .tab-content-title {
    max-width: 100%;
    margin-bottom: 19px;
    font-size: 29px;
  }
}

.iptv-list-content .tab-content-specification {
  display: flex;
  gap: 8px;
  font-size: 20px;
}

@media screen and (max-width: 1024px) {
  .iptv-list-content .tab-content-specification {
    font-size: 18px;
  }
}

@media screen and (max-width: 600px) {
  .iptv-list-content .tab-content-specification {
    flex-wrap: wrap;
  }
}

.iptv-list-content .tab-content-specification .card {
  padding: 5px 20px;
  border-radius: 8px;
  color: #642d90;
  border: 1px solid #642d90;
}

.iptv-list-content .tab-content-specification .card.filled {
  color: #fff;
  background: #642d90;
}

.iptv-list-content .tab-content-description {
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
}

@media screen and (max-width: 1024px) {
  .iptv-list-content .tab-content-description {
    font-size: 18px;
  }
}

.iptv-list-search {
  position: relative;
  margin-bottom: 20px;
}

.iptv-list-search::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 19px;
  width: 16px;
  height: 16px;
  background: url(img/iptv-search.svg) no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
}

.iptv-list-search .regular-input {
  padding: 9px 20px 9px 47px;
  font-size: 16px;
  background-color: #f2f2f2;
  border: none;
  border-radius: 8px;
}

.iptv-list-search .regular-input::placeholder {
  color: #666;
}

.iptv-channels {
  margin-bottom: 10px;
  padding: 0;
  column-count: 3;
  list-style-type: none;
  transition: all .2s ease;
}

@media screen and (max-width: 768px) {
  .iptv-channels {
    column-count: 2;
  }
}

@media screen and (max-width: 500px) {
  .iptv-channels {
    column-count: 1;
    margin-bottom: 20px;
  }

  .tab-content-tv-list {
    max-height: 302px;
    overflow: hidden;
    transition: all .2s ease;
  }

  .tab-content-tv-list.active {
    max-height: 5000vh;
  }
}

.iptv-channel {
  width: 100%;
  margin-bottom: 8px;
  padding-left: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.iptv-channel:nth-child(odd) {
  background-color: #f3efff;
}

.iptv-channel > * {
  margin-right: 8px;
}

.iptv-channel > *:last-child {
  margin-right: 0;
}

.iptv-channel .logo {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.show-more {
  display: none;
  outline: none;
}

@media screen and (max-width: 500px) {
  .show-more {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 6px;
    font-size: 16px;
    line-height: 33px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px rgba(94, 90, 125, 0.2);
  }
}

.tv-channel-modal .modal-form-layout {
  min-width: 300px;
}

.tv-channel-modal .modal-form-layout .title img {
  width: 60px;
  margin-right: 10px;
}

.iptv-list-link {
  display: flex;
  justify-content: center;
  padding: 42px;
  gap: 12px;
  color: #642d90;
  font-size: 16px;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .iptv-list-link {
    padding: 20px;
  }
}

.iptv-list-link .pdf-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: url(img/pdf-icon.svg) no-repeat center;
  background-size: contain;
}