@import '~styles/variables';

.table {
  overflow: hidden;
  background-color: #fff;
  border-radius: @border-radius;
  box-shadow: @base-shadow;

  :global {
    .ant-table-container {
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 5%);
    }

    .ant-table-pagination.ant-pagination {
      margin: 0;
      padding: 8px 16px;
    }
  }
}

.button {
  min-width: 96px;
  margin-left: 10px;
}

.select-title {
  padding: 2px;
}

.cancel-select {
  color: #fff;
}

.create {
  min-width: 96px;
  margin-left: 12px;
}

.action {
  padding: 0 4px;
  color: @blue-color03;
  font-weight: @font-bold;
  cursor: pointer;
}

.column-menu {
  width: 160px;
  overflow: hidden;
  border-radius: @border-radius;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 20%);

  :global {
    .ant-menu-vertical > .ant-menu-item {
      height: 30px;
      line-height: 30px;
    }
  }
}

.custom-button {
  margin-left: 0;
}

.table-header {
  display: flex;
  justify-content: space-between;
}

.table-header-btns {
  position: relative;
  display: inline-block;
  margin-bottom: @body-padding;

  :global {
    button {
      margin-right: 10px;
    }

    .ant-btn[disabled] {
      box-shadow: 0 2px 0 rgba(0, 0, 0, 4.5%);
    }
  }
}

.search-row {
  float: right;
  min-width: 350px;
}

.search-input {
  width: 288px;
  height: 32px;
}
