.AllBadges {
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 10px;

    &--loading {
        justify-content: center;
        align-items: center;

        .spinner {
            width: 48px;
            height: 48px;
        }
    }

    &__loadingWrap {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;

        .spinner {
            width: 48px;
            height: 48px;
        }
    }

    &__emptyContent {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
        flex: 1;
    }

    &__emptyTitle {
        font-size: 16px;
        font-weight: 600;
        color: var(--center-channel-color, #3d3c40);
        margin-bottom: 8px;
    }

    &__emptyDescription {
        font-size: 13px;
        color: rgba(var(--center-channel-color-rgb, 61, 60, 64), 0.72);
        margin-bottom: 16px;
        line-height: 1.5;
    }

    &__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    &__tabs {
        display: flex;
        gap: 0;
    }

    &__tab {
        background: none;
        border: none;
        border-bottom: 2px solid transparent;
        padding: 4px 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        color: rgba(var(--center-channel-color-rgb, 61, 60, 64), 0.64);

        &:hover {
            color: var(--center-channel-color, #3d3c40);
        }

        &--active {
            color: var(--button-bg, #166de0);
            border-bottom-color: var(--button-bg, #166de0);
        }
    }

    &__empty {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
        font-size: 14px;
        color: rgba(var(--center-channel-color-rgb, 61, 60, 64), 0.64);
    }

    &__backHeader {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    &__filterTitle {
        font-size: 15px;
        font-weight: 600;
        color: var(--center-channel-color, #3d3c40);
    }

    &__content {
        position: relative;
        display: flex;
        flex-flow: column;
        flex: 1;
        min-height: 0;

        > .badge-tooltip-wrapper {
            position: absolute;
            bottom: 12px;
            right: 14px;
            z-index: 10;
        }
    }

    &__fab {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: var(--button-bg, #166de0);
        color: var(--button-color, #fff);
        border: none;
        font-size: 16px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.15s, box-shadow 0.15s;

        &:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        }
    }
}
