

/* Start:/bitrix/templates/groom-mir/components/groom/block/broadcast/style.css?17764313512672*/
/* style.css */
:root {
  --broadcast-primary: #7EAFEE;
  --broadcast-primary-dark: #5d8fd1;
  --broadcast-bg: #ffffff;
  --broadcast-text: #1e293b;
  --broadcast-border: #e2e8f0;
  --broadcast-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.broadcast {
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  background: var(--broadcast-bg);
  box-shadow: var(--broadcast-shadow);
  height: 600px;
}

.broadcast-video {
  flex: 1;
  position: relative;
  background: #000000;
  overflow: hidden;
}

.broadcast-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

/* Кастомный контроллер громкости */
.custom-volume-control {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.broadcast-video:hover .custom-volume-control {
  opacity: 1;
}

.volume-button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.volume-button:hover {
  transform: scale(1.1);
}

.volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Скрываем стандартные контроллеры видео */
.broadcast-video video::-webkit-media-controls {
  display: none !important;
}

.broadcast-video video::-webkit-media-controls-enclosure {
  display: none !important;
}

.is-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s;
}

@media (max-width: 991px) {
  .broadcast {
    flex-direction: column;
    height: auto;
    border-radius: 0;
    margin-left: -20px;
    margin-right: -20px;
  }
  
  .broadcast-video {
    flex: none;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
  }
  
  .custom-volume-control {
    bottom: 10px;
    right: 10px;
    opacity: 1;
  }
}
/* End */
/* /bitrix/templates/groom-mir/components/groom/block/broadcast/style.css?17764313512672 */
