.lib-container {
  padding: 8px 0px 12px;
  margin: 0 32px;
  border-top: 1px solid #434f54;
  box-sizing: border-box;
}

.lib-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lib-name {
  display: flex;
  flex-direction: row;
  gap: 4px;

  .lib-version-wrapper {
    position: relative;

    .lib-version {
      display: flex;
      height: 21px;
      width: fit-content;
      padding: 3px 5px;
      align-items: center;
      gap: 5px;

      border-radius: 3px;
      background: rgba(29, 160, 134, 0.06);
      color: #1da086;
    }

    .tooltip-content {
      width: 160px;
      padding: 8px;
      top: unset;
      right: unset;
      margin-left: 50%;
      background: var(--component-bg-inverted, #ecf1f1);
      color: var(--text-inverted-subtle, #5d6a6b);
      font-size: 10px;

      &.tooltip-show {
        display: flex;
      }
    }
  }
}

p {
  margin: 6px 0 12px 0;
}

.lib-sentence {
  font-size: 12px;
}

.lib-actions {
  display: flex;
  gap: 16px;

  .lib-button {
    svg {
      width: 16px;
      height: 16px;

      path {
        fill: #25c2c7;
      }
    }
  }
}

.lib-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 70px;
  background-color: #2c353a;
  border: 1px solid #374146;
  border-radius: none;
  padding: 6px;
  color: inherit;
  cursor: pointer;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>')
    no-repeat right 4px center;
  background-size: 14px;
  padding-right: 22px;

  option {
    background-color: #2c353a;
    color: inherit;
  }

  &::-webkit-scrollbar-thumb {
    border: 4px solid #2c353a;
  }

  &::-webkit-scrollbar-track {
    background-color: #2c353a;
  }
}

.lib-select:focus {
  border-color: #666;
}

.lib-select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
