/*
 * Filter row — Figma "btn-filter" (4441:4405).
 *
 * The alphabetical filter of the laboratories and the category filter of the group information.
 */

.mo-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mo-spacing-xxs);
}

.mo-filter {
    display: inline-flex;
    min-width: var(--mo-scale-500);
    height: var(--mo-scale-500);
    align-items: center;
    justify-content: center;
    padding-inline: var(--mo-spacing-xs);
    border-radius: var(--mo-radius-sm);
    background-color: var(--mo-surface-default-white);
    color: var(--mo-text-body);
    font-size: var(--mo-font-size-body-md);
    font-weight: var(--mo-font-weight-semibold);
    line-height: var(--mo-line-height-body-md);
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease;
}

.mo-filter:hover {
    background-color: var(--mo-surface-action-light);
    color: var(--mo-text-action);
}

.mo-filter--active {
    background-color: var(--mo-surface-action-dark);
    color: var(--mo-text-default-light);
}

.mo-filter--active:hover {
    background-color: var(--mo-surface-action-dark);
    color: var(--mo-text-default-light);
}

.mo-filter--disabled {
    background-color: var(--mo-surface-disabled);
    color: var(--mo-text-disabled);
    cursor: not-allowed;
}
