/* Find Provider Styles */
.find-provider-container {
  display: flex;
  width: 100%;
	height: 100vh;
    overflow: auto;
    font-family: Ubuntu;
}

/* Sidebar Styles */
.find-provider-sidebar {
	width: 618px;
    background-color: #B22A26;
    color: white;
    padding: 1rem;
    overflow-y: auto;
    padding-top: 200px;
}

.find-provider-header {
  margin-bottom: 1.5rem;
}

.find-provider-header h1 {
	max-width: 449px;
    font-size: 48px;
    font-weight: 700;
    line-height: 52px;
	text-align: center;
    letter-spacing: -0.48px;
    margin: auto;
    margin-bottom: 10px;
}

.find-provider-header p {
	font-size: 21.333px;
    line-height: 37.333px;
/*     margin-bottom: 100px; */
	text-align: center;
}

/* Search Box */
.find-provider-search {
	padding: 30.667px;
    border-bottom: 1.333px solid #D9D9D9;
    background: #FFF;
    box-shadow: 0px 5.333px 26.667px 0px rgba(0, 0, 0, 0.08);
}

.find-provider-search h2 {
	color: #000;
	font-size: 29.333px;
    font-style: normal;
    font-weight: 700;
    line-height: 29.333px;
    margin-bottom: 24px;
}

.search-input-container {
  display: flex;
	gap:18px;
}

.search-input-container input {
    flex: 1;
    max-width: 358px;
    padding: 8px 12px;
    color: black;
    border: 1.333px solid var(--9EA7AF, #9EA7AF);
    background: #FFF;
	font-family: 'Roboto';
    font-size: 20px;
    height: 56px;
    margin: 0
}

.search-button {
    width: 100%;
    max-width: 132px;
    background-color: black;
    color: #FEE;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 13.614px;
    cursor: pointer;
}
}

.search-button:hover {
  background-color: #333;
}

/* Selected Filters */
.selected-filters-container {
	padding: 32px;
    background: #fff;
}

.selected-filters-container h3 {
	color: #000;
    font-size: 21.333px;
    font-weight: 700;
    line-height: 21.333px;
    margin-bottom: 16px;
}

.selected-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
/* 
remove
.provider-info {
    display: flex;
    flex-wrap: wrap;
    column-gap: 9px;
    row-gap: 4px;
    align-items: center;
} */

.selected-filter, .provider-contact-detail > span  {
    display: flex;
	flex-direction: row-reverse;
    background-color: transparent;
    border-radius: 180px;
    border: 1.333px solid #B71416;
    padding: 10px 12px;
    color: #B71416;
    font-family: 'Roboto';
    font-size: 17.333px;
	line-height: normal;
    align-items: center;
	justify-content: center;
	font-weight: 400;
}

button.accordion-button:focus {
    outline: none;
}

.selected-filter button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
	padding: 0;
	margin-right: 3px;
}

/* Accordion Styles */
.filters-accordion {
  width: 100%;
}

.accordion-item {
 background: #Fff;
    color: #000;
    border-top: 1.333px solid #D9D9D9;
}

.accordion-item:last-child {
  border-bottom: 1.333px solid #D9D9D9;
}

.accordion-header {
  width: 100%;
}

.accordion-button {
	display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: #000;
    text-align: left;
    cursor: pointer;
    font-size: 21.333px;
    font-style: normal;
    font-weight: 700;
    line-height: 21.333px;
    padding: 32px;

}

.check-icon {
  margin-left: 0.5rem;
}

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.2s;
     width: 100%;
    max-width: 32px;
    height: auto;
    transition: transform 0.3s ease-in-out;

}

.accordion-button[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
	 max-height: 0;  /* Collapsed state */
    padding: 0 32px;
    opacity: 0;
    overflow: hidden;  /* Prevent content overflow */
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, padding 0.5s ease-in-out; /* Smooth transition for both max-height and opacity */
}

.accordion-content.active {
    max-height: 250px;  /* Set a high enough value to allow content expansion */
	overflow-y: auto;
    padding: 0 32px 32px;
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, padding 0.5s ease-in-out; /* Smooth transition for both max-height and opacity */
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    background: #F1F1F2;
    padding: 18px;
    gap: 16px;
}

.filter-option {
  display: flex;
  align-items: center;
}

.filter-checkbox {
  margin-right: 0.5rem;
  cursor: pointer;
}

/* .filter-option label {
  font-size: 0.875rem;
  cursor: pointer;
} */

/* Payment Type Pills */
.payment-type-options {
	display: flex;
    padding: 18px;
    background: #F1F1F2;
    flex-wrap: wrap;
    gap: 16px;
}

.payment-type-pill {
border: 1px solid #C8C8C8;
    border-radius: 180px;
    padding: 12px;
    font-size: 16px;
    line-height: 13px;
    cursor: pointer;
	color: #000;
font-weight: 400;

}

.payment-type-pill:hover,.payment-type-pill:active {
 border-radius: 180px;
border: 2px solid #000;
}

/* Providers List */
.providers-list-container {
  background-color: #f7fafc; /* Gray-100 */
  color: black;
  padding: 36px;

    max-height: 400px;
    overflow: auto;
}

.providers-list-container h2 {
	font-size: 29.333px;
    font-weight: 700;
    line-height: 29.333px;
    padding-left: 14px;
    border-left: 2.667px solid #D81F24;
    margin-bottom: 36px;
}

.providers-count {
    color: #7C7C7C;
    font-size: 20px;
    line-height: 29.333px;
    margin-bottom: 10px;
}

.provider-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
	gap: 40px;
    border-bottom: 1.226px solid #cacaca;
	cursor: pointer;
}

.provider-item:last-child {
    border-bottom: none;
}

.provider-icon {
  color: #c53030; /* Red-700 */
  margin-top: 0.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.provider-info h3 {
  font-weight: 500;
	font-size: 20px;
}

.provider-info p {
    font-size: 14px;
    line-height: 20px;
    color: #7C7C7C;
    margin-bottom: 7px;
}

/* Map Container */
.map-container {
  flex: 1;
  position: relative;
}

.provider-map {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: #e2e8f0; /* Gray-300 as placeholder */
}

/* Provider Card */
.provider-card {
/*   position: absolute;
  top: 1rem;
  right: 1rem; */
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1rem;
/*   width: 18rem; */
}

.provider-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.provider-card-icon {
  color: #c53030; /* Red-700 */
  margin-top: 0.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.provider-card-info h3 {
  font-weight: bold;
}

.provider-card-info p {
  font-size: 0.875rem;
  color: #718096; /* Gray-600 */
}

.provider-card-contact {
  margin-bottom: 1rem;
}

.provider-card-phone {
  display: flex;
  align-items: center;
}

.provider-card-phone svg {
  color: #c53030; /* Red-700 */
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.provider-card-phone span {
	color: #7C7C7C;
    font-size: 18.667px;
    font-weight: 700;
    line-height: 26.667px;
}

.contact-provider-button {
    width: 100%;
    background: #000;
    color: white;
    border: none;
    height: 50.342px;
    padding: 6.126px 5.446px;
    font-weight: 500;
    cursor: pointer;
    color: #FEE;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 10.211px;
}

.contact-provider-button:hover {
  background-color: #000; /* Red-800 */
}




/* <><><><><><><><><><><><><><> */
/* Hide the default checkbox */
.filter-checkbox {
  display: none;
}

/* Custom checkbox styling */
.filter-checkbox + label {
  position: relative;
  padding-left: 35px; /* Space for custom checkbox */
  cursor: pointer;
  font-size: 17.333px;
  display: inline-block;
  line-height: 20px; /* Align the label text with checkbox */
  color: #333;
	margin: 0;
}

/* Custom checkbox design */
.filter-checkbox + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.15);
background: #F1F1F1;
box-shadow: 0px 4.444px 4.444px 0px rgba(0, 0, 0, 0.05) inset;
  transition: background-color 0.3s, border-color 0.3s;
}

/* Checkmark when the checkbox is selected */
.filter-checkbox:checked + label:before {
  background-color: transparent; /* Red background when checked */
  border-color: #d01b3c;
  background-image: url('/wp-content/uploads/2025/04/check.svg'); /* Path to the SVG file */
  background-size: contain; /* Ensure the SVG is scaled properly */
  background-repeat: no-repeat; /* Prevent SVG from repeating */
  background-position: center; /* Center the SVG inside the checkbox */*/
}

/* Hover effect on label */
.filter-checkbox + label:hover:before {
  background-color: #f0f0f0;
  border-color: #d01b3c;
}

.radio-buttons {
  display: flex;
  gap: 51px;
  font-family: Ubuntu, sans-serif;
}

.radio-label {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 18px;
  color: #000;
  user-select: none;
	margin: 0;
}

.radio-input {
  display: none;
}

/* Outer circle */
.radio-circle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* Inner dot when checked */
.radio-input:checked + .radio-circle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D81F24;
}

/* Border color when checked */
.radio-input:checked + .radio-circle {
  border-color: #D81F24;
}


/* <><><><><><><><><><><><><><> */
/* Radius Selector Styles */
.radius-selector {
	display: flex;
    gap: 15px;
    flex-direction: column;
    padding: 10px 0;
}

.radius-slider-container {
  margin-bottom: 15px;
  padding: 0 10px;
}

.radius-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(to right, #e2e8f0 0%, #e2e8f0 20%, #c53030 20%, #c53030 60%, #e2e8f0 60%, #e2e8f0 100%);
  outline: none;
}

.radius-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 2px solid #c53030;
  cursor: pointer;
}

.radius-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 2px solid #c53030;
  cursor: pointer;
}

.radius-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.radius-input {
    width: 57px;
    height: 42px;
    border: 1px solid var(--9EA7AF, #9EA7AF);
    background: #FFF;
    text-align: center;
    font-size: 16px;
    color: #6A5B5B;
    font-family: 'Rubik';
    line-height: 150%;
	    margin: 0;
}

.radius-separator {
  font-size: 18px;
  color: #333;
}

.noUi-target {
    height: 8px;
    border-radius: 4px;
    background: var(--Gray-200, #E4E7EC);
	border: none;
    box-shadow: none;
}

.noUi-horizontal .noUi-handle {
    width: 24px;
    height: 24px;
    right: -17px;
    top: -8px;
}

.noUi-handle {
    border: none;
    border-radius: 50%;
    background: #FFF;
    cursor: default;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
	box-shadow: none;
}

.noUi-handle:after, .noUi-handle:before {
    content: none;
}

.noUi-connect {
    background: #B71416;
}

.radius-input:focus {
    outline: 2px solid #B71416;
}

/* Chrome, Safari, Edge, Opera */
.radius-input::-webkit-outer-spin-button,
.radius-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.radius-input[type=number] {
    -moz-appearance: textfield;
}

.provider-contact-detail {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10.17px;
    column-gap: 13px;
}




/* <><><><><><><><><> */

/* .accordion-content.active {
    max-height: 1000px;
    padding: 0 32px 32px;
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.accordion-content {
    max-height: 0;
    padding: 0 32px;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
} */


/* .accordion-icon {
    width: 16px;
    height: auto;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.accordion-button[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
} */

.accordion-label-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.accordion-label-group label {
	max-width: 350px;
color: #7C7C7C;
font-size: 14px;
line-height: 20px;
}

/* Responsive Styles */



@media (max-width: 768px) {
  .find-provider-container {
    flex-direction: column-reverse;
    height: unset;
    overflow: unset;
  }

.card-p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}



.map-container {
    padding-top: 70px;
}

.search-input-container input {
    width: 100%;
    max-width: unset;
}

 .find-provider-sidebar {
        width: 100%;
        padding: 0px 0px 50px;
        overflow: unset;
        border-radius: 15px 15px 0px 0px;
        margin-top: -22px;
        z-index: 1;
    }

	.find-provider-header::after {
        content: "";
        display: block;
        width: 60px;
        height: 6px;
        flex-shrink: 0;
        border-radius: 180px;
        background: rgba(255, 255, 255, 0.25);
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
}

  .provider-map {
    min-height: 48vh;
  }
	.provider-info h3 {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}
	.provider-card-phone span{
font-size: 14px;
line-height: 20px; /* 142.857% */
	}
	.provider-contact-detail > span{
font-size: 13px;
line-height: 13px; /* 100% */
	}
	.provider-item {
    gap: 30px;
}
	.providers-list-container {
  
    padding:19px;
}
	
	.find-provider-header {
    margin-bottom: 1.5rem;
    padding: 34px 19px 20px 34px;
        position: relative;
}
	.find-provider-header p {
    margin-bottom: 0px;
}
}


span.address-finder, span.provider-phone {
    color: #6A5B5B;
    font-family: Ubuntu;
    font-size: 16.781px;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 23.973px;
}


h3.provider-name {
    color: #000;
    font-family: Ubuntu;
    font-size: 21.575px;
    font-style: normal;
    font-weight: 700;
    line-height: 28.767px;
}


img.provider-card-image {
    width: 100%;
    max-width: 93.493px;
    position: absolute;
    top: -54px;
    left: 50%;
    transform: translateX(-50%);
}

.gm-style .gm-style-iw-c {
    overflow: visible;
}

.info-row.location-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gm-style .gm-style-iw-c {
    padding: 18px;
}

@media (max-width: 769px) {

.gm-style-iw.gm-style-iw-c {
    max-height: unset !important;
}

.gm-style .gm-style-iw-d {
    max-height: unset !important;
}
}

@media (max-width: 600px) {

.find-provider-header h1 {
    max-width: 337px;
    font-size: 34px;
    line-height: 39px;
    letter-spacing: -0.34px;
}

.find-provider-header p {
    max-width: 293px;
    font-size: 16px;
    line-height: 28px;
	margin: auto;
}

.find-provider-search h2 {
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 18px;
}

.search-input-container {
    gap: 13px;
    flex-direction: column;
}

.search-button {
    max-width: unset;
    height: 42px;
}

.find-provider-search {
    padding: 23px;
}

.accordion-button {
    font-size: 16px;
    line-height: 16px;
    padding: 19px;
}

.search-input-container input {
    padding: 11px 12px;
    font-size: 16px;
}

.accordion-label-group label {
    max-width: 337px;
}

.provider-icon svg {
    width: 32.106px;
    height: 49.578px;
	margin: 0;
}

    .provider-info h3 {
        line-height: 18px;
    }

.provider-contact-detail {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.accordion-content.active {
    max-height: 400px;
}
/* 
.info-row.location-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
 */
.gm-style .gm-style-iw-c {
    overflow: visible;
}

img.provider-card-image {
		max-width: 70px;
        top: -40px;
}

.gm-style-iw.gm-style-iw-c {
    max-height: unset !important;
}

.gm-style .gm-style-iw-d {
    max-height: unset !important;
}



}

@media (max-width: 768px) {
    img.provider-card-image {
        position: unset;
        transform: unset;
    }
}

@media (max-width: 500px) {
    img.provider-card-image {
        max-width: 56px;
    }
}

	/* Autocomplete results styling */
.autocomplete-results {
   
    z-index: 1000;
    width: calc(100% - 40px);
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: none;
}

.autocomplete-results div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
	color:#000;
}

.autocomplete-results div:hover {
    background-color: #f5f5f5;
}

.autocomplete-results div:last-child {
    border-bottom: none;
}

/* Search message styling */
.search-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.search-message.error {
    background-color: #b7141647;
    color: #b91c1c;
    border: 1px solid #B71416;
}

.search-message.info {
    background-color: #b7141647;
    color: #1d4ed8;
    border: 1px solid #B71416;
}
/* 	.search-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    display: none;
} */

#search-message {
    background-color: #f8f9fa;
    border-left: 4px solid #B71416;
    color: #B71416;
    padding: 16px 20px;
    margin: 15px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(183, 20, 22, 0.1);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    display: none; 
}

#search-message.info {
    border-left-color: #B71416;
}

#search-message.warning {
    border-left-color: #B71416;
}

#search-message.error {
    border-left-color: #B71416;
}

#search-message::before {
    content:"⚠️";
    margin-right: 12px;
    font-size: 18px;
}

/* Autocomplete results styling */
#autocomplete-results {
  z-index: 1000;
  position: absolute;
  top: 40px;  /* Adjust according to your layout */
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: none;
}

#autocomplete-results div {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  color: #000;
}

#autocomplete-results div:hover {
  background-color: #f5f5f5;
}

#autocomplete-results div:last-child {
  border-bottom: none;
}
.icon-wrapper {
    display: flex
;
}
	.provider-contact-detail {
   
    padding-bottom: 10px;
    padding-top: 10px;
}
	
	input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #E4E7EC;
    border-radius: 4px;
    border: none;
		
    max-width: 100%;
    outline: none;
}

/* Thumb (handle) styling */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    margin-top: -8px; /* Centers the thumb on the track */
    position: relative;
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    border: none;
}

/* Progress fill (similar to noUi-connect) */
input[type="range"]::-moz-range-progress {
    background: #B71416 !important;
    height: 8px;
    border-radius: 4px 0 0 4px;
}

/* For Webkit browsers, we need a different approach */
input[type="range"].filled {
    position: relative;
}

input[type="range"].filled::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 8px;
    width: var(--fill-percent, 30%);
    background: #B71416 !important;
    border-radius: 4px 0 0 4px;
    pointer-events: none;
}
	.radius-inputs {
    justify-content: center;
    align-items: baseline;
}
	.gm-style-iw.gm-style-iw-c {
    max-width: 350px !important;
		    outline: none;
}
	