.ds-filter-container {
  display: flex;
  align-items: center;
  position: relative;

  .ds-dropdown-filter {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: var(--radius-050);
    border: 1px solid var(--border-button);

    .main-button,
    .icon-button {
      display: flex;
      align-items: center;
      background: transparent;
      color: var(--text-accent);
      border: 0px;
      height: 100%;
      cursor: pointer;
    }

    .icon-button {
      border-left: 1px solid var(--border-button);
      > .ds-icon {
        color: var(--icon-accent);
      }
    }

    &.disabled {
      border: 1px solid var(--layer-disabled);
      .main-button,
      .icon-button {
        background: var(--layer-disabled) !important;
        border: 1px solid var(--border-subtle-1) !important;
        color: var(--text-on-disabled) !important;

        > .ds-icon {
          color: var(--icon-on-disabled) !important;
        }
      }
    }

    &.active,
    &.selected,
    &:hover {
      background: var(--button-primary-active);

      .main-button {
        color: var(--text-on-color-light);
      }

      .icon-button {
        > .ds-icon {
          color: var(--icon-on-color-light);
        }
      }
    }

    &.large {
      height: 48px;

      .main-button {
        @include tag-large-1;

        > span {
          padding: var(--spacing-0) var(--spacing-150);
        }
      }
    }

    &.medium {
      height: 40px;

      .main-button {
        @include tag-large-1;

        > span {
          padding: var(--spacing-0) var(--spacing-150);
        }
      }
    }

    &.small {
      height: 32px;

      .main-button {
        @include tag-medium-1;

        > span {
          padding: var(--spacing-0) var(--spacing-100);
        }
      }
    }
  }
}
