/* Основные стили */
.video-preview-wrapper {
}

.loading-message,
.error-message {
  padding: 20px;
  text-align: center;
  color: #666;
}

/* Контейнер видео */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483646;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

/* Видео на весь экран */
.video-fullscreen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.video-enter {
  animation-name: fadeIn;
  pointer-events: auto;
}

.video-exit {
  animation-name: fadeOut;
  pointer-events: none;
}

/* Сообщение об ошибке */
.video-error-message {
  position: absolute;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 1.2rem;
}
