@import url(./reset.css);

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #12153A;
  color: #fff;
  height: 100vh;
  overflow-y: hidden;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 20px;
}

.logo {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: left;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.channel-list-part {
  flex: 1 1 auto;
}

.channel-list {
  position: relative;
  flex: 1;
  padding: 15px;
  overflow: auto;
  height: 90vh;
}
.channel-list::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  background-image: url(../assets/back.svg);
  background-size: contain;
  width: 20px;
  height: 20px;
  z-index: 2;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}


.channel-list__title {
  font-size: 1.2rem;
  text-align: left;
  margin-bottom: 10px;
}

.channel {
  width: 100%;
  display: block;
  background: transparent;
  color: #ccc;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
}

.channel:hover {
  border: 2px solid #03dac6;
}

.channel.active {
  border: 2px solid #03dac6;
  font-weight: bold;
}

.video-section {
  flex: 2;
  min-width: 600px;
  display: flex;
  flex-direction: column;
}

#video-container {
  position: relative;
  background: #111;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 15px;
  border: 1px solid white;
}

video {
  width: 100%;
  display: block;
}

.schedule-title {
  text-align: left;
  font-size: 1.2rem;
  color: #00c3ff;
  margin-bottom: 10px;
}

.schedule-list {
  background: #0a0a0a;
  overflow: auto;
}

.schedule-list li {
  padding: 10px 15px;
  border-bottom: 1px solid #222;
  cursor: pointer;
  transition: background 0.2s;
}

.schedule-list li:hover {
  background: #00c3ff;
  color: #000;
}



.quality-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  display: none;
}

.quality-selector label {
  font-size: 1rem;
  color: #00c3ff;
}

.quality-selector select {
  background: #111;
  color: #fff;
  border: 1px solid #00c3ff;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 1rem;
  outline: none;
}

.quality-selector select:focus {
  border-color: #00e0ff;
}


footer {
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  color: #666;
}

.logo-img {
  max-width: 300px;
  object-fit: contain;
}