@import url('./arco-reset.less');

@tailwind base;
@tailwind components;
@tailwind utilities;
* {
  @apply box-border;
}
html,
body {
  @apply m-0 h-full w-full p-0;

  font-size: 14px;
  background-color: var(--color-bg-1);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}
.echarts-tooltip-diy {
  @apply !border-none;

  /* Note: backdrop-filter has minimal browser support */

  border-radius: 6px !important;
  background: linear-gradient(304.17deg, rgb(253 254 255 / 60%) -6.04%, rgb(244 247 252 / 60%) 85.2%) !important;
  backdrop-filter: blur(10px) !important;
  .content-panel {
    @apply flex justify-between;

    margin-bottom: 4px;
    padding: 0 9px;
    width: 164px;
    height: 32px;
    border-radius: 4px;
    background: rgb(255 255 255 / 80%);
    box-shadow: 6px 0 20px rgb(34 87 188 / 10%);
    line-height: 32px;
  }
  .tooltip-title {
    margin: 0 0 10px;
  }
  p {
    @apply m-0;
  }
  .tooltip-title,
  .tooltip-value {
    @apply flex items-center text-right font-bold;

    font-size: 13px;
    color: #1d2129;
    line-height: 15px;
  }
  .tooltip-item-icon {
    @apply inline-block;

    margin-right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
}
.general-card {
  @apply border-none;

  border-radius: 4px;
  & > .arco-card-header {
    @apply h-auto border-none;

    padding: 20px;
  }
  & > .arco-card-body {
    padding: 0 20px 20px;
  }
}
.split-line {
  border-color: rgb(var(--gray-2));
}
