@use "../../scss/globals.scss";

.review-sort-options {
  &__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(globals.$spacing-unit);
    margin-bottom: calc(globals.$spacing-unit * 3);
  }

  &__label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
  }

  &__options {
    display: flex;
    align-items: center;
    gap: calc(globals.$spacing-unit);
    font-size: 14px;
    flex-wrap: wrap;

    @media (max-width: 768px) {
      gap: calc(globals.$spacing-unit * 0.75);
    }
  }

  &__option {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 300;
    transition: all ease 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;

    &:hover:not(:disabled) {
      color: rgba(255, 255, 255, 0.6);
    }

    &.active {
      color: rgba(255, 255, 255, 0.9);
      font-weight: 500;
    }

    span {
      display: inline-block;

      @media (max-width: 480px) {
        display: none;
      }
    }

    @media (max-width: 480px) {
      gap: 0;
    }
  }

  &__separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;

    @media (max-width: 480px) {
      display: none;
    }
  }
}
