:root {
  /* light */
  --navbar-bg-color: rgba(255, 255, 255, 0.5);
  /* 选项栏 背景色 */
  --select-bg-color: #fff;
  --full-screen-border-color: #eef1fa;
}
/* dark */
:root .classic-dark {
  --navbar-bg-color: rgba(230, 233, 242, 0.06);
  --select-bg-color: #292f40;
  --full-screen-border-color: transparent;
}

/* 增加权重 防止 body 样式被全局样式污染 */
:root body {
  font-weight: 500;
  font-size: 16rem;
  color: var(--color-text-1);
  margin: 0;
}
/* 移动端字体不使用 rem 单位 */
@media screen and (max-width: 767px) {
  :root body {
    font-size: 16px;
  }
}

.classic-dark #root {
  background-color: unset;
}
.classic-dark .layout {
  background-color: #151926;
}

.classic-dark .popup-tooltips-content {
  width: 200px !important;
  background-color: #1f2433 !important;
}
.classic-dark .popup-tooltips-arrow {
  color: #1f2433 !important;
}

.no-data {
  width: 200px;
  height: 132px;
  background-image: url('/images/noorder.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 50px auto 0;
}
.classic-dark .no-data,
.dark-body .no-data {
  background-image: url('/images/noorder_night.svg');
}
.no-data-text {
  color: var(--color-text-3);
  font-size: 14px;
  margin: 20px auto;
  text-align: center;
}

.no-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  font-size: 12px;
  color: var(--color-text-4);
}

.popup-common-main {
  padding: 20px !important;
}

.popup-tooltips-content {
  text-transform: none;
}

input:not(.not) {
  border: 1px solid var(--color-divider-1);
}
input:not(.not):focus {
  outline: none;
  border-color: var(--color-brand-1);
}
input:not(.not):checked {
  border-color: var(--color-brand-1);
  background-color: var(--color-brand-1);
}
input::placeholder {
  color: var(--color-text-4) !important;
}

.mantine-Select-dropdown {
  padding: 0;
  border: none;
  background-color: revert;
}
.mantine-Select-item {
  border-radius: revert;
  height: 40px;
  color: var(--color-text-1);
  background-color: var(--color-cmpt-2);
}

.mantine-Select-rightSection {
  font-size: 14px;
  pointer-events: none;
}
.mantine-Select-selected {
  color: var(--color-brand-1);
  background-color: var(--color-card-3);
}
.mantine-Select-hovered {
  background-color: var(--color-card-3);
}

.underline-dashed {
  /* text-decoration: underline dashed currentColor 1px; */
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-style: dashed;
  /* text-underline-offset: 4px; */
  cursor: pointer;
}
