.ant-modal {
  .ant-modal-content {
    padding: 0;
  }

  .ant-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 0px;
  }

  .ant-modal-close {
    top: 20px;
  }

  .ant-modal-body {
    padding: 20px 24px;
  }

  .ant-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #d9d9d9;
    margin-top: 0px;
  }

  /* Modal.confirm/warning/info/error 不走 header/body/footer 结构，
     需单独补回 padding，否则内容会顶到边 */
  &.ant-modal-confirm .ant-modal-content {
    padding: 32px 32px 24px;
  }
}

.kanban-update-modal {
  .ant-modal-body {
    padding: 0px;
  }

  .ant-modal-footer {
    border-top: none;
    text-align: unset;
  }
}

.ant-select.kanban-users-form-select {
  .ant-select-selector {
    background-color: #fff;
  }
}

.audit-log-table {
  .ant-table {
    .ant-table-tbody {
      & > tr.ant-table-row:hover > td {
        background: none !important;
      }
    }

    .ant-table-cell {
      vertical-align: top;
    }
  }
}

.ant-picker-calendar {
  .ant-picker-panel {
    .ant-picker-body {
      .ant-picker-cell {
        .ant-picker-calendar-date-content {
          height: 92px;
          overflow: hidden;
        }
      }
    }
  }
}

.ant-pagination-total-text {
  margin-right: auto;
  font-size: 14px !important;
  color: rgba(0, 0, 0, 0.45) !important;
  margin-inline-end: auto !important;
}

.ant-color-picker {
  .ant-popover-content {
    .ant-collapse-header {
      display: none;
    }
  }
}

.ant-table-cell {
  white-space: nowrap;
}

th.ant-table-column-sort {
  background-color: #fafafa !important;
}

td.ant-table-column-sort {
  background-color: #ffffff !important;
}

.ant-table-tbody > tr > td {
  padding: 12px 11.25px 11px 16px !important;
}

/* .ant-table-tbody > tr:first-child > td {
    padding: 0px !important;
} */

.ant-page-header-content {
  padding-block-start: 8px;
}

tr.ant-table-measure-row {
  visibility: collapse;
}
.ant-carousel .slick-prev,
.ant-carousel .slick-next,
.ant-carousel .slick-prev:hover,
.ant-carousel .slick-next:hover {
  font-size: inherit;
  color: currentColor;
}

.ant-spin-nested-loading,
.ant-spin-container {
  width: 100%;
  height: 100%;
}

.ant-picker-input > input[disabled] {
  color: #777 !important;
}
.ant-table-expanded-row-level-1 {
  background-color: #eee;
}
