html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: hidden;
	background:#111111;
}

canvas {
	width: 100vw;
	height: 100vh;
	display: block;
	padding: 0;
	margin: 0;
}

#controlPanel {
  position: absolute;
  top: 10px;
  left: 10px;

  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1000;
  box-sizing: border-box;
}

.inputRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.inputRow label {
  color: #ccc;
  font-size: 14px;
  white-space: nowrap;
  width: 70px;
}

.inputRow button,
.inputRow input {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 600;
  color: #f0f0f5;
  background: rgba(28, 28, 30, 0.9);
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 0 6px rgba(28, 28, 30, 0.5);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.inputRow button:hover {
  background: rgba(40, 40, 44, 0.95);
}

.inputRow input {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.inputRow select {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 600;
  color: #f0f0f5;
  background: rgba(28, 28, 30, 0.9);
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 0 6px rgba(28, 28, 30, 0.5);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none; /* Remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #f0f0f5 50%),
    linear-gradient(135deg, #f0f0f5 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 15px) calc(50% - 3px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.inputRow select:hover {
  background: rgba(40, 40, 44, 0.95);
}

.inputRow option {
  background: rgba(28, 28, 30, 0.95);
  color: #f0f0f5;
}