body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#player-container {
  height: 100vh;
  background: black;
}

video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.sidebar-left, .sidebar-right {
  width: 300px;
  position: fixed;
  top: 0;
  height: 100%;
  background-color: #f6b130;/* yellow as pi color*/
  padding: 15px;
  transition: all 0.3s;
  z-index: 1;
}

.sidebar-left {
  left: -300px;
}

.show-sidebar-left {
  left: 0;
}

.sidebar-right {
  right: -300px;
}

.show-sidebar-right {
  right: 0;
}

.main-content {
  height: 100vh;
  transition: margin-left 0.3s, margin-right 0.3s;
}

.show-sidebar-left ~ .main-content {
  margin-left: 300px;
}

.show-sidebar-right ~ .main-content {
  margin-right: 300px;
}

.playlist {
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.playlist::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.channel-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #69219f; /* Purple as pi color*/
  margin-bottom: 5px;
  border-radius: 5px;
  color: #fff;
  transition: background 0.2s;
}

.channel-item:hover {
  background: #3a4046;
}

.active-channel {
  background: #007bff;
}

.channel-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.search-panel {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.search-panel .form-control {
  margin-right: 10px;
  background: #2c3136;
  border: none;
  color: #fff;
}

.search-panel .form-control::placeholder {
  color: #aaa;
}

.upload-panel {
  height: 100%;
  padding: 20px;
  background: #69219f; /* Purple as pi color*/
}

.website-logo {
  max-width: 100%; /* Fit within panel width */
  height: auto;
  display: block;
  margin: 0 auto 20px;
  max-height: 100px; /* Cap height to fit panel */
  object-fit: contain; /* Maintain aspect ratio */
}

.notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 15px 25px;
  border-radius: 5px;
  display: none;
  z-index: 1000;
  text-align: center;
}

.channel-info {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  z-index: 10;
}