/* Video and File Display Styles */

.video-thumbnail-container {
  position: relative;
  overflow: hidden;
}

.video-play-overlay {
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-thumbnail-container:hover .video-play-overlay {
  opacity: 1 !important;
}

.video-type-badge,
.file-type-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.file-thumbnail-container {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.file-thumbnail-container img {
  opacity: 0.1;
}

.file-thumbnail-container::before {
  content: '\F1C6'; /* Bootstrap Icons file-zip */
  font-family: 'bootstrap-icons';
  font-size: 4rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Video container styles */
.video-container video {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-container.portrait {
  max-width: 400px;
  margin: 0 auto;
}

.video-container.landscape {
  max-width: 100%;
}

.video-container.portrait video {
  max-height: 600px;
  width: auto !important;
}

.video-info {
  background: rgba(0, 0, 0, 0.05);
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 8px;
}

/* Video orientation badge */
.video-container .badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive video */
@media (max-width: 768px) {
  .video-container video {
    width: 100% !important;
    height: auto !important;
    max-height: 70vh;
  }

  .video-container.portrait {
    max-width: 100%;
  }
}

/* File type indicators in grid */
.item .video-type-badge,
.item .file-type-badge {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item:hover .video-type-badge,
.item:hover .file-type-badge {
  opacity: 1;
}

/* Upload type selection styles */
.btn-group .btn-check:disabled + .btn {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-group .btn-check:disabled + .btn small {
  font-size: 0.7rem;
  color: #6c757d;
}
