// Variables
$bg-item: #2a2a2a;
$bg-item-hover: #333333;
$accent-blue: #4f46e5;
$text-primary: #f5f5f5;
$text-secondary: #a0a0a0;

.python-tool-item {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background-color: $bg-item;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  gap: 12px;

  &.selected-tool {
    background-color: rgba($accent-blue, 0.2);
    border: 1px solid rgba($accent-blue, 0.5);

    .tool-name {
      color: $text-primary;
      font-weight: 500;
    }
  }

  &:hover {
    background-color: $bg-item-hover;
  }

  .tool-icon {
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .tool-name {
    flex: 1;
    font-size: 14px;
    color: $text-primary;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid $text-secondary;
    cursor: pointer;
    outline: none;

    &:checked {
      accent-color: $accent-blue;
    }
  }
}
