.filter-container {
    display: flex;
    justify-content: flex-end; /* align it to the right */
    width: 100%;
    position: relative;
    z-index: 2;
}

.filter-section {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 20px;
    max-width: 50%; /* ensure it doesn't overlap tabs */
    width: 100%;
	    margin-left: auto;
}
@media (max-width: 768px) {
    .filter-section {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .filter-container {
        justify-content: center;
    }
}


/* Make sure the filter section does not overlap the default template */
.filter-section {
    position: relative;
    z-index: 2;
}

/* Ensure the Elementor template is above or on same layer */
#default-elementor-template {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* If you're using Elementor tabs, make sure these are not being overlapped */

#default-elementor-template .e-n-tab-title-text {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}
input::placeholder {
	 font-family: "Inter", Sans-serif !important;
}
   


input[type="search"]::placeholder {
 	 font-family: "Inter", Sans-serif !important;
}

textarea::placeholder {
  font-family: "Inter", Sans-serif !important;
}



/* #default-elementor-template .e-n-tabs-heading {
    position: relative;
    z-index: 2;
    margin-top: 1px; 
} */

/* SEARCH FIELD RIGHT */
.search-wrapper {
    margin-left: auto;
}

#search-input {
    width: 200px;
    min-width: 200px;
    margin-left: 20px;
    border-radius: 85px;
    border: 1px solid #A8A8A8;
    padding: 12px 10px;
	 font-family: "Inter", Sans-serif !important;
}

/* SELECT STYLING */
#industry-filter,
#service-filter {
    width: 200px;
    border-radius: 85px;
    border: 1px solid #A8A8A8;
}

/* Arrow icon */
.select2-container--default .select2-selection--multiple::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23A8A8A8' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

/* Remove default arrow so it doesn't clash */
.select2-container--default .select2-selection--multiple .select2-selection__arrow {
    display: none;
}



/* MULTI-SELECT (SCROLL + LIMIT HEIGHT) */
.select2-container--default .select2-selection--multiple {
    border-radius: 85px !important;
    border: 1px solid #A8A8A8 !important;
    padding: 5px 10px;
    min-height: 50px;
    height: 50px; /* fixed height */
    overflow-x: auto; /* scroll left-right if many items */
    overflow-y: hidden; /* prevent vertical scrollbar */
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Selected tags inside multiple select */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 70px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Scrollbar styles */
.select2-selection--multiple::-webkit-scrollbar {
    width: 6px;
}
.select2-selection--multiple::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.select2-container .select2-search--inline .select2-search__field {
   
    height: 25px;
}

/* Optional: center the loading spinner vertically */
#loading-spinner {
    display: none;
    font-size: 18px;
    color: #007bff;
    margin: 20px auto;
    text-align: center;
}

.filter-results-container .card-wrapper {
    /* Customize card styling here */
}
.filter-results-wrapper{
	margin-bottom:100px;
}
/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .filter-section {
        flex-wrap: wrap;
    }

    #industry-filter,
    #service-filter,
    #search-input {
        width: 100%;
        min-width: 100%;
    }

    .search-wrapper {
        margin-left: 0;
        width: 100%;
    }

/*     .filter-results-container {
        grid-template-columns: 1fr;
    } */
}

/* LOADING SPINNER */
#loading-spinner {
    display: none;
    font-size: 18px;
    color: #007bff;
    margin: 10px 0;
}

/* DEFAULT TEMPLATE */
#default-elementor-template {
    display: block;
}

/* EMPTY MESSAGE */
.empty-post {
    padding: 20px;
    color: #555;
    font-style: italic;
    text-align: center;
}

/* SELECTED FILTER TAGS */
.selected-item {
    display: inline-block;
    background-color: #e0e0e0;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 3px;
    font-size: 14px;
}

.selected-item .close-icon {
    cursor: pointer;
    margin-left: 5px;
    color: #ff0000;
}
.filter-results-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px; /* Space between cards */
}

/* MOBILE VIEW: Make it one column */
@media (max-width: 768px) {
    .filter-results-container {
        grid-template-columns: 1fr;
    }
	
	#search-input {
   padding: 10px 10px;
    margin-left: 0px;
   
}
}
