:root {
	--primary-color: #0e6bb7;
	--primary-hover: #095394;
	--secondary-color: #eef2f7;
	--border-radius: 4px;
	--box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	--text-color: #333333;
	--light-gray: #f0f2f6;
	--transition-speed: 0.25s;
}

.wpo-pos-map-container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	font-family: 'Arial', sans-serif;
	color: var(--text-color);
	margin-bottom: 50px;
	position: relative;
}

.wpo-pos-map-search {
	position: relative;
	background-color: #15337d;
	display: flex;
	flex-direction: row;
	border-radius: 25px;
	padding: 20px 30px;
	background-color: rgb(202,219,237);
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
}

.wpo-pos-map-search h1{
	font-size: 21px;
	margin: 0;
	flex-grow: 1;
	color: #1f338a;
}

/*.wpo-pos-map-search input {*/
/*	padding: 12px 16px;*/
/*	flex-grow: 1;*/
/*	border: none;*/
/*	border-radius: var(--border-radius) 0 0 var(--border-radius);*/
/*	font-size: 14px;*/
/*	outline: none;*/
/*}*/



.wpo-pos-map-search button {
	padding: 12px 20px;
	background: #FFF;
	color: #1f338a;
	border: 1px solid transparent;
	border-radius: 30px!important;
	font-weight: 500;
	cursor: pointer;
	transition: background var(--transition-speed);
	border-radius: 0 var(--border-radius) var(--border-radius) 0;
	min-width: 100px;
}

.wpo-pos-map-search button:hover {
	background-color: #1f338a;
	color:#FFF;
	border: 1px solid #1f338a;
}

.wpo-pos-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1500;
	background-color: white;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
	max-height: 250px;
	overflow-y: auto;
	width: 100%;
	box-shadow: var(--box-shadow);
	animation: suggestionsFadeIn 0.2s ease-out;
	margin-top: -1px;
}

.wpo-pos-suggestion-item {
	padding: 10px 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--light-gray);
}

.wpo-pos-suggestion-item:hover {
	background-color: var(--secondary-color);
}

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

.wpo-pos-map-wrapper {
	display: grid;
	grid-template-columns: 20% calc(80% - 20px);
	gap: 20px;
}

#wpo-pos-map {
	height: 600px;
	grid-column: 2;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	border: 20px solid white;
}

.wpo-pos-list {
	grid-column: 1;
	border-radius: 25px;
}

.wpo-pos-list h3 {
	margin-top: 0;
	font-size: 16px;
	color: var(--text-color);
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
}

.wpo-pos-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 550px;
	overflow-y: auto;
	border-radius: var(--border-radius);
	background-color: white;
	box-shadow: var(--box-shadow);
}

.wpo-pos-list li {
	padding: 12px 16px;
	border-bottom: 1px solid var(--light-gray);
	cursor: pointer;
	transition: all var(--transition-speed);
	background-color: white;
}

.wpo-pos-list li:hover {
	background: var(--secondary-color);
	padding-left: 20px;
}

.wpo-pos-popup {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
}

.wpo-pos-popup-content {
	background-color: white;
	margin: 10% auto;
	padding: 25px;
	border-radius: var(--border-radius);
	width: 90%;
	max-width: 500px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	animation: popupFadeIn 0.3s;
}

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

.wpo-pos-popup-content h3 {
	margin-top: 0;
	color: var(--primary-color);
	font-size: 20px;
	margin-bottom: 16px;
}

.wpo-pos-close {
	position: absolute;
	top: 15px;
	right: 15px;
	color: #777;
	font-size: 24px;
	cursor: pointer;
	transition: all var(--transition-speed);
}

.wpo-pos-close:hover {
	color: #333;
}

@media (max-width: 992px) {
	.wpo-pos-map-wrapper {
		grid-template-columns: 1fr;
	}
	
	#wpo-pos-map {
		grid-column: 1;
		order: 1;
		/*height: 450px;*/
	}
	
	.wpo-pos-list {
		grid-column: 1;
		order: 2;
	}
	
	.wpo-pos-list ul {
		max-height: 350px;
	}
}

@media (max-width: 768px) {
	.wpo-pos-map-search {
		padding: 15px;
		flex-direction: column;
	}
	
	.wpo-pos-map-search input {
		border-radius: var(--border-radius);
		margin-bottom: 10px;
	}
	
	.wpo-pos-map-search button {
		border-radius: var(--border-radius);
		width: 100%;
	}
	
	.wpo-pos-suggestions {
		left: 15px;
		width: calc(100% - 30px);
	}
	
	#wpo-pos-map {
		/*height: 350px;*/
	}
}

.wpo-pos-map-wrapper {
	height: auto;
	min-height: 400px;
}

#wpo-pos-map {
	height: 100%;
	min-height: 400px;
	width: 100%;
}

#wpo-pos-map > div{
	border-radius: 15px;
	overflow: hidden;
}

#wpo-map-search-inputs{
	position: relative;
}

#wpo-map-search-inputs #autocomplete-input{
	padding-left: 34px!important;
	margin-bottom: 10px;
	margin-top: 10px;
	border-radius: 30px!important;
}

#wpo-map-search-inputs::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 50%;
	width: 24px;
	height: 24px;
	background-image: url('data:image/svg+xml;utf8,<svg fill="%239DAABD" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zM10 14a4 4 0 110-8 4 4 0 010 8z"/></svg>');
	background-repeat: no-repeat;
	background-size: contain;
	transform: translateY(-50%);
	pointer-events: none;
}

#wpo-pos-locations{
	border-radius: 25px;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
	min-height: 100%;
}

#wpo-pos-map{
	border-radius: 25px;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
	/*margin-left: 20px;*/
	/*max-width: 100%;*/
}

.wpo-pos-map-buttons{
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}