/* Spinner container */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show spinner when active */
.spinner-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Spinner animation */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: #f00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.video-wrapper {
  margin-top: 1rem;
  aspect-ratio: 16 / 9;
  position: relative;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
