/* Smart Room Proctor AI Stylesheet */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.8);
}

/* Radar & Viewport Overlay */
#webcamContainer canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Glassmorphism helpers */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.4);
}

/* Glow effects */
.glow-alert {
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}

.glow-safe {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

/* Range input customization */
input[type="range"] {
  height: 4px;
  border-radius: 2px;
  background: #334155;
}

input[type="range"]::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6366f1;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
}
