    /* =========================================
   06-FILTERS (Refactored to BEM-like)
   ========================================= */

    /* Main Container (Hero Filter) */
    .filter {
        background: rgba(10, 32, 59, 0.45);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow:
            0 0 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 1px rgba(255, 255, 255, 0.1);
        border-radius: 28px;
        padding: 35px;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 100;
        animation: fadeInUp 1.4s cubic-bezier(0.2, 0.6, 0.2, 1);
    }

    @keyframes searchPulse {
        0% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: 0.8;
            transform: scale(0.99);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .search-refresh-pulse {
        animation: searchPulse 0.6s ease-out;
    }

    /* Modifier: Hero Placement */
    .filter--hero {
        margin-top: 10px;
        transition: all 0.3s ease;
    }

    /* Filter Body/Layout */
    .filter__body {
        display: flex;
        flex-direction: column;
        gap: 15px;
        overflow: visible !important;
    }

    .filter__row {
        display: flex;
        gap: 15px;
        width: 100%;
        margin-bottom: 5px;
        /* Tighter gap */
        align-items: center;
    }

    /* Base Visibility Classes */
    .mobile-only-flex {
        display: none !important;
    }

    .desktop-only-flex {
        display: flex !important;
    }



    .filter__row:last-child {
        margin-bottom: 0;
    }

    /* Row 1 Columns */
    .filter__col-search {
        flex: 1;
    }

    .filter__col-toggle-small {
        flex: 0 0 240px;
    }

    .filter__col-action {
        flex: 0 0 auto;
        min-width: 160px;
        margin-left: 10px;
    }

    /* Row 2 Columns (5 Items Inline) */
    .filter__row.secondary-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr auto;
        gap: 10px;
    }

    .filter__col-select {
        min-width: 0;
        position: relative;
        /* Ensure dropdowns are positioned relative to this column */
    }

    /* Status Column (inline) */
    .filter__col-status {
        display: flex;
        align-items: center;
        margin-top: 0 !important;
        /* Reset margin */
    }

    /* Specific Select Tweaks for compactness */
    .filter__select-wrap {
        padding: 0 12px;
        /* Tighter padding */
        height: 50px;
    }

    .filter__select-label {
        font-size: 0.85rem;
        /* Slightly smaller text */
    }

    .filter__select-icon {
        margin-right: 8px;
        font-size: 0.8rem;
        /* Reduced from 0.9rem on desktop */
    }

    .filter__select-chev {
        margin-left: 5px;
    }


    /* Elements */
    .filter__btn-search {
        width: 100%;
        height: 60px;
        background: linear-gradient(135deg, #C9A23F 0%, #E5B94D 100%);
        color: #000 !important;
        border: none;
        border-radius: 35px;
        font-size: 1.2rem;
        font-weight: 900;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        box-shadow: 0 4px 15px rgba(201, 162, 63, 0.3);
        position: relative;
        overflow: hidden;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .filter__btn-search::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.2),
                transparent);
        transform: skewX(-20deg) translateX(-150%);
        animation: button-shimmer 3s infinite;
    }

    @keyframes button-shimmer {
        100% {
            transform: skewX(-20deg) translateX(250%);
        }
    }

    .filter__btn-search:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(201, 162, 63, 0.5);
        filter: brightness(1.1);
    }

    .filter__btn-reset {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 35px;
        color: #fff;
        cursor: pointer;
        transition: all 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .filter__btn-reset:hover {
        background: rgba(255, 0, 0, 0.15);
        color: #ff4d4d;
        border-color: rgba(255, 77, 77, 0.3);
        transform: rotate(-180deg);
    }

    [data-theme="dark"] .filter__btn-reset {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .filter__toggle-group {
        display: flex;
        width: 100%;
        background: rgba(10, 32, 59, 0.6);
        backdrop-filter: blur(30px);
        border: 1.5px solid rgba(255, 255, 100, 0.08);
        border-radius: 40px;
        padding: 6px;
        height: 60px;
        overflow: hidden;
        box-sizing: border-box;
        align-items: stretch;
        gap: 0;
        position: relative;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    /* The Sliding Glider */
    .filter__toggle-group::before {
        content: '';
        position: absolute;
        top: 6px;
        left: 6px;
        width: calc(50% - 6px);
        height: calc(100% - 12px);
        background: linear-gradient(135deg, #C9A23F 0%, #E5B94D 100%);
        border-radius: 30px;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 4px 15px rgba(201, 162, 63, 0.3);
        z-index: 0;
    }

    /* Glider Positioning Logic */
    /* Glider Positioning Logic - Desktop Only */
    @media (min-width: 851px) {
        .filter__toggle-group:has(.filter__toggle-btn:nth-child(1).active)::before {
            transform: translateX(0);
        }

        .filter__toggle-group:has(.filter__toggle-btn:nth-child(2).active)::before {
            transform: translateX(100%);
        }
    }

    .filter__toggle-btn {
        flex: 1;
        border: none;
        background: transparent !important;
        border-radius: 30px;
        font-size: 1.1rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        height: 100%;
        line-height: normal;
        white-space: nowrap;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 1px;
        z-index: 1;
        position: relative;
    }

    .filter__toggle-btn.active {
        color: #000 !important;
    }

    .filter__toggle-btn:hover:not(.active) {
        color: #fff;
    }

    /* Modifier: Small Toggle */
    .toggle--small {
        height: 52px !important;
    }

    .toggle--small .filter__toggle-btn {
        font-size: 1rem;
        letter-spacing: 1.2px;
    }

    /* Keyword Search Input Group */
    .filter__input-wrap {
        height: 60px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 35px;
        display: flex;
        align-items: center;
        padding: 0 25px;
        transition: all 0.3s ease;
        overflow: hidden;
        box-sizing: border-box;
        width: 100%;
    }

    .filter__input-wrap:focus-within {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--gold-main);
        box-shadow: 0 0 15px rgba(201, 162, 63, 0.2);
    }

    .filter__input-icon {
        color: var(--gold-main);
        margin-right: 12px;
        font-size: 0.9rem;
    }

    .filter__input-wrap input {
        border: none;
        outline: none;
        width: 100%;
        height: 100%;
        font-size: 0.95rem;
        font-weight: 600;
        color: #fff;
        background: transparent;
        box-sizing: border-box;
    }

    .filter__input-wrap input::placeholder {
        color: rgba(255, 255, 255, 0.4);
        font-weight: 400;
    }

    /* Select Inputs */
    .filter__select-wrap {
        height: 52px;
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        position: relative;
        display: flex;
        align-items: center;
        padding: 0 15px;
        background: rgba(255, 255, 255, 0.08);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter__select-wrap:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: var(--gold-main);
    }

    /* Restore Inner Select Elements */
    .filter__select-icon {
        color: var(--gold-muted);
        margin-right: 12px;
    }

    .filter__select-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .filter__select-label {
        font-weight: 800;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .filter__select-chev {
        margin-left: auto;
        color: #C9A23F;
        font-size: 0.8rem;
    }

    /* Status Toggle (Floating Text Look) */
    .filter__status-group {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        /* Right align */
        gap: 10px;
        height: 50px;
        /* Match inputs */
        margin-top: 0;
        /* Reset */
    }

    .filter__status-btn {
        border: none;
        background: transparent;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 700;
        font-size: 0.95rem;
        /* Slightly larger text */
        cursor: pointer;
        padding: 6px 18px;
        border-radius: 20px;
        /* Pill shape */
        transition: 0.3s;
    }

    .filter__status-btn.active {
        background: var(--gold-main) !important;
        color: #fff !important;
        /* Navy text on Gold usually better, but user image shows White on Gold or simple Gold Pill? Image shows Gold Pill with dark text maybe or white. Let's stick to standard active. */
        color: #000000 !important;
        box-shadow: 0 4px 15px rgba(201, 162, 63, 0.4);
    }

    .filter__status-btn:hover:not(.active) {
        color: #C9A23F;
    }

    [data-theme="dark"] .filter__status-btn {
        color: #cbd5e1;
    }

    [data-theme="dark"] .filter__status-btn.active {
        color: #000000 !important;
    }

    /* Dropdowns (Multi-select) - COMPACT */
    .multi-select-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        /* Positioned exactly below the parent column with a small gap */
        left: 0;
        width: 200px;
        /* Specific smaller width as requested */
        min-width: 0;
        /* Override default */
        background: var(--white) !important;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        margin-top: 5px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        animation: fadeInDown 0.2s ease;
        padding: 10px;
        /* Reduced padding */
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .multi-select-options {
        max-height: 180px;
        /* Smaller scroll area */
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 4px;
        /* Tighter gap */
        padding-right: 2px;
    }

    /* Reduced Item Size */
    .check-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.2s;
    }

    .check-item span {
        font-size: 0.85rem;
        /* Smaller text */
    }

    /* Updated Reset Button (Small square next to search) */
    .filter__btn-reset {
        width: 55px;
        height: 55px;
        /* Match search height */
        background: rgba(255, 255, 255, 0.15);
        /* Slightly clearer */
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.1rem;
        color: #fff !important;
        transition: 0.3s;
    }



    /* Custom Premium Gold Checkbox */
    .custom-gold-checkbox {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #C9A23F;
        border-radius: 4px;
        background: #fff;
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
        display: inline-block;
    }

    .custom-gold-checkbox:checked {
        background: #C9A23F;
        border-color: #C9A23F;
    }

    .custom-gold-checkbox:checked::after {
        content: '✓';
        font-size: 14px;
        color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
    }

    .custom-gold-checkbox:disabled {
        opacity: 0.2;
        background: #f1f5f9;
        border-color: #cbd5e1;
        cursor: not-allowed;
    }

    [data-theme="dark"] .custom-gold-checkbox {
        background: #1e293b;
        border-color: rgba(201, 162, 63, 0.5);
    }

    [data-theme="dark"] .custom-gold-checkbox:checked {
        background: #C9A23F;
    }

    /* Base Check Item adjustments */
    .check-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        border-radius: 6px;
        cursor: pointer;
        transition: 0.2s;
    }

    /* Mobile Filter Strip */
    .filter--mobile {
        display: none;
        margin-top: 20px;
    }

    .filter--mobile__bar {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        color: var(--text-secondary);
        gap: 15px;
        cursor: pointer;
        border: 1px solid var(--border-light);
    }


    /* Native Selects (Project Units) */
    .filter__group {
        display: flex;
        flex-direction: column;
    }

    .filter__label {
        display: block;
        font-size: 0.75rem;
        opacity: 0.8;
        margin-bottom: 5px;
        color: inherit;
    }

    .filter__select-native {
        width: 100%;
        height: 45px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        padding: 0 15px;
        font-size: 0.9rem;
        cursor: pointer;
        outline: none;
    }

    .filter__select-native option {
        background: var(--navy-deep);
        color: #fff;
    }

    .filter__select-native:focus {
        border-color: var(--gold-muted);
    }


    @media (max-width: 1024px) {
        .filter--hero {
            padding: 20px 15px;
            border-radius: 16px;
        }

        .filter--mobile {
            display: block;
        }
    }

    /* Mobile Filter Visibility - Show on all screens */
    @media (max-width: 768px) {
        .filter--hero {
            display: block !important;
            visibility: visible !important;
        }
    }

    /* Simplify filter layout for mobile */


    /* Utility Visibilities */
    .mobile-only-flex {
        display: none !important;
    }

    .desktop-only-flex {
        display: flex !important;
    }

    @media (max-width: 850px) {
        .mobile-only-flex {
            display: flex !important;
        }

        .desktop-only-flex {
            display: none !important;
        }

        .filter {
            padding: 10px;
            border-radius: 12px;
            width: 98%;
            margin: 5px auto;
            background: rgba(10, 32, 59, 0.85);
            /* Slightly darker for contrast */
        }

        .filter__body {
            gap: 10px;
        }

        .filter__row {
            flex-direction: column;
            gap: 8px;
            margin-bottom: 0;
            display: flex;
        }

        /* ROW 1: Stacked Layout [Search on Top] [Toggle + Reset below] */
        .filter__row:first-child {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            /* Wrap Search to its own line */
            gap: 10px !important;
            align-items: center !important;
        }

        /* 1. Search Input - Full Width */
        .filter__col-search {
            flex: 0 0 100% !important;
            width: 100% !important;
            order: 1 !important;
            margin: 0 !important;
        }

        /* 2. Toggle (Rent/Buy) - Left */
        .filter__col-toggle-small {
            flex: 1 !important;
            min-width: 0 !important;
            order: 2 !important;
            margin: 0 !important;
        }

        .filter__toggle-group {
            width: 100% !important;
            height: 56px !important;
            padding: 5px !important;
            min-width: 0 !important;
            border-radius: 28px !important;
            background: rgba(255, 255, 255, 0.1) !important;
            border: 2px solid rgba(255, 255, 255, 0.25) !important;
            display: flex !important;
            gap: 5px !important;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
        }

        /* Hide sliding glider on mobile */
        .filter__toggle-group::before {
            display: none !important;
        }

        .filter__toggle-btn {
            font-size: 1.1rem !important;
            letter-spacing: 1px !important;
            font-weight: 900 !important;
            line-height: normal !important;
            padding: 0 !important;
            flex: 1 !important;
            border-radius: 24px !important;
            background: transparent !important;
            color: rgba(255, 255, 255, 0.4) !important;
            text-transform: uppercase !important;
            transition: all 0.3s ease !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .filter__toggle-btn.active {
            background: var(--gold-main) !important;
            color: #000 !important;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
        }



        /* (Search Input details moved above or integrated) */
        .filter__input-wrap {
            height: 56px !important;
            padding: 0 25px !important;
            border-radius: 28px !important;
            background: rgba(255, 255, 255, 0.1) !important;
            border: 2px solid rgba(255, 255, 255, 0.25) !important;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
        }

        .filter__input-wrap input {
            font-size: 0.75rem;
            padding: 0;
        }

        .filter__input-icon {
            font-size: 0.75rem !important;
            margin-right: 6px !important;
        }

        /* 3. Actions - Search & Reset */
        .filter__col-action {
            flex: 0 0 auto !important;
            display: flex !important;
            gap: 4px !important;
            width: auto !important;
            min-width: 0 !important;
            /* CRITICAL: Remove desktop min-width */
            margin: 0 !important;
            order: 3 !important;
        }

        .filter__row:first-child .filter__btn-search {
            display: none !important;
        }

        .filter__btn-reset {
            height: 56px !important;
            width: 56px !important;
            border-radius: 50% !important;
            flex-shrink: 0 !important;
            font-size: 1.4rem !important;
            background: rgba(255, 255, 255, 0.1) !important;
            border: 2px solid rgba(255, 255, 255, 0.25) !important;
            color: var(--gold-main) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important;
            transition: all 0.3s ease !important;
        }

        /* ROW 2: Dropdowns Grid */
        .filter__row.secondary-row {
            grid-template-columns: repeat(12, 1fr) !important;
            gap: 5px;
            /* Tighter gap */
        }

        .filter__col-select {
            grid-column: span 4 !important;
            /* 3 selects per row (12/4 = 3) */
            width: 100%;
        }

        .filter__col-status {
            grid-column: span 9 !important;
            /* 3 status buttons (~75% width) */
            /* 2 columns for status */
            justify-content: center;
            margin-top: 5px !important;
        }

        .filter__col-mobile-search {
            grid-column: span 3 !important;
            /* 1 search button (~25% width) */
            /* 1 column for search */
            margin-top: 5px !important;
            display: flex;
            align-items: center;
        }

        .small-search-btn {
            flex: 1 !important;
            width: 100% !important;
            /* Full width of column */
            min-width: auto !important;
            height: 28px !important;
            /* Fixed consistent height */
            font-size: 11px !important;
            padding: 0 !important;
            border-radius: 6px !important;
            letter-spacing: 0.5px;
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(201, 162, 63, 0.5) !important;
            color: var(--gold-main) !important;
            display: flex !important;
            justify-content: center;
            align-items: center;
            line-height: 1 !important;
        }

        .filter__select-wrap {
            height: 28px !important;
            /* Reduced Height */
            padding: 0 4px !important;
            border-radius: 6px !important;
            /* Smaller Radius */
        }

        .filter__select-label {
            font-size: 0.6rem !important;
            /* Tiny font */
            font-weight: 700;
            line-height: 28px;
            /* Vertically centered */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .filter__select-icon {
            font-size: 0.65rem !important;
            /* Tiny icon */
            margin-right: 2px !important;
        }

        .filter__select-chev {
            display: none !important;
            /* Save space */
        }

        /* Status Buttons */
        .filter__status-group {
            width: 100%;
            justify-content: center;
            gap: 3px;
            height: 28px !important;
            /* Reduced Height */
            align-items: center;
            display: flex;
        }

        .filter__status-btn {
            flex: 1;
            padding: 0 !important;
            /* Removed padding, rely on centering */
            font-size: 11px !important;
            /* 12px font */
            height: 100% !important;
            /* Auto height */
            line-height: 28px !important;
            border-radius: 6px !important;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .filter__status-btn.active {
            background: var(--gold-main) !important;
            border-color: var(--gold-main) !important;
            color: #000 !important;
            font-weight: 700 !important;
        }

        /* Dropdown Lists - Compacted for Mobile */
        .multi-select-dropdown {
            width: 140px !important;
            /* Reduced from 160px */
            max-width: 90vw;
            left: 50% !important;
            transform: translateX(-50%) !important;
            top: calc(100% + 2px) !important;
            padding: 4px !important;
        }

        .multi-select-options {
            max-height: 120px;
            /* Reduced to avoid overflow */
        }

        /* Compact List Items */
        .check-item {
            padding: 6px 8px !important;
            gap: 6px !important;
        }

        .check-item span {
            font-size: 0.75rem !important;
        }

        .custom-gold-checkbox {
            width: 16px !important;
            height: 16px !important;
        }

        .custom-gold-checkbox:checked::after {
            font-size: 10px !important;
        }
    }

    @media (max-width: 850px) {
        .filter-field-label {
            display: none !important;
        }

        .filter--mobile {
            display: none !important;
        }
    }




    /* Dark Mode Overrides for Filters */
    [data-theme="dark"] .filter {
        background: rgba(15, 23, 42, 0.4);
        border-color: rgba(201, 162, 63, 0.2);
    }

    [data-theme="dark"] .filter__input-wrap,
    [data-theme="dark"] .filter__select-wrap {
        background: rgba(30, 41, 59, 0.9);
    }

    [data-theme="dark"] .filter__input-wrap input {
        background: transparent;
        color: #f1f5f9;
    }

    [data-theme="dark"] .filter__select-label {
        color: #f1f5f9;
    }

    [data-theme="dark"] .multi-select-dropdown {
        background: #000000 !important;
        border-color: rgba(255, 255, 255, 0.1);
    }

    [data-theme="dark"] .check-item span {
        color: #f1f5f9 !important;
    }

    [data-theme="dark"] .check-item:hover {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    [data-theme="dark"] .filter--mobile__bar {
        background: #000000;
        border-color: rgba(255, 255, 255, 0.1);
        color: #94a3b8;
    }

    /* Project Selection Buttons */
    .project-select-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        padding: 12px 25px;
        border-radius: 12px;
        cursor: pointer;
        font-weight: 700;
        font-size: 1rem;
        transition: all 0.3s ease;
        flex: 1;
        max-width: 200px;
        text-align: center;
    }

    .project-select-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .project-select-btn.active {
        background: var(--gold-main);
        color: #000 !important;
        box-shadow: 0 5px 15px rgba(201, 162, 63, 0.4);
        border-color: var(--gold-main);
    }

    /* Hide Project Dropdown when Button Logic is Active */
    .filter__col-select.hidden-by-project-btn {
        display: none !important;
    }

    @media (max-width: 600px) {
        .filter__project-buttons {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 8px;
        }

        .project-select-btn {
            flex: 1 1 30%;
            min-width: 80px !important;
            font-size: 0.75rem !important;
            padding: 8px !important;
            height: auto !important;
        }
    }

    /* Dark Mode Overrides for Filters */
    [data-theme="dark"] .filter {
        background: rgba(15, 23, 42, 0.4);
        border-color: rgba(201, 162, 63, 0.2);
    }

    [data-theme="dark"] .filter__input-wrap,
    [data-theme="dark"] .filter__select-wrap {
        background: rgba(30, 41, 59, 0.9);
    }

    [data-theme="dark"] .filter__input-wrap input {
        background: transparent;
        color: #f1f5f9;
    }

    /* Project Selection Buttons */
    .project-select-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        padding: 10px 15px;
        border-radius: 12px;
        cursor: pointer;
        font-weight: 700;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        flex: 1 1 30%;
        min-width: 80px;
        text-align: center;
        line-height: 1.2;
    }

    .project-select-btn.active {
        background: var(--gold-main);
        color: #000 !important;
        box-shadow: 0 5px 15px rgba(201, 162, 63, 0.4);
        border-color: var(--gold-main);
    }

    @media (max-width: 600px) {
        .filter__project-buttons {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 8px;
        }
    }