.hazard-item {
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  padding: 10px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease-in-out;

  &:not(.active) {
    cursor: pointer;
  }

  .hazard-item-title {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
  }

  &:hover {
    &:not(.active) {
      background-color: #f5f5f5;
    }
  }

  &:active {
    &:not(.active) {
      background-color: #e5e5e5;
    }
  }

  &.active {
    background-color: #d9e4ff;
    border: 1px solid #d9e4ff;
  }

  &:last-child {
    margin-bottom: 0;
  }

  .level-tag {
    @apply flex-center;
    box-shadow: 0px 0px 8px 0px rgba(223, 223, 223, 0.5);
    background: var(--bg);
    border-radius: 10px;
    height: 20px;
    min-width: 40px;
    padding: 0 8px;
    font-size: 12px;
    color: #ffffff;
  }
}

.border-left {
  border-left: 1px solid #e5e5e5;
}
