.gh-find-a-hypnotherapist-banner .facetwp-autocomplete,
.gh-find-a-hypnotherapist-banner .facetwp-autocomplete:focus-visible,
.gh-find-a-hypnotherapist-banner .facetwp-facet select,
.gh-find-a-hypnotherapist-banner .facetwp-facet select:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.fcomplete-results {
    display: none !important;
}
.gh-find-a-hypnotherapist-banner .facetwp-autocomplete,
.gh-find-a-hypnotherapist-banner .facetwp-facet select
{
    font-size: 15px !important;
    color: #08347A !important;
    padding-left: 40px !important;
}

.page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-autocomplete,
.page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-facet select {
    padding-left: 20px !important;
}

.page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-facet select {
    /* padding-left: 0px !important; */
    padding-right: 20px !important;
}

.gh-find-a-hypnotherapist-banner .facetwp-facet {
    margin-bottom: 0 !important;
    border-right: 1px solid #B2C0D6 !important;
    /* padding-right: 1rem !important; */
    max-height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.gh-find-a-hypnotherapist-banner .facetwp-facet::before {
    content: '';
    position: absolute;
    left: 5px;        /* distance from left */
    top: 49%;
    transform: translateY(-50%);
    width: 20px;       /* icon width */
    height: 20px;      /* icon height */
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none; /* so clicks go to select */
}
.gh-find-a-hypnotherapist-banner .facetwp-facet-hypnotherapis_name::before {
    background-image: url('/wp-content/uploads/2025/10/user-icon.jpg');
}
.gh-find-a-hypnotherapist-banner .facetwp-facet-hypnotherapist_location::before {
    background-image: url('/wp-content/uploads/2025/10/location-icon.jpg');
}

/* .page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-facet-approved_course_state::before, */
.gh-find-a-hypnotherapist-banner .facetwp-facet-hypnotherapist_region::before {
    background-image: url('/wp-content/uploads/2025/10/ragin-icon.jpg');
}

.elementor-widget-facetwp-facet {
    padding-top: 16px;
    padding-bottom: 16px;
}

.gh-find-a-hypnotherapist-banner .elementor-button {
    min-width: 140px !important;
}

#gh-find-a-hypnotherapist-result-title1 {
    font-size: 23px;
    font-weight: 600;
    line-height: 120%; /* 27.6px */
    color: #1D242D;
}

#gh-find-a-hypnotherapist-result-title2 {
    font-size: 15px;
    font-weight: 400;
    line-height: 150%; /* 22.5px */
    letter-spacing: -0.15px;
    color: #546881;
    padding-left: 7px;
}

.facetwp-facet-hypnotherapis_name .fcomplete-results {
    top: 2rem;
    position: absolute;
    width: 100%;
    border: none;
    outline: none;
    background: white;
    left: -20px;
}

.facetwp-facet-hypnotherapis_name .fcomplete-wrap {
    border: none !important;
}

.facetwp-facet-hypnotherapis_name .fcomplete-status {
    display: none !important;
}


/* Target the FacetWP autocomplete input */
.facetwp-autocomplete::placeholder {
    color: #08347A; /* Change this to your desired color */
    opacity: 1; /* Ensure full visibility in some browsers */
  }
  
  /* Optional: on focus */
  .facetwp-autocomplete:focus::placeholder {
    color: #08347A; /* Slightly lighter when focused */
  }

  .gh-find-a-hypnotherapist-banner .facetwp-facet select {
    appearance: none !important;            /* Remove default arrow (Chrome, Safari, etc.) */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url('/wp-content/uploads/2025/10/arrow-down.jpg'); /* Your custom icon */
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important; /* Move icon to the right */
    background-size: 20px !important;       /* Adjust icon size */
  }

  .page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-facet select {
    background-position: right 0rem center !important; /* Move icon to the right */
  }

  .facetwp-facet-sort_hypnotherapist select,.facetwp-facet-per_page select {
    appearance: none !important;            /* Remove default arrow (Chrome, Safari, etc.) */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url('/wp-content/uploads/2025/10/Down-Arrow-Nav.jpg'); /* Your custom icon */
    background-repeat: no-repeat !important;
    background-position: right .5rem center !important; /* Move icon to the right */
    background-size: 13px !important;     
  }

  .facetwp-facet-sort_hypnotherapist select {
    padding-right: 25px !important;
  }

  .facetwp-facet-per_page select {
    padding-right: 35px !important;
  }

  .facetwp-facet-per_page, .facetwp-facet-sort_hypnotherapist {
    margin-bottom: 0 !important;
  }

  .gh-find-a-hypnotherapist-results .elementor-widget-facetwp-facet {
    padding: 0 !important;
  }
/* FacetWP Search Container */
.facetwp-search-container {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.gh-find-a-hypnotherapist-banner .facetwp-facet {
    flex: 1;
    min-width: 280px;
}

/* Name Search Field */
.facetwp-facet-hypnotherapist_name input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    background-color: white;
    transition: border-color 0.2s ease-in-out;
}

.facetwp-facet-hypnotherapist_name input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Dropdowns */
.facetwp-facet-hypnotherapist_location select,
.facetwp-facet-hypnotherapist_region select {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    background-color: white;
    transition: border-color 0.2s ease-in-out;
    cursor: pointer;
}

.facetwp-facet-sort_hypnotherapist select,.facetwp-facet-per_page select {
    width: 100%;
    border: 1px solid #B2BBC6;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    color: #546881;
    background-color: white;
    font-weight: 600;
    line-height: 150%; /* 22.5px */
    letter-spacing: -0.15px;
}

.facetwp-facet-hypnotherapist_location select:focus,
.facetwp-facet-hypnotherapist_region select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Search Button */
.facetwp-facet-search_button button {
    background-color: #08347A;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.facetwp-facet-search_button button:hover {
    background-color: #062654;
}

/* FacetWP Template Container */
.facetwp-template {
    margin-top: 20px;
}

/* Hide the Go button for autocomplete */
.facetwp-autocomplete-update {
    display: none !important;
}

/* Loading indicator */
.facetwp-loading-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100vw;
    min-height: 100vh;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: none !important;
    z-index: 99999;
    opacity: 0.5;
}

.facetwp-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #08347A;
    border-radius: 50%;
    animation: facetwp-spin 1s linear infinite;
    margin-bottom: 15px;
}

.facetwp-loading-text {
    font-size: 16px;
    font-weight: 500;
    color: #08347A;
    margin: 0;
}

.facetwp-pager {
    text-align: center;
    margin-top: 1rem;
}

/* Load More button styling */
.facetwp-load-more {
    background-color: #E6F4FA;
    color: #08347A;
    border: none;
    border-radius: 4px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
    margin-top: 2rem;
}

.facetwp-load-more:hover {
    background-color: #08347A;
    color: white;
}

.facetwp-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.facetwp-load-more:focus {
    background-color: #E6F4FA;
    color: #08347A;
}

@keyframes facetwp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
  

@media (max-width: 1200px) {
    .elementor-widget-facetwp-button {
        max-width: 150px !important;
        width: 100% !important;
    }

    .gh-find-a-hypnotherapist-banner .facetwp-facet {
        min-width: unset !important;
    }
}
@media (max-width: 1100px) {

    .page-find-a-hypnotherapist .gh-find-a-hypnotherapist-banner-filters {
        flex-direction: column !important;
        gap: 10px;
        padding: 2rem 0;
    }

    .page-find-a-hypnotherapist .gh-find-a-hypnotherapist-banner .facetwp-facet {
        margin-bottom: 0 !important;
        border-right: none !important;
        max-height: unset !important;
        border-bottom: 1px solid #B2C0D6 !important;
        padding-bottom: 1rem;
    }

    .page-find-a-hypnotherapist .gh-find-a-hypnotherapist-banner .facetwp-facet::before {
        top: 37% !important;
    }

    .page-find-a-hypnotherapist .facetwp-autocomplete {
        padding-left: 0 !important;
        margin-left: -34px !important;
    }

    .page-find-a-hypnotherapist .elementor-widget-facetwp-facet {
        width: 300px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .facetwp-search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .facetwp-facet {
        width: 100%;
        min-width: unset;
    }
    
    .facetwp-facet-search_button button {
        width: 100%;
    }

    .gh-find-a-hypnotherapist-banner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .gh-find-a-hypnotherapist-banner-filters {
        flex-flow: column !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .gh-find-a-hypnotherapist-banner .facetwp-facet {
        margin-bottom: 0 !important;
        border-right: none !important;
        max-height: unset !important;
        border-bottom: 1px solid #B2C0D6 !important;
    }

    .page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-autocomplete,
    .page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-facet select {
        min-width: 370px !important;
    }

    .page-approved-courses .page-find-a-hypnotherapist .facetwp-autocomplete {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .page-find-a-hypnotherapist .page-find-a-hypnotherapist .facetwp-autocomplete {
        padding-left: 0 !important;
        margin-left: -25px !important;
    }
}

@media (max-width: 480px) {
    .page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-autocomplete,
    .page-approved-courses .gh-find-a-hypnotherapist-banner .facetwp-facet select {
        min-width: 280px !important;
        max-width: 280px !important;
    }

    .page-find-a-hypnotherapist .gh-find-a-hypnotherapist-banner .facetwp-autocomplete,
    .page-find-a-hypnotherapist .gh-find-a-hypnotherapist-banner .facetwp-facet select {
        min-width: 274px !important;
        padding-left: 35px !important;
    }

}