/* ==========================================================================
   Active Filters Badges Display Styles
   Показване на активните филтри като badges под заглавието
   ========================================================================== */

/* Active Filters Display Container */
.active-filters-display {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0 20px 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.active-filters-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 8px;
}

.filter-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Filter Badge Styles */
.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filter-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.filter-badge-name {
    color: #333;
    font-weight: 500;
}

.filter-badge-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-badge-remove:hover {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    transform: scale(1.1);
}

.filter-badge-remove:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Light Background Variant (for non-header areas) */
.archive-content .active-filters-display,
.archive-main .active-filters-display {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    padding: 12px 16px;
    margin: 15px 0 20px 0;
}

.archive-content .active-filters-label,
.archive-main .active-filters-label {
    color: #495057;
}

.archive-content .filter-badge,
.archive-main .filter-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.archive-content .filter-badge:hover,
.archive-main .filter-badge:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.archive-content .filter-badge-name,
.archive-main .filter-badge-name {
    color: white;
}

.archive-content .filter-badge-remove,
.archive-main .filter-badge-remove {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.archive-content .filter-badge-remove:hover,
.archive-main .filter-badge-remove:hover {
    background: rgba(255, 255, 255, 0.5);
    color: white;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .active-filters-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
        margin: 12px 0 16px 0;
    }
    
    .active-filters-label {
        font-size: 13px;
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .filter-badges-container {
        width: 100%;
        gap: 6px;
    }
    
    .filter-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .filter-badge-remove {
        width: 16px;
        height: 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .active-filters-display {
        padding: 10px 12px;
        margin: 10px 0 12px 0;
    }
    
    .filter-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .filter-badges-container {
        gap: 5px;
    }
}

