    /* --- SEARCH BAR --- */

select {
  appearance: none;           /* Removes default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;

  background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23000000" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 9l6 6 6-6"/></svg>') no-repeat;
  background-position: right 10px center;  /* Move arrow left/right */
  padding-right: 30px;    /* Keep text clear of arrow */
  background-size: 18px;                   
}


    .sp-search-bar {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 15px 0px;
    }
    .sp-search-property-bar {
        position: relative;
    }
    .sp-select, .sp-input {
        padding: 15px;
        border: 1px solid #e6deec;
        min-width: 200px;
        font-size: 14px;
        background-color: #ffffff90;
    }

    .sp-search-button {
        background-color: #4B258C;
        color: white;
        border: none;
        padding: 10px 25px;
        cursor: pointer;
        font-weight: bold;
        border:1px solid;
        min-width: 200px;
        transition: .2s ease-in-out;
    }

    .sp-search-button:hover {
        background-color:white;
        color:#4B258C ;
        border:1px solid;
    }
    .sp-advanced-button{
       background-color: #ffffff;
        color: #4B258C;
        border: none;
        padding: 10px 25px;
        cursor: pointer;
        font-weight: bold;
        border:1px solid;
        min-width: 200px;
        transition: .2s ease-in-out;
    }
    .sp-advanced-button:hover {
        background-color: #4B258C ;
        color: white;
        border:1px solid;
    }
    /* --- ADVANCED FILTERS --- */
    .sp-advanced-filters {
        background: #fff;
        padding: 20px;
        margin-top: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none; /* Hidden by default */
        animation: fadeIn 0.3s ease;
    }

    .sp-advanced-filters input {
        margin: 5px;
        width: 180px;
        padding: 10px;
        border: 1px solid #ccc;
    }

    .sp-hide-btn {
        color: #6f0b79;
        cursor: pointer;
        font-weight: bold;
        float: right;
        
    }

    .sp-hide-btn:hover {
        text-decoration: underline;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* --- RESPONSIVE DESIGN --- */

  @media (max-width: 1199px) {
        .sp-select, .sp-input {
            margin: 10px 0px;
        }
    }

    @media (max-width: 1024px) {
        .sp-search-bar {
            justify-content: space-between;
        }
        .sp-select, .sp-input {
            min-width: 140px;
        }
    }

    @media (max-width: 768px) {
        .sp-search-bar {
            flex-direction: column;
            align-items: stretch;
        }

        .sp-select, .sp-input, .sp-search-button {
            width: 100%;
        }

        .sp-advanced-filters .sp-input {
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        /* body {
            padding: 20px;
        } */

        .sp-search-bar {
            padding: 15px;
        }

        .sp-advanced-filters {
            padding: 15px;
        }

        .sp-select, .sp-input {
            font-size: 13px;
            padding: 8px;
        }

        .sp-search-button {
            padding: 8px 18px;
        }

        .sp-hide-btn {
            text-align: right;
            display: block;
        }
    }