#box_stat {
  width: 490px;
  background-color: #fdfdfd;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#box_stat .box_title {
  display: flex;
  justify-content: space-between;
  margin: 0px;
  align-items: center;
}

#box_stat .box_title #link_analysis {
  text-decoration: none;
}

#box_stat .box_title h6 {
  color: var(--color-black);
  font-size: 14px;
  cursor: pointer;
}

#box_stat .box_title h6:hover {
  color: var(--color-primary);
}

#box_stat .box_title span {
  font-size: 10px;
  color: var(--color-greyDark);
  display: flex;
  align-items: center;
  gap: 4px;
}

#box_stat .box_title .custom-img {
  width: 14px;
  height: 14px;
  background-image: url("/static/img/studio/charts/icon_warning.png");
  background-size: cover;
  background-position: center;
}

#box_stat .stat_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
}

#box_stat .stat_row p {
  font-size: 12px;
  color: var(--color-greyMedium);
}

#box_stat .stat_row button {
  background-color: transparent;
  border: 0px;
  height: 20px;
  content: url("/static/img/studio/charts/icon_tooltip.png");
}

#box_stat .stat_row h6 {
  font-size: 14px;
}

#box_stat .stat_row #up_prob {
  display: flex;
  align-items: center;
  gap: 8px;
}

#box_stat .stat_row #up_prob img {
  width: 20px;
}

#box_stat .stat_row #up_prob .progress {
  width: 120px;
  height: 8px;
  background-color: transparent;
}

@media (max-width: 1300px) {
  #box_stat {
    width: 100%;
    height: 129px;
  }
}

@media (max-width: 768px) {
  #box_stat .stat_row h6 {
    font-size: 12px;
  }

  #box_stat .stat_row #up_prob {
    gap: 4px;
  }

  #box_stat .stat_row #up_prob img {
    width: 16px;
  }

  #box_stat .stat_row #up_prob .progress {
    width: 68px;
  }
}

body.dark-mode #box_stat {
  background-color: var(--color-greyDark);
}

body.dark-mode #box_stat .box_title h6 {
  color: var(--color-white);
}

body.dark-mode #box_stat .box_title h6:hover {
  color: var(--color-primary);
}

body.dark-mode #box_stat .box_title span {
  color: var(--color-greyLight);
}

body.dark-mode #box_stat .box_title .custom-img {
  background-image: url("/static/img/studio/charts/icon_warning_dark.png");
}

body.dark-mode #box_stat .stat_row button {
  content: url("/static/img/studio/charts/icon_tooltip_dark.png");
}

body.dark-mode #box_stat .stat_row p {
  font-size: 12px;
  color: var(--color-greyLightMedium);
}
