/**
 * Shared Filters Styles
 * Common styles for filter blocks, genre badges, and genre filters
 * Used by: charts.css, originals_catalog.css
 *
 * @version 1.0.0
 */

/* ==================== FILTER BLOCK ==================== */

.filter-block {
    background: white;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.filter-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* ==================== GENRE FILTERS CONTAINER ==================== */

.genre-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.375rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.genre-filters::-webkit-scrollbar {
    height: 4px;
}

.genre-filters::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.genre-filters::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.genre-filters::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==================== GENRE BADGE ==================== */

.genre-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.genre-badge:hover {
    background: #dbeafe;
    color: #3b82f6;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.genre-badge.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.25);
}

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

@media (max-width: 768px) {
    .genre-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}
