* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: Arial, sans-serif; 
  background: #1a1a1a; 
  color: #fff;
  padding: 20px;
}
.container { max-width: 1200px; margin: 0 auto; }
h1 { margin-bottom: 20px; }
.room-setup { 
  background: #2a2a2a; 
  padding: 20px; 
  border-radius: 8px;
  margin-bottom: 20px;
}
input { 
  padding: 10px; 
  font-size: 16px; 
  border: none;
  border-radius: 4px;
  margin-right: 10px;
  width: 300px;
}
button { 
  padding: 10px 20px; 
  font-size: 16px; 
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover { background: #0056b3; }
.status { 
  margin-top: 10px; 
  padding: 10px;
  background: #333;
  border-radius: 4px;
}
.connection-stats {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  padding: 15px;
  background: #1a1a1a;
  border-radius: 8px;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: #2a2a2a;
  border-radius: 4px;
}
.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #28a745;
}
.stat-label {
  font-size: 12px;
  color: #aaa;
  margin-top: 5px;
}
.camera-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.camera-item { 
  background: #2a2a2a; 
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s;
  border: 3px solid transparent;
}
.camera-item:hover { transform: scale(1.02); }
.camera-item.active { border-color: #28a745; }
.camera-item video { 
  width: 100%; 
  border-radius: 4px;
  background: #000;
}
.camera-label { 
  margin-top: 10px; 
  font-size: 14px;
  color: #aaa;
}
.switch-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ffc107;
  color: #000;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.error-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #dc3545;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}