/* Video Controls Styling for A-Frame VR Environment */

/* Ensure raycaster targets are properly styled */
.raycaster-target {
  cursor: pointer;
}

/* Video controls specific styles */
[video-controls] {
  /* Ensure controls are rendered above other elements */
  z-index: 100;
}

/* Video controls modal integration styles */
.video-controls-config {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.video-controls-config h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.1em;
}

.video-controls-config label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #555;
}

.video-controls-config input[type="checkbox"] {
  margin-right: 8px;
}

.video-controls-config select,
.video-controls-config input[type="range"] {
  margin-left: 8px;
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.video-controls-config input[type="range"] {
  width: 100px;
}

.scale-value {
  margin-left: 8px;
  font-weight: bold;
  color: #007bff;
}

/* Hover effects for VR interaction */
.video-controls-button:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Animation classes for controls */
.video-controls-show {
  animation: controlsShow 0.3s ease-out;
}

.video-controls-hide {
  animation: controlsHide 0.3s ease-out;
}

@keyframes controlsShow {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes controlsHide {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Debug styles for development */
.debug-video-controls {
  outline: 2px solid red !important;
}

.debug-video-controls .raycaster-target {
  outline: 1px solid yellow !important;
}
