/* styles.css */

/* Video Container Styling */
.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Video Element Styling */
.video-element {
  width: 100%;
  height: auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.video-element:hover {
  transform: scale(1.05);
}

/* Admin Controls Styling */
#adminControls button {
  margin: 0 10px;
}

/* Remote Videos Styling */
#remoteVideos video {
  margin-bottom: 20px;
}

/* "Waiting for Cameraman" Overlay Styling */
.waiting-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  border-radius: 8px;
}

/* Switch Camera Button Styling */
#switchCameraButton,
#switchCameraMobileButton {
  margin-top: 10px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .video-container {
    max-width: 100%;
  }

  .video-element {
    border: none;
    border-radius: 0;
  }

  #switchCameraButton,
  #switchCameraMobileButton {
    display: block;
    width: 100%;
  }

  /* Admin Remote Videos Vertical Layout */
  #remoteVideosContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #remoteVideos {
    width: 100%;
  }

  #remoteVideos video {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
}
