/* viewer.css */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #626880, #99d1db);
    background-attachment: fixed;
    min-height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  
  a {
    color: #303446;
  }
  
  .header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .navbar {
    backdrop-filter: blur(10px);
  }
  
  .tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.2s;
  }
  
  .navbar-brand,
  .nav-link {
    color: #fff;
  }
  
  .nav-link.active {
    font-weight: bold;
  }
  
  .member-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .member-card:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
  }

  .test-card {
    background-color: rgba(128, 128, 128, 0.5);
    border-radius: 10px;
    padding: 20px;
    display: inline-block;
    position: relative;
  }
  
  
  .btn-outline-light {
    border-color: #fff;
    color: #fff;
  }
  
  .btn-outline-light:hover {
    background-color: #fff;
    color: #333;
  }
  
  .rounded-card {
    border-radius: 15px;
    overflow: hidden;
  }
  
  /* Additional styles for the video feed */
  .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease-in-out;
  }
  
  .form-control:focus {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  }
  
  canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8888;
    pointer-events: none;
  }
  #loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  select:disabled {
    opacity: 0.2;
  }
