@root-entry-name: 'default';
@import (reference) '~antd/es/style/themes/index.less';
@import (reference) '~antd/es/style/mixins/index.less';

@pro-table-search-prefix-cls: ~'@{ant-prefix}-pro-table-search';

@pro-table-form-prefix-cls: ~'@{ant-prefix}-pro-table-form';

.@{pro-table-search-prefix-cls} {
  margin-bottom: 12px;
  padding: 12px 20px;
  padding-bottom: 0;
  background: @component-background;
  // box-shadow: 0 0 6px #ccc;
  border-radius: 0px 8px 8px 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05);


  >.ant-pro-form-query-filter {
    border-bottom: none;
  }

  .clearfix;

  &.@{pro-table-form-prefix-cls} {
    margin: 0;
    padding: 0 16px;
    overflow: unset;
  }

  &-light {
    margin-bottom: 0;
    padding: 12px 0;
  }

  &-form-option {
    .@{ant-prefix}-form-item {
      margin: 0;
    }

    .@{ant-prefix}-form-item-label {
      opacity: 0;
    }

    .@{ant-prefix}-form-item-control-input {
      justify-content: flex-start;
    }
  }
}

@media (max-width: 575px) {
  .@{pro-table-search-prefix-cls} {
    height: auto !important;
    padding-bottom: 24px;

    .@{ant-prefix}-form-item-label {
      min-width: 80px;
      text-align: left;
    }
  }
}