.risk-panel {
  position: absolute;
  bottom: 16px;
  right: 20px;
  width: calc(100% - 40px);
  background: rgba(21, 29, 34, 0.7);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.risk-panel-header {
  background: radial-gradient(0% 146% at -118% 0%, rgba(145, 185, 255, 0.15) 0%, rgba(145, 185, 255, 0.06) 100%);
  border-radius: 6px 6px 0px 0px;
  height: 44px;
  border-bottom: 1px solid rgba(145, 185, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 10px;
}
.nested-bg {
  background: rgba(145, 185, 255, 0.1);
  border-radius: 6px 6px 0px 0px;
}
.title-name {
  height: 32px;
  background-image: url('/assets/images/datav/station-name-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 2px center;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: start;
  // padding-left: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.category-item {
  display: inline-block;
  height: 32px;
  line-height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  background: radial-gradient(100% 107% at 6% 1%, rgba(94, 120, 165, 0.075) 14%, rgba(94, 120, 165, 0.03) 100%);
  border: 1px solid rgba(108, 113, 120, 1);
  margin-right: 8px;
  cursor: pointer;
  &:last-child {
    margin-right: 0;
  }
  &.active {
    background: radial-gradient(100% 100% at 24% 0%, rgba(25, 108, 251, 0.2) 20%, rgba(25, 108, 251, 0) 100%),
      radial-gradient(0% 107% at 6% 1%, rgba(145, 185, 255, 0.15) 9%, rgba(145, 185, 255, 0.06) 100%);
    box-shadow: inset 0px 0px 12px 0px rgba(25, 108, 251, 0.8);
    border: 1px solid rgba(85, 147, 255, 1);
  }
}

.risk-panel-content {
  padding: 10px 0 10px 10px;
  background: rgba(145, 185, 255, 0.1);
  border-radius: 0px 0px 6px 6px;
  display: flex;

  .risk-panel-content-title {
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    writing-mode: vertical-rl;
    margin-right: 10px;
    text-align: center;
  }
  .risk-panel-content-body-wrapper {
    height: 105px;
    overflow-y: auto;
    padding-right: 10px;
  }
  .risk-panel-content-body {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .risk-item {
    background: rgba(145, 185, 255, 0.1);
    border-radius: 6px;
    height: 104px;
    background: linear-gradient(180deg, rgba(145, 185, 255, 0.12) 0%, rgba(145, 185, 255, 0.02) 100%);
    border-radius: 4px 4px 4px 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
    cursor: pointer;

    &.active {
      background: linear-gradient(180deg, rgba(145, 185, 255, 0.12) 0%, rgba(145, 185, 255, 0.02) 100%);
      box-shadow: inset 0px 0px 12px 0px rgba(25, 108, 251, 0.8);
      border: 1px solid rgba(85, 147, 255, 1);
    }
  }
}
