:root {
  --primary: #1E88E5;
  --secondary: #455A64;
  --accent: #FDD835;
  --success: #43A047;
  --danger: #E53935;
  --bg: #ECEFF1;
}

body {
  margin: 0;
  overflow: hidden;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: linear-gradient(var(--bg), #B0BEC5);
  color: var(--secondary);
}

h1 {
  position: absolute;
  width: 100%;
  z-index: 1;
}

#scene-container {
  position: absolute;
  width: 100%;
  height: 100%;
  background: none;
}

#lecture-dock {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

#input-container {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

#subject-input,
#division-select,
#lecture-select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 200px;
}

#division-config {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

#division-count {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#update-divisions-btn {
  padding: 5px 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#update-divisions-btn:hover {
  background: #0056b3;
}

#add-lecture-btn {
  padding: 5px 15px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#add-lecture-btn:hover {
  background: #218838;
}

#lecture-cards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  width: 100%;
  padding: 5px;
}

.lecture-card {
  background: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.lecture-card:hover {
  transform: scale(1.05);
}

.lecture-card button {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  margin-top: 5px;
  transition: background 0.3s;
}

.lecture-card button:hover {
  background: #c82333;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lecture-card { animation: fadeIn 0.3s ease-in; }