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

.library-filter-options {
  &__tabs {
    display: flex;
    gap: calc(globals.$spacing-unit);
    position: relative;
  }

  &__tab-wrapper {
    position: relative;
  }

  &__tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: calc(globals.$spacing-unit) calc(globals.$spacing-unit * 2);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: color ease 0.2s;
    display: flex;
    align-items: center;
    gap: calc(globals.$spacing-unit * 0.5);

    &--active {
      color: white;
    }
  }

  &__tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
  }

  &__tab-underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
  }
}
