/**
 * ============================================================
 *  voice_settings.css — 音色设定卡片样式
 * ============================================================
 */

/* 音色设定行 */
.voice-setting-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #F0F0F0;
}

.voice-setting-row:last-of-type {
  border-bottom: none;
}

.voice-setting-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.voice-setting-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-size: 15px;
  color: #000;
  background: #F5F5F7;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.voice-setting-input:focus {
  border-color: #007AFF;
  background: #FFFFFF;
}

.voice-setting-input::placeholder {
  color: #C7C7CC;
}

/* 滑块容器 */
.voice-slider-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voice-slider-value {
  font-size: 16px;
  font-weight: 700;
  color: #007AFF;
  text-align: center;
}

.voice-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #E0E0E0;
  outline: none;
}

.voice-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #007AFF;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.voice-slider::-webkit-slider-thumb:active {
  transform: scale(1.2);
}

.voice-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #007AFF;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.voice-slider::-moz-range-thumb:active {
  transform: scale(1.2);
}

.voice-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

/* 试听按钮 */
.voice-preview-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: #007AFF;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.voice-preview-btn:active {
  background: #0051D5;
  transform: scale(0.98);
}

.voice-preview-btn .material-icons-round {
  font-size: 20px;
}
