.iframeDownload{
    display: block;
    margin: auto;
    margin-top: 10px;
    width: 100%;
    height: 125px;
    max-width: 800px;
    border: 1px solid #C9C9C9;
}
.video-box{
    display: flex;
    align-items: center;
    margin: auto;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    height: auto;
    background-size: contain; background-position: center; background-repeat: no-repeat;
    text-align: center;
    border: 1px dashed #C9C9C9;
}
.block-pass{
    display: inline-block; margin: auto; background-color: whitesmoke; border-radius: 10px; padding: 15px; text-align: center;cursor: pointer;
}
.block-start{
    display: inline-block; margin: auto; background: rgba(220, 220, 220, 0.6); border-radius: 20px; padding: 15px; text-align: center;cursor: pointer;
}
.pass{background-color: red; color: white;}
.box-video-parent {
  position: relative; /* Для позиционирования overlay */
  width: 100%; /* Адаптивная ширина */
  max-width: 800px; /* Максимальная ширина для больших экранов */
  height: auto; /* Автоматическая высота на основе видео */
  aspect-ratio: 16/9; /* Соотношение сторон видео (можно настроить) */
  overflow: hidden; /* Скрыть вылезающие элементы */
  border-radius: 8px; /* Опционально, для округления углов */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Тень для современного вида */
}
@media (max-width: 768px) {
  .box-video-parent {
    aspect-ratio: none; /* На мобильных — гибкая высота */
    height: auto;
  }
}
.video-player {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(51, 51, 51, 0.9);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 3px 10px;
  box-sizing: border-box;
}

.progress-bar-container {
  margin-bottom: 5px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #ccc;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
.control-btn svg path{
    fill: #42BCFD; /* Цвет заливки */
    stroke: #ccc; /* Цвет обводки */
}

.timing {
  font-size: 14px;
  flex-grow: 1;
  text-align: center;
}

.volume-slider {
  width: 100px;
}

@media (max-width: 768px) {
  .controls {
    flex-direction: row;
    align-items: stretch;
  }
  .control-btn{
    width: 40px;
    height: 40px;
  }
  .volume-slider {
    display: none;
  }
  .progress-bar {
    height: 6px;
  }
}