/* Control Panel Styles */
.control-panel {
  background-color: var(--surface);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border);
}

.control-group {
  margin-bottom: 24px;
}

.control-group:last-of-type {
  margin-bottom: 30px;
}

.control-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Slider Styles */
.slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-light);
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--primary-hover);
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  background: var(--primary-hover);
  transform: scale(1.2);
}

.slider-value {
  min-width: 45px;
  text-align: right;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Text Input Styles */
input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Courier New', monospace;
  transition: all 0.2s ease;
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Select Styles */
select {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

select option {
  background-color: var(--surface);
  color: var(--text-primary);
}

/* Button Group */
.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-group .btn {
  flex: 1;
  min-width: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .control-panel {
    padding: 20px;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group .btn {
    width: 100%;
  }
}
