* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  height: 100%;
  zoom: unset !important;
}

input {
  outline: none !important;
}

//overwrite antd-pro css

.kcmp-ant-pro-page-container-warp {
  display: none !important;
}

.kcmp-ant-pro-sider-light {
  border-right: 1px solid #f5f3f3;
}

.kcmp-ant-col-12 {
  max-width: 100%;
}

.kcmp-ant-layout {
  background: #F5F7FA;
}

.kcmp-ant-pro-table-search {
  padding: 16px;
  padding-bottom: 16px;
}

.kcmp-ant-form-item {
  margin-bottom: 16px;
}


/**
      input 
**/
.kcmp-ant-input-affix-wrapper {
  padding: 0px 8px;
  border-radius: 4px;
  border: 1px solid #CFD7E6;

  &>input {
    &::placeholder {
      font-size: 14px;
      font-family: SourceHanSansCN-Normal, SourceHanSansCN;
      font-weight: 400;
      color: #99A6BF;
    }
  }
}


/**
    Form
**/

.kcmp-ant-form-item {
  .kcmp-ant-form-item-label {
    padding: 0;
    //height: 15px;
    line-height: 15px;
    margin-bottom: 5px;

    .kcmp-ant-form-item-required {
      &::before {
        margin-right: 0 !important;
      }
    }
  }

  .kcmp-ant-form-item-control-input {

    .kcmp-ant-form-item-control-input-content {
      textarea {
        padding: 4px 8px;
        border-radius: 4px !important;
        border: 1px solid #CFD7E6;
      }

      .kcmp-ant-input {

        //padding-left: 8px;
        &::placeholder {
          color: #99A6BF;
        }
      }
    }
  }
}


/**
    input-number
**/

.kcmp-ant-input-number {
  height: 24px;
  border-radius: 4px;
  border: 1px solid #CFD7E6;

  .kcmp-ant-input-number-handler-wrap {
    .kcmp-ant-input-number-handler {
      border-left: 1px solid #CFD7E6;
    }

    .kcmp-ant-input-number-handler-down {
      border-top: 1px solid #CFD7E6;
    }

    .kcmp-ant-input-number-handler-up-inner,
    .kcmp-ant-input-number-handler-down-inner {
      color: #99A6BF;
    }
  }

  .kcmp-ant-input-number-input-wrap {

    .kcmp-ant-input-number-input {
      height: 22px;
      line-height: 24px;
      padding: 0 8px;

      &::placeholder {
        color: #99A6BF;
      }
    }
  }
}


.kcmp-ant-table-thead>tr>th {
  border-bottom: none;

  &::before {
    display: none;
  }
}


/**
    Select
**/
.kcmp-ant-select {
  .kcmp-ant-select-selector {
    height: 24px !important;
    padding: 0 8px !important;
    border-radius: 4px !important;
    border: 1px solid #CFD7E6 !important;

    .kcmp-ant-select-selection-item {
      line-height: 24px;
    }

    .kcmp-ant-select-selection-search-input {
      height: 24px !important;
    }

    .kcmp-ant-select-selection-placeholder {
      line-height: 22px !important;
      font-size: 14px;
      font-family: SourceHanSansCN-Normal, SourceHanSansCN;
      font-weight: 400;
      color: #99A6BF;
    }
  }

  .kcmp-ant-select-arrow {
    color: #CFD7E6;
  }

  &.kcmp-ant-select-disabled {
    .kcmp-ant-select-selector {
      border: 1px solid #DADEE6 !important;

      .kcmp-ant-select-selection-placeholder {
        color: #7A8599;
      }
    }

    .kcmp-ant-select-arrow {
      color: #7A8599;
    }
  }
}

/**
       ModalForm
**/

.kcmp-ant-modal-confirm-body .kcmp-ant-modal-confirm-content {
  margin-top: 16px;

  .kcmp-ant-transfer {
    .kcmp-ant-transfer-list {
      border: 1px solid #DAE2F2;
      border-radius: 4px;

      .kcmp-ant-transfer-list-header {
        border-bottom: 1px solid #DAE2F2;
      }
    }
  }
}




.kcmp-ant-modal {
  padding-bottom: 0;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;

  .kcmp-ant-modal-content {
    .kcmp-ant-modal-close-x {
      color: #17181A;
    }

    .kcmp-ant-modal-header {
      padding: 16px;
      font-size: 16px;
      font-family: SourceHanSansCN-Medium, SourceHanSansCN;
      font-weight: 500;
      color: #17181A;
      border-bottom: none;
      padding-bottom: 0;
    }

    .kcmp-ant-modal-body {
      padding: 16px;
      padding-left: 16px;
      padding-right: 16px;

      .kcmp-ant-modal-confirm-body-wrapper {
        .kcmp-ant-modal-confirm-btns {
          .kcmp-ant-btn {
            height: 24px;
            line-height: 13px;
            border-radius: 4px;
            padding: 5px 14px;
            font-size: 14px;
            font-family: SourceHanSansCN-Normal, SourceHanSansCN;
            font-weight: 400;
            box-sizing: border-box;
          }
        }
      }
    }

    .kcmp-ant-modal-footer {
      padding: 16px;
      padding-top: 0;
      border-top: none;

      .kcmp-ant-btn {
        height: 24px;
        line-height: 13px;
        border-radius: 4px;
        padding: 5px 14px;
        font-size: 14px;
        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
        font-weight: 400;
        box-sizing: border-box;
      }
    }
  }
}




*::-webkit-scrollbar {
  width: 4px !important;
  height: 4px !important;
  /**/
}

*::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 2px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(228,231,235,0.7) !important;
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  width: 4px;
  height: 4px;
  background: rgba(228,231,235,0.7);
}

*::-webkit-scrollbar-corner {
  background: rgba(228,231,235,0.7);

}


//-----------  Menu左侧菜单

.kcmp-ant-layout-sider {

     &.kcmp-ant-layout-sider-collapsed {
      width: 60px !important;
      flex: 0 0 60px !important;
      max-width:60px !important;
      min-width:60px !important;
     }
}



//--------------------


//Transfer


.kcmp-ant-modal-body {
  .TableTransfer {
    .kcmp-ant-transfer-operation {
      align-self: self-end;
      margin-bottom: 30px;

      button {
        //color: #17181A;
        width: 24px;
        height: 40px !important;
        // background: #FAFCFF;
        border-radius: 4px;
        border: 1px solid #DAE2F2;
      }
    }

    .kcmp-ant-transfer-list-header {
      .anticon {
        color: #99A6BF;
      }

      .kcmp-ant-transfer-list-header-selected {
        color: #515866;
      }
    }

    .kcmp-ant-transfer-list-body {
      .kcmp-ant-transfer-list-body-search-wrapper {
        padding: 8px;

        .kcmp-ant-input-prefix {
          .anticon-search {
            color: #99A6BF;
          }
        }
      }
    }

    .kcmp-ant-table {
      .kcmp-ant-table-container {
        .kcmp-ant-table-content {
          .kcmp-ant-table-thead {

            &>tr>th {
              font-size: 14px;
              font-family: SourceHanSansCN-Medium, SourceHanSansCN;
              font-weight: 500;
              color: #17181A;
              background: #EEF3FA;
              padding: 4px 8px !important;
            }
          }
        }
      }
    }
  }

}


//checkbox

.kcmp-ant-checkbox {
  .kcmp-ant-checkbox-inner {
    border: 1px solid #DAE2F2;
    border-radius: 4px;
  }
}

.kcmp-ant-checkbox+span {
  padding-left: 4px;
  padding-right: 4px;
}


//drawer


.kcmp-ant-drawer-body {
  padding: 16px;
}


//Picker

.kcmp-ant-picker {
  padding: 0px 11px !important;
  border-radius: 4px;
  border: 1px solid #CFD7E6;
  .kcmp-ant-picker-input {
         input {
             &::placeholder {
              color: #99A6BF;
             }
         }
  }
  .kcmp-ant-picker-suffix {
    color: #99A6BF;
  }
}



/**
   Layout
**/

.kcmp-ant-pro-sider {
  .bms-ant-layout-sider-children {
        padding-inline: 8px;
  }
  .kcmp-ant-pro-sider-collapsed-button {
    border-top: 1px solid transparent;
  }
}
.kcmp-ant-pro-sider-collapsed-button .anticon {
     display: inline-block;
     font-size: 24px !important;
}