body {
  margin: 0;
  overflow: hidden;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: left;
}
#container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 1280px;
  max-height: 720px;
}
.video-container {
  border: 0px solid #333;
  overflow: hidden;
  background: #000;
  width: 1280px;
  height: 720px;
}
.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.3s;
}

.progress-bar {
  height: 100%;
  background: #ff0000;
  width: 0%;
  transition: width 0.1s;
}
/* Updated Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s;
}

.loader-text {
  color: #fff;
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
}

.loader-progress {
  width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 15px;
}

.loader-progress-bar {
  width: 0%;
  height: 100%;
  background: #4CAF50;
  transition: width 0.3s ease;
}

.loader-file-list {
  color: #fff;
  width: 300px;
  margin: 0 auto;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  font-size: 14px;
}

.file-progress {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 10px;
  flex-grow: 1;
}

.file-progress-bar {
  height: 100%;
  background: #2196F3;
  transition: width 0.3s ease;
}

.file-percentage {
  width: 50px;
  text-align: right;
  color: #888;
}