@import "./../variables";

.filter-slot {
    display: grid;
    grid-template-columns: auto auto;
    align-items: start;
    justify-content: start;
    margin: 10px 20px;

    > .filter {
        display: flex;
        flex-wrap: wrap;

        > div.filter-view {
            display: flex;
            gap: 10px;
            align-items: center;
            color: var(--primary, $primary);
            background-color: var(--primary-15, rgba($primary, 0.15));
            border-radius: 20px;
            padding: 5px 10px;
        }

        > div.filter-filters {
            display: flex;
            flex-direction: row;
            align-items: center;
            border-right: 1px solid $gray-light;
            padding: 2px 20px;

            .filter-label {
                color: var(--primary, $primary);
                margin-right: 10px;
                font-size: 12px;
                line-height: 15px;
                font-weight: 400;
            }

            .filter-value {
                display: flex;
                gap: 5px;

                .ui-tag {
                    background-color: var(--primary-20, rgba($primary, 0.2)) !important;
                    color: var(--primary, $primary) !important;
                    border-radius: 6px;
                    font-size: 12px;
                    padding: 5px 8px 4px 10px;
                    box-shadow: none;
                    margin: 0;
                    font-weight: 400;
                    min-height: 30px;

                    .ui-tag__label {
                        padding: 0;
                        margin-right: 5px;
                    }

                    .ui-tag__close {
                        padding: 0;
                        display: flex;
                        .ui-icon.digi-cross {
                            color: grey;
                            font-size: 6px;
                        }
                    }

                    > div > .digi-cross {
                        font-size: 10px;
                    }

                    .ui-btn {
                        min-height: 25px;
                    }
                }
                ui-button {
                    height: inherit;
                    border-radius: 50%;
                    .ui-btn {
                        padding: 0 3px;
                        min-width: 25px;
                        .ui-btn__icon {
                            padding: 0;
                        }
                    }
                }

                &.display-empty {
                    padding: 0 5px;
                }
            }
        }
    }

    .filter-reset {
        display: flex;
        align-items: center;

        &__result {
            font-style: normal;
            font-weight: 400;
            font-size: 14px;
            line-height: 22px;
            color: $gray-dark;
            margin-left: 10px;
        }
    }
}
