/* ساختار اصلی کانتینر فیلترها */
.ag-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

/* استایل هر دکمه فیلتر */
.ag-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #f0f4fd; /* رنگ پیش فرض مشابه عکس */
    border-radius: 50px; /* کپسولی شدن */
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 12px;
}

/* افکت هاور و اکتیو */
.ag-filter-item:hover,
.ag-filter-item.active {
    background-color: #e2eafc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* بخش متون */
.ag-filter-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.ag-filter-text .ag-title {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.ag-filter-text .ag-count {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* بخش آیکون */
.ag-filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-filter-icon img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%; /* دایره ای شدن پیش فرض */
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* حالت Loading */
.ag-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
