:host {
  display: block;
  width: 189px;
  min-width: 189px;
  height: 100%;
  border-right: var(--panels-divider);
}

.palette-content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 4px;
  height: 100%;
  width: 100%;
}

.palette-group {
  width: 100%;

  .palette-group-header {
    height: 28px;
    width: 100%;
    padding: 0 8px;
    display: flex;
    align-items: center;
    background-color: var(--gray13);
    text-transform: capitalize;
  }

  .palette-group-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 2px;
    padding: 10px 2px;
  }
}

.palette-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 28px;
  width: 60px;
  height: 52px;
  user-select: none;
  padding: 4px;
  gap: 4px;
  border-radius: 4px;

  .palette-item-icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: var(--gray3);
  }

  .palette-item-name {
    font-size: 12px;
    color: var(--gray3);
  }

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

  &:hover {
    background-color: var(--gray13);
  }
}
