/* 全局或特定组件的字体设置 */
body {
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  /* Chrome, Safari, Opera */
  -moz-osx-font-smoothing: grayscale;
  /* Firefox */
}
.ant-btn-primary {
  border: 0;
}
.ant-btn-primary span {
  position: relative;
  z-index: 99;
}
.ant-btn-primary::after {
  content: '';
  width: 0;
  height: 100%;
  display: inline-block;
  position: absolute;
  transition: all 0.3s;
  left: 0;
  top: 0;
  background: linear-gradient(148deg, #6c65d4 0%, #4238c9 100%);
  border-radius: 6px;
  opacity: 0;
}
.ant-btn-primary:hover {
  background: #4238c9;
}
.ant-btn-primary:hover::after {
  width: 100%;
  opacity: 1;
}
.ant-btn-primary:disabled {
  border: 1px solid #d9d9d9;
}
.ant-btn-primary:disabled::after {
  display: none;
}
.ant-btn-primary:disabled:hover {
  background: #f5f5f5;
}
.ant-btn-primary:disabled:hover::after {
  display: none;
}
.ant-card {
  display: flex;
  flex-direction: column;
}
.ant-card-body {
  flex-grow: 1;
}
.ant-card-head {
  border-bottom: none;
  font-size: 16px;
}
.ant-card-head-title {
  font-weight: 600;
  line-height: 1.2;
  padding-bottom: 0;
}
.ant-card-actions {
  border: none;
}
.ant-picker {
  height: 32px;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.ant-input,
.ant-input-affix-wrapper {
  padding-top: 6px;
  padding-bottom: 6px;
}
.ant-modal-footer {
  padding: 0 24px 24px 0;
  border: none;
}
.ant-image-preview-operations-operation {
  display: none;
}
.ant-image-preview-operations-operation:nth-child(1) {
  display: block;
  border-radius: 0 0 0 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.ant-image-preview-operations-operation:nth-child(1) .ant-image-preview-operations-icon {
  margin-right: -6px;
  margin-top: -4px;
}
.ant-image-preview-mask {
  background-color: rgba(51, 51, 51, 0.5);
}
.ant-pagination-item-active {
  background-color: #fff;
  border-color: #4238c9;
  border-radius: 4px;
}
.ant-pagination-item:hover {
  border-color: #e9f1ff;
}
.ant-form-item-explain-error {
  font-size: 12px;
  line-height: 2;
}
.ant-table-tbody > tr.ant-table-row {
  position: relative;
}
.ant-table-tbody > tr > td {
  background: #fafafa;
}
.ant-table-tbody > tr > td {
  line-height: 21px;
  padding: 12px 6px !important;
  border-top: 5px solid #fff !important;
  border-bottom: 5px solid #fff !important;
}
.ant-table-tbody > tr > td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.ant-table-tbody > tr > td:first-child {
  border-top-left-radius: 12px;
  padding-left: 8px !important;
  border-bottom-left-radius: 12px;
}
.ant-table-tbody > tr.ant-table-row:hover > td {
  background: #f3f4f6 !important;
}
.ant-table-tbody > tr.ant-table-row:hover > td:nth-child(1)::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 32px;
  background: #4238c9;
  border-radius: 0px 4px 4px 0px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.ant-table-tbody > tr.mySelfClassName > td {
  background: #f3f4f6 !important;
}
.ant-table-tbody > tr.mySelfClassName > td:nth-child(1)::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 32px;
  background: #4238c9;
  border-radius: 0px 4px 4px 0px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.ant-table-tbody > tr.ant-table-row-selected > td {
  background: #f3f4f6 !important;
}
.ant-table-thead tr {
  margin-bottom: 5px;
}
.ant-table-thead tr:hover th {
  background: #f7f8fa;
}
.ant-table-thead tr:hover th::before {
  width: 0 !important;
}
.ant-table-thead tr th {
  line-height: 21px;
  padding: 12px 6px !important;
  border-top: 5px solid #fff !important;
  border-bottom: 5px solid #fff !important;
  background: #eff1f8 !important;
}
.ant-table-thead tr th::before {
  width: 0 !important;
}
.ant-table-thead tr th:last-child {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}
.ant-table-thead tr th:first-child {
  padding: 12px !important;
  padding-left: 8px !important;
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}
.ant-image-preview-operations {
  background-color: rgba(0, 0, 0, 0);
}
.ant-image-mask {
  background-color: rgba(0, 0, 0, 0.2);
}
.ant-image-preview-img {
  max-width: 80%;
  max-height: 80%;
}
.ant-notification-notice-closable .ant-notification-notice-message {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.1);
}
.ant-table-container {
  border: 0 !important;
}
.ant-modal-header {
  padding: 19px 0;
  margin: 0 20px;
}
.ant-drawer-header {
  border: 0 !important;
  position: relative;
}
.ant-drawer-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  border: 1px solid #f0f0f0;
}
.ant-checkbox-inner {
  border-radius: 2px !important;
}
.ant-tooltip {
  max-width: 300px;
}
.rc-virtual-list-holder-inner {
  padding: 0 2px;
}
.ant-select-item-option {
  margin: 2px !important;
  border-radius: 4px !important;
}
.ant-select-item-option-content {
  color: #333;
}
.ant-select-item-option-disabled .ant-select-item-option-content {
  color: inherit;
}
.ant-select-item-option-active {
  background: #ecebf9 !important;
  margin: 2px !important;
  border-radius: 4px !important;
}
.ant-select-item-option-selected {
  background: #ecebf9 !important;
  margin: 2px !important;
  border-radius: 4px !important;
}
.ant-select-item-option-selected .ant-select-item-option-content {
  color: #4238c9 !important;
}
.ant-cascader-menu-item-active {
  background: #ecebf9 !important;
}
.ant-cascader-menu-item:hover {
  background: #ecebf9 !important;
}
.ant-cascader-menu-item-content {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
  background: #e7e9f3 !important;
}
.ant-picker-cell-in-view.ant-picker-cell-in-range::before {
  background: #ecebf9 !important;
}
.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
  background: #e7e9f3 !important;
}
.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after,
.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner::after {
  background: none !important;
}
.ant-tooltip-inner {
  display: flex;
  align-items: center;
  word-break: break-all;
  flex-wrap: wrap;
}
.ant-form-horizontal .ant-form-item-control {
  flex: unset !important;
}
.task-warn .ant-message-notice-content {
  color: #ffad31;
  background: #fff3e1;
  border-radius: 4px;
  border: 1px solid #ffad31;
  line-height: 21px;
}
.task-info .ant-message-info .anticon {
  color: #5890ff !important;
}
.task-info .ant-message-notice-content {
  color: #5890ff;
  background: #ebf5ff;
  border-radius: 4px;
  border: 1px solid #5890ff;
  line-height: 21px;
}
.task-error .ant-message-notice-content {
  color: #f53f3f;
  background: #ffeff1;
  border-radius: 4px;
  border: 1px solid #f53f3f;
  line-height: 21px;
}
.ant-drawer-footer {
  font-size: 14px;
  border-top: 0px !important;
}
.ant-drawer-body {
  font-size: 14px;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  border-radius: 0px;
}
.ant-tree-list-scrollbar-thumb,
::-webkit-scrollbar-thumb {
  width: 6px;
  background: #d9d9d9 !important;
  border-radius: 4px;
}
* {
  scrollbar-color: #d9d9d9 transparent;
  scrollbar-width: none;
}
.info > .ant-message-notice-content {
  border: 1px solid #5890ff;
  background-color: #ebf5ff;
  color: #5890ff;
}
::-webkit-scrollbar-corner {
  background: rgba(0, 0, 0, 0) !important;
}
.ant-select-tree-checkbox-inner {
  border-radius: 2px;
}
.ant-empty {
  margin: 32px 0;
  color: rgba(0, 0, 0, 0.25);
}
.ant-drawer-close {
  position: absolute;
  right: 0px;
  color: #999999;
}
.ant-message-warning {
  display: flex;
}
.ant-message-warning .ant-message .anticon {
  top: 4px;
}
.ant-tooltip-inner {
  font-size: 12px;
}
textarea::-webkit-input-placeholder {
  color: #b3b3b3;
  font-style: italic;
  font-weight: lighter;
}
textarea:-moz-placeholder {
  color: #b3b3b3;
  font-style: italic;
  font-weight: lighter;
}
textarea::-moz-placeholder {
  color: #b3b3b3;
  font-style: italic;
  font-weight: lighter;
}
textarea:-ms-input-placeholder {
  color: #b3b3b3;
  font-style: italic;
  font-weight: lighter;
}
.ant-select-multiple .ant-select-selection-item {
  height: 20px;
  /* line-height: 20px; */
  padding: 0 3px;
  font-size: 12px;
  margin: 0px 4px 0 0;
}
.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
  border-radius: 4px;
}
.ant-table-placeholder {
  background: transparent !important;
}
a {
  text-decoration: none;
}
a:hover,
a:visited,
a:active {
  text-decoration: underline;
}
.ant-typography a:hover,
.ant-typography a:visited,
.ant-typography a:active {
  text-decoration: underline;
}
.ant-pagination-item a,
.ant-pagination a,
.ant-picker-dropdown a {
  text-decoration: none;
}
.ant-pagination-item a:hover,
.ant-pagination a:hover,
.ant-picker-dropdown a:hover,
.ant-pagination-item a:visited,
.ant-pagination a:visited,
.ant-picker-dropdown a:visited,
.ant-pagination-item a:active,
.ant-pagination a:active,
.ant-picker-dropdown a:active {
  cursor: pointer;
  text-decoration: none;
}
a.ant-typography-expand {
  text-decoration: none;
}
a.ant-typography-expand:hover,
a.ant-typography-expand:visited,
a.ant-typography-expand:active {
  cursor: pointer;
  text-decoration: none;
}
.ant-pagination a {
  cursor: text;
}
.ant-pagination-item-active {
  background: #dad8f4 !important;
  border-color: transparent !important;
}
.ant-pagination-item-active a {
  color: #4238c9 !important;
}
.ant-pagination-item:hover,
.ant-pagination-next .ant-pagination-item-link:hover,
.ant-pagination-prev .ant-pagination-item-link:hover {
  background: #dad8f4 !important;
  border-color: transparent !important;
}
.ant-pagination-next.ant-pagination-disabled .ant-pagination-item-link:hover,
.ant-pagination-prev.ant-pagination-disabled .ant-pagination-item-link:hover {
  background: #fff !important;
  border-color: #d9d9d9 !important;
}
.ants-success .ant-message-notice-content {
  background: #f2f9eb;
  border-radius: 6px;
  border: 1px solid #67c23a;
  color: #67c23a;
}
.ants-error .ant-message-notice-content {
  background: #ffeff1;
  border-radius: 6px;
  border: 1px solid #f53f3f;
  color: #f53f3f;
}
.ants-warning .ant-message-notice-content {
  background: #fff3e1;
  border-radius: 6px;
  border: 1px solid #ffad31;
  color: #ffad31;
}
.ants-info .ant-message-notice-content {
  background: #ebf5ff;
  border-radius: 6px;
  border: 1px solid #5890ff;
  color: #5890ff;
}
.ants-info .ant-message-notice-content .anticon {
  color: #5890ff;
}
thead.ant-table-thead > tr > th {
  font-weight: 600;
}
.ant-dropdown-menu {
  padding: 4px 2px;
}
.ant-dropdown-menu-item {
  border-radius: 4px;
  padding: 5px 12px;
  margin: 4px;
}
.ant-dropdown-menu-title-content {
  flex-shrink: 0;
}
.ant-dropdown-menu-item-active {
  background: #e7e9f3 !important;
  color: #4238c9 !important;
}
.ant-dropdown-menu-item-selected {
  background: #e7e9f3 !important;
}

