.container {
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.tabs {
  margin-bottom: 16px;
}

.formItem {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.formItem label {
  margin-right: 16px; // 增加右边距
  font-size: 14px;
  color: #333;
  flex-shrink: 0; // 防止标签被压缩
}

.inlineGroup {
  display: flex;
  align-items: center;
  flex-wrap: wrap; // 允许换行
  gap: 8px; // 使用gap代替margin，更方便控制间距
}

.inputNumber {
  width: 80px;
}

.weekButton {
  min-width: 40px;
}

.presetsContainer {
  margin-top: 16px;
  margin-bottom: 16px;
  gap: 8px; // 使用gap控制按钮间距
}

.expressionInput {
  width: 100%;
  padding: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.expressionInput.error {
  border-color: #f5222d;
}

.errorMessage {
  color: #f5222d;
  font-size: 12px;
  margin-top: 4px;
}

.previewContainer {
  margin-top: 16px;
  padding: 12px;
  background-color: #f8f8f8;
  border-radius: 4px;
}