.formBg {
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 100px;
}

.basicSection {
  padding: 16px;
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 100px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;

  @media (max-width: 375px) {
    padding: 12px;
  }
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;

  @media (max-width: 375px) {
    padding: 12px;
  }

  // 输入框样式
  :global(.ant-input) {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;

    &:focus {
      border-color: #3b82f6;
      box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    }

    &::placeholder {
      color: #cbd5e1;
    }
  }
}

.formItem {
  margin-bottom: 24px;
}

.formLabel {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}

.radioGroup {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.input {
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  width: 100%;
}

.select {
  width: 100%;
  height: 44px;

  :global(.ant-select-selector) {
    height: 44px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
  }

  :global(.ant-select-selection-item) {
    line-height: 42px !important;
  }
}

.timePicker {
  width: 100%;
  height: 44px;

  :global(.ant-picker) {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    font-size: 15px;
  }
}

.counterRow {
  display: flex;
  align-items: center;
  gap: 0;
}

.stepperContainer {
  display: flex;
  align-items: center;
  gap: 0;
}

.stepperButton {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 16px;
  color: #188eee;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border 0.2s;

  &:hover {
    border: 1px solid #188eee;
  }
}

.stepperInput {
  width: 80px;
  height: 40px;
  border-radius: 0;
  border: 1px solid #e5e7eb;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  padding: 0 8px;
}

.counterTip {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

.buttonGroup {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #fff;
}

.submitButton {
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  min-width: 120px;
  flex: 1;
}

.resetButton {
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  min-width: 100px;
}

.deviceSelection {
  width: 100%;

  :global {
    .ant-input {
      border-radius: 8px;
      border: 1px solid #e8e8e8;
      padding: 12px 16px;
      font-size: 14px;

      &:focus {
        border-color: #1890ff;
        box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
      }
    }
  }
}
