/* (C) Ulrich Schwebinghaus 2025 */

.uebungsbox {
  height: 470px;  
}

.uebungsbox canvas {
  display: block;
  margin: 0 auto;
}

.control-panel {
  background: rgba(240, 240, 240, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 15px;
}

.control-row {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 15px;
  flex-wrap: nowrap;
}

.control-label {
  width: 70px;
  font-weight: bold;
  color: #333;
  text-align: right;
  flex-shrink: 0;
}

.slider-container {
  flex: 1;
  width: 450px;
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.slider {
  flex: 1;
  width: 400px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #3498db;
  border-radius: 4px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 15px;
  border-radius: 50%;
  background: #2c3e50;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 15px;
  border-radius: 50%;
  background: #2c3e50;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.slider-value {
  width: 60px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: bold;
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.typ-control {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 15px;
}

.radio-group {
  display: flex;
  gap: 25px;
  background: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 5px;
  border-radius: 3px;
  transition: background 0.2s;
}

.radio-option:hover {
  background: #f0f8ff;
}

.radio-option input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.button-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.btn {
  padding: 10px;
  background: #6c7ef0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  width: 160px;
}

.btn:hover {
  background: #6c7eff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn:active {
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}



