/* ===================================================================
   DATABASE/COMPONENTS/FILTERS.CSS
   Filter Buttons Styling
   =================================================================== */

/* Filter buttons container */
#default-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    padding: 4px 0;
}

#default-filters::-webkit-scrollbar {
    display: none;
}

/* Filter button base styles */
.filter-button {
    background-color: transparent;
    color: var(--button-color, white);
    border: 1px solid var(--button-color, white);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    outline: none;
    text-align: center;
    white-space: nowrap;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hover state */
.filter-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: var(--button-color, white);
    color: var(--button-color, white);
    box-shadow: 0 0 15px var(--button-color, currentColor);
}

/* Active state - no movement, just visual feedback */
.filter-button:active {
    /* Removed transform to prevent shift */
}

/* Active filter state */
.filter-button.active {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--button-color, white);
    border-color: var(--button-color, white);
    box-shadow: 0 0 20px var(--button-color, currentColor);
}

.filter-button.active::before {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    #default-filters {
        gap: 8px;
    }
    
    .filter-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}
