/*
 * GX FILTER BAR
 * Sticky top filter system with dark luxury + Flamingo Pink accents
 */

.gx-filterbar {
    width: 100%;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border-soft);

    box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.55),
    inset 0 0 22px rgba(255, 79, 163, 0.06);

    position: sticky;
    top: 0;
    z-index: 80;

    padding: 0.9rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;

    backdrop-filter: blur(14px);
}

/* Inner layout */
.gx-filterbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Inputs */
.gx-filterbar-inner .gx-input {
    flex: 2;
    min-width: 170px;
}

/* Dropdowns / Selects */
.gx-filter-select {
    flex: 1;
    min-width: 140px;

    background: var(--color-bg-elevated);
    color: var(--color-text-primary);

    padding: 0.6rem 0.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border-soft);

    transition: border var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;

    box-shadow: inset 0 0 14px rgba(255, 79, 163, 0.05);
}

.gx-filter-select:hover {
    border-color: var(--color-brand);
    box-shadow: var(--shadow-glow-pink-soft);
}

.gx-filter-select:focus {
    outline: none;
    border-color: var(--color-brand-hover);
    box-shadow: var(--shadow-glow-pink);
}

/* Buttons */
.gx-filterbar-inner .gx-button {
    flex-shrink: 0;
}

/* Mobile collapse toggle */
.gx-filter-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-brand);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Mobile layout */
@media (max-width: 900px) {
    .gx-filterbar {
        padding: 0.8rem 1rem;
    }

    .gx-filter-toggle {
        display: block;
    }

    .gx-filterbar-inner {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.9rem;
    }

    .gx-filterbar.open .gx-filterbar-inner {
        display: flex;
    }

    .gx-filter-select,
    .gx-filterbar-inner .gx-input {
        width: 100%;
        min-width: unset;
    }
}
