.breezy-map {
	height: 700px;
}

.breezy-single-map {
	height: 700px;
}

.breezy-map-single-location .filters-wrapper {
	margin: 30px 0;
}

.breezy-map-marker-info-wrapper .flex-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
    align-items: flex-start;
    gap: 15px;

}
.breezy-map-marker-info-wrapper .flex-wrapper .left-wrapper {
	width: 30%;
}

.breezy-map-marker-info-wrapper .flex-wrapper .left-wrapper img {
	width: 100%;
}
.breezy-map-marker-info-wrapper .flex-wrapper .right-wrapper {
	width: 70%;
	box-sizing: border-box;
}

.breezy-map-marker-info-wrapper .flex-wrapper .right-wrapper h4 {
	font-size: 16px;
	margin-top: 0;
}
.breezy-map-marker-info-wrapper .flex-wrapper .right-wrapper p {
	font-size: 14px;
}

.breezy-map-marker-info-wrapper .flex-wrapper.one-col-wrapper .left-wrapper {
	width: 100%;
}

.breezy-map-marker-info-wrapper .flex-wrapper.one-col-wrapper .right-wrapper {
	width: 100%;
}



.breezy-map-preview {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background: #f1f1f1;
	min-height: 400px;
}

.breezy-map-preview .inner-wrapper {
	color: #969696;
	font-weight: bold;
	text-align: center;
	font-size: 20px;
}

/*Filters*/

.breezy-map-wrapper {
    display: flex;
    gap: 50px;
    max-width: 100% !important;
}

.breezy-map-wrapper.breezy-filter-left .breezy-map-filters {
    order: 0;
    width: 30%;
}

.breezy-map-wrapper.breezy-filter-left .breezy-map {
    flex: 1;
}

.breezy-map-wrapper.breezy-filter-right .breezy-map {
    flex: 1;
}

.breezy-map-wrapper.breezy-filter-right .breezy-map-filters {
    order: 1;
    width: 30%; /* adjust */
}

.breezy-map-wrapper .breezy-map-filters h3 {
	margin-top: 0;
	margin-bottom: 0;
}

.breezy-map-wrapper .breezy-filter-group {
	margin-bottom: 30px;
}





.breezy-map-wrapper .breezy-map-filters h4 {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 15px;
}


.breezy-map-wrapper #breezy-radius {
	margin-bottom: 24px;
	width: 100%;
}

.breezy-map-wrapper .breezy-use-my-location {
	margin-bottom: 20px;
}

.breezy-map-wrapper .filter-btn-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 24px;
    gap: 16px; /* space between buttons */
}

.breezy-map-wrapper .breezy-apply-filters,
.breezy-map-wrapper .breezy-clear-filters {
    flex: 1;
}

.breezy-map-wrapper .breezy-filter-field input[type="checkbox"] {
    position: relative;
    top: 0;
    left: 0;
}

.breezy-search-wrapper {
	position: relative;
	
}

.breezy-search-wrapper .breezy-map-searchbox {
	width: 100%;
}

.breezy-search-wrapper .breezy-clear-search {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	font-size: 16px;
	color: #888;
	display: none;
}

.breezy-locations-list ul {
	padding: 10px;
	margin: 15px 0 0;
	list-style: none;
	box-sizing: border-box;
	border: 1px solid #d4d4d4;
	height: 245px; /* fixed height for scroll */
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto; /* scroll only when needed */
}

/* Webkit browsers (Chrome, Edge, Safari) */
.breezy-locations-list ul::-webkit-scrollbar {
	width: 8px;
}

.breezy-locations-list ul::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.breezy-locations-list ul::-webkit-scrollbar-thumb {
	background: #bbb;
	border-radius: 10px;
	transition: background 0.3s;
}

.breezy-locations-list ul::-webkit-scrollbar-thumb:hover {
	background: #888;
}

/* Firefox */
.breezy-locations-list ul {
	scrollbar-width: thin;
	scrollbar-color: #bbb #f1f1f1;
}


.breezy-locations-list ul li {
	background: #f1f1f1;
	box-sizing: border-box;
	padding: 10px;
	transition: all 0.3s;
	cursor: pointer;
}

.breezy-locations-list ul li:hover {
	background: #ede6e6;
}


/*jquery ui*/
/* Container */
.ui-autocomplete {
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: fit-content;
  overflow-y: auto;
  padding: 0;
  margin: 4px 0 0 0;
  list-style: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  width: auto !important; /* let jQuery set width */
}

/* List items */
.ui-menu-item {
  padding: 0;
  margin: 0;
}

/* Item wrapper */
.ui-menu-item-wrapper {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Hover / focus state */
.ui-menu-item-wrapper.ui-state-active,
.ui-menu-item-wrapper:hover {
  background: #f0f7ff;
  color: #0366d6;
}

/* Scrollbar styling */
.ui-autocomplete::-webkit-scrollbar {
  width: 6px;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}

.ui-autocomplete::-webkit-scrollbar-thumb:hover {
  background: #888;
}


.breezy-map-wrapper .breezy-col-wrapper {
    width: 70%;
}

.breezy-nearby-list li {
	cursor: pointer;
	transition: all 0.3s;
}

.breezy-nearby-list li:hover {
	text-decoration: underline;
}




/*search global*/
.breezy-map-global-search-wrapper {
    position: relative;
}

.breezy-map-global-search-wrapper input {
	width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 2px !important;
    border: 1px solid #d4d4d4;
}

.breezy-search-spinner {
    position: absolute;
    right: -33px;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top: 2px solid #333;
    border-radius: 50%;
    display: none;
    animation: breezy-spinner 0.6s linear infinite;
}

@keyframes breezy-spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.breezy-search-suggestions {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    display: none;    
	font-size: 14px;
}

.breezy-search-suggestion-item {
    padding: 5px 10px;
    cursor: pointer;
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding:5px 10px;
	cursor:pointer;
	gap: 70px;
}

.breezy-search-suggestion-item:hover {
    background-color: #f0f0f0;
}

.breezy-search-suggestion-item .matched-criteria {
	font-size:12px;
	color:#666;
	min-width: 150px;
	max-width: 150px;
}

.breezy-clear-search {
	cursor:pointer;
	position:absolute;
	right:30px;
	top:50%;
	transform:translateY(-50%);
	font-size:18px;
	color:#999;
	display: none;
}

@media (max-width: 768px) {
    .breezy-map-wrapper {
        flex-direction: column;
    }
	
	.breezy-map-wrapper .breezy-col-wrapper {
		width: 100%;
	}

    .breezy-map-wrapper .breezy-map-filters {
        width: 100%;
    }

    .breezy-map-wrapper .breezy-map {
        width: 100%;
        min-height: 500px;
    }
	
	.breezy-map-wrapper .breezy-map-searchbox {
		width: 100%;
	}
	
	.breezy-map-wrapper .breezy-map-filters {
		width: 100% !important;
	}
}
