@import "./tailwind.css";
@import "./nprogress.css";

:root {
  --header-bg-color: #191b37;
  --app-container-bg-color: white;
  --app-main-bg-color: #dee4f3;
  --app-main-text-color: #283e76;
  --app-secondary-text-color: #9193a1;
  --app-min-width: 1280px;
  --app-bold-text-color: #435488;
  --app-small-header-text-color: #7584ac;
  --app-score-color: #5d65ff;
  --app-primary-button-bg-color: #5d65ff;
  --app-ant-select-bg-override-color: #5d6d7d;
  --app-undo-button-bg-color: #4ed885;

  --app-main-font-size: 14px;
  --app-secondary-font-size: 12px;
  --app-title-font-size: 16px;
}

body {
  margin: 0;
  font-size: var(--app-main-font-size);
  /* min-width: var(--app-min-width); */
  background-color: var(--app-main-bg-color);
  min-height: 600px;
  user-select: none;
}

.main-text-color {
  color: var(--app-main-text-color);
}

.secondary-text {
  color: var(--app-small-header-text-color);
  font-size: var(--app-secondary-font-size);
}

.ant-message {
  z-index: 6001 !important;
  font-size: 16px !important;
}

.ant-pagination-item-link span[role="img"],
.ant-message-custom-content span[role="img"] {
  vertical-align: 0.2em !important;
}

button.ant-btn {
  height: 32px;
  padding: 4px 16px;
  font-size: 14px;
  border-radius: 8px;
}

button.ant-btn span[role="img"] {
  display: inline-flex !important;
}

button.ant-btn-primary {
  background-color: var(--app-primary-button-bg-color);
}

button.ant-btn.query-btn {
  background-color: #fe8398;
  color: white;
}

button.ant-btn.download-tpl-btn {
  background-color: #fe8398;
  color: white;
}

.ant-select .ant-select-selector {
  border-radius: 5px !important;
}

.ant-input-affix-wrapper {
  border-radius: 5px !important;
}

.ant-input,
.ant-input-number {
  border-radius: 5px !important;
}

.ant-pagination li,
.ant-pagination li a {
  border-radius: 50% !important;
}
.ant-pagination .ant-pagination-item-active {
  background-color: #4d66fd;
}
.ant-pagination .ant-pagination-item-active a {
  color: white !important;
}

.ant-table-tbody td .ant-btn {
  margin-right: 8px;
}
.ant-table-column-title {
  font-weight: 500;
  color: #7a7c85;
}

table.custom-table {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0;
  text-align: center;
}
.custom-table td {
  border: 1px solid #eeeeee;
  border-radius: 6px;
  border-collapse: separate !important;
  padding: 10px;
}

.section-title {
  color: #212534;
  font-size: 16px;
  font-weight: 700;
}

/* 左侧菜单 */
.ant-menu .ant-menu-title-content {
  color: #212534;
}
.ant-menu .ant-menu-title-content a[class=""] {
  color: #7a7c85;
}

/* modal 不要“取消按钮” */
.ant-modal-content .ant-modal-footer button:first-child {
  display: none;
}

.ant-popover-arrow {
  border-top-color: #4c4e5c !important;
  border-left-color: #4c4e5c !important;
}
.ant-popover-inner-content {
  background: linear-gradient(180deg, #4c4e5c 0%, #3d404e 100%);
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
  opacity: 0.98;
  border-radius: 10px;
  /* color: rgba(0, 0, 0, 0.3); */
}
.ant-select-clear {
  margin-top: -8px !important;
}
