.adm-form {
  ---border-inner: 0;
  --form-bg: #f5f6f7;
  --base-border: 0.5px solid #dcdcdc;
  padding-top: 21px;

  .adm-list-header {
    padding-left: 6px;
    padding-top: 0;
    .tips {
      color: #e99d42;
      font-size: 13px;
    }
  }

  .adm-list-item-content-main {
    padding-bottom: 16px;
    padding-top: 0;
    width: 100%;
  }

  .adm-list-body {
    border-bottom: 0;
    border-top: 0;
  }

  .adm-list-item {
    background-color: var(--form-bg);
    --padding-left: 6px;
    &:last-child {
      .adm-list-item-content-main {
        padding-bottom: 0;
      }
    }
    &.no-style {
      .adm-form-item-child {
        border: none;
        background-color: transparent;
      }
    }
    &.is-required {
      .adm-list-item-content-main {
        > .adm-list-item-title {
          padding-left: 12px;
        }
      }
    }
    &.is-hidden {
      display: none;
    }

    .adm-list-item-title.is-required {
      padding-left: 12px;
    }

    &.is-composite {
      .adm-form-item-child {
        border: 0;
        background-color: #ffffff00;

        .field-child_label {
          color: #3c3c3c;
          margin-bottom: 6px;
          font-size: 15px;
          font-weight: normal;
          line-height: 23px;
          letter-spacing: 0px;
        }

        .field-child {
          border-radius: 6px;
          border: var(--base-border);
          background-color: #fff;
          margin-bottom: 8px;
        }
      }
    }
    &.adm-form-item-has-error {
      --base-border: 0.5px solid var(--adm-color-danger);
    }
  }

  .adm-list-item-content {
    --padding-right: 6px;
    .adm-form-item-child-inner {
      width: 100%;
    }
  }

  .adm-form-item-child {
    border: var(--base-border);
    border-radius: 6px;
    background-color: #fff;
    .adm-space-wrap {
      padding: 3px 0;
    }
  }

  .adm-form-item.adm-form-item-vertical .adm-form-item-label {
    color: #3c3c3c;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: normal;
    line-height: 23px;
    letter-spacing: 0px;
  }
  .adm-space-horizontal.adm-space-wrap {
    margin-bottom: 0;
  }
  .adm-space-vertical .adm-space-item {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: var(--base-border);
  }

  .adm-space-wrap > .adm-space-item,
  .adm-space-item {
    padding: 6px 8px 6px 12px;
    margin: 0;
    line-height: 1;
    max-width: 100%;
    box-sizing: border-box;
  }
  .adm-space-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
  }

  .adm-form-footer {
    background-color: var(--form-bg);
    padding: 20px 8px;
    .adm-button {
      line-height: 20px;
      padding: 10px 0;
      background: linear-gradient(90deg, #f48930 0%, #f66416 100%);
      border: 0;
      font-size: 16px;
    }
  }

  // *** iconfont ***
  .iconfont {
    --icon-size: 20px;
  }

  // *** Input ***
  .adm-input {
    border-radius: 6px;
    background: #fff;
    padding: 10px 12px;
    height: 45px;
    --font-size: 14px;
    .adm-input-element {
      height: 21px;
    }
  }

  // *** text area ***
  .adm-text-area {
    padding: 9px 12px;
    .adm-text-area-element {
      line-height: 22px;
      font-size: 14px;
    }
  }

  // *** Radio ***
  .adm-radio {
    --icon-size: 20px;
  }

  .adm-radio-content {
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    letter-spacing: 0px;
  }

  // *** Checkbox ***
  .adm-checkbox {
    --icon-size: 20px;
  }

  .adm-checkbox-content {
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    letter-spacing: 0px;
  }
  // *** Slider ***
  .adm-slider-track {
    height: 8px;
    --adm-color-fill-content: #dcdfe4;
    border-radius: 8px;
  }
  .adm-slider-fill {
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f48930 0%, #f66416 100%);
    box-shadow: 0px 2px 8px 0px rgba(244, 137, 48, 0.3);
  }
  .adm-slider-thumb-container {
    width: 22px;
    height: 22px;
  }
  .adm-slider-thumb {
    width: 18px;
    height: 18px;
    margin: 2px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.12);
  }
}
.adm-button,
.adm-button-primary {
  border-color: transparent !important;
}
.adm-result-success .adm-result-icon .antd-mobile-icon {
  color: #ff8f1f !important;
}

// // *** adm-picker-view-mask-middle
// .km-picker-view.adm-picker-view {
//   .adm-picker-view-mask-middle {
//     background-color: #ECECEC;
//   }
// }
