.video-wrapper {
  background-color: #f2f2f2;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.main-video {
  flex: 2;
  background-color: #b50220;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  min-width: 300px;
}
.main-video iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
}
.video-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
    min-width: 280px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #b50220 transparent;
  
}
.video-thumb {
  display: flex;
  background-color: #5c5c5c;
  border-radius: 10px;
  cursor: pointer;
  padding: 4px;
  transition: background-color 0.3s;
  align-items: center;
}
.video-thumb:hover, .video-thumb.active {
  background-color: #b50220;
}
.video-thumb img {
  max-width: 80px;
  border-radius: 8px;
}
.video-info {
  margin-left: 10px;
  margin-right: 8px;
  font-size: 0.8rem;
  color: #fff;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: white;
  background-color: rgba(181,2,32, 0.5);
  padding: 6px 10px;
  border-radius: 50%;
}
.thumb-container {
  position: relative;
}
.video-list::-webkit-scrollbar {
  width: 6px;
}
.video-list::-webkit-scrollbar-track {
  background: transparent;
}
.video-list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
}
.video-list::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  .video-wrapper {
    flex-direction: column;
    padding: 15px;
  }
  .main-video iframe {
    height: 280px;
  }
  .video-list {
    max-height: none;
    overflow-y: visible;
  }
}