.select-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 6px 8px;
  border-radius: 4px;
  user-select: none;
  justify-content: center;

  &.mobile {
    text-align: center;

    & span {
      margin: 0 auto;
    }
  }

  .select-group-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.35rem 0.8rem;
    margin: 0.25rem;
    border: 1px solid hsl(var(--border));
    border-radius: 4px;
    transition: .2s;
    cursor: pointer;
    font-size: 16px;
    background: hsl(var(--background));
    color: hsl(var(--text));

    &:hover {
      background: hsl(var(--accent));
    }

    &.active {
      background: hsl(var(--text));
      border-color: hsl(var(--border-hover));
      color: hsl(var(--background));

      .select-element.badge {
        &.badge-default {
          background: hsl(var(--background)) !important;
          color: hsl(var(--text));

          &:hover {
            background: hsl(var(--background)) !important;
          }
        }
      }
    }
  }
}

.select-element.badge {
  user-select: none;
  transition: .2s;
  padding-left: 0.45rem;
  padding-right: 0.45rem;

  &.badge-default {
    background: hsl(var(--primary)) !important;

    &:hover {
      background: hsl(var(--primary)) !important;
    }
  }

  &.badge-gold {
    color: rgb(164, 128, 0) !important;
    background: rgb(255, 231, 145) !important;
  }
}

.model-select-group {
  transform: translateX(-26px) !important;
  width: calc(100vw - 72px) !important;
}
