.pick_location_area {
	background-image: url(/assets/parkmycar/images/service-bg.jpg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 50px 0px;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.SearchForm {
	max-width: 600px;
	margin: auto;
	padding: 20px;
}

@media (max-width: 768px) {
	.pick_location_area {
		min-height: 100vh;
		padding: 20px 0px;
	}
}

.SearchForm .form-control {
	font-size: 16px;
	padding: 10px;
	height: auto;
}

.SearchForm .input-group {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.SearchForm .form-label {
	font-size: 16px;
	margin-bottom: 10px;
}

.SearchForm .btn-primary {
	font-size: 18px;
	padding: 12px;
}

@media (max-width: 576px) {
	.SearchForm .input-group {
		flex-direction: column;
		gap: 15px;
	}
}

.navbar {
	padding-top: 15px;
	padding-bottom: 15px;
}

.navbar-nav .nav-link {
	position: relative;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: #2b353e;
	font-weight: 600;
}

.navbar-nav .nav-link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 50%;
	background-color: #2b353e;
	transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
	width: 100%;
	left: 0;
}

.navbar .container {
	max-width: 1320px;
}

.dropdown-item:hover,
.dropdown-item:focus {
	background-color: #f8f9fa;
	color: #2b353e;
	font-weight: 600;
}

.date-inputs-container {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.date-inputs-container.show {
	max-height: 500px;
}

#locationsMapModal .modal-dialog {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

#locationsMapModal .modal-content {
	height: 100vh;
	border-radius: 0;
}

#locationsMapModal .modal-body {
	height: calc(100vh - 56px);
	/* Adjust if your modal header height is different */
	padding: 0;
}

#locationsList {
	height: calc(100vh - 56px);
	overflow-y: auto;
}

#mapContainer,
#map {
	height: 100% !important;
}

.location-item {
	cursor: pointer;
	color: #333;
	transition: background-color 0.3s;
}

.location-item:hover,
.location-item.active {
	background-color: #f8f9fa;
}

#radiusFilterContainer {
	background-color: #f8f9fa;
	padding: 15px;
	border-bottom: 1px solid #dee2e6;
}

#radiusFilter {
	width: 100%;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
}

#targetLocationContainer {
	padding: 15px;
	background-color: #e9ecef;
}

#locationItemsContainer {
	padding: 15px;
}

.location-item {
	margin-bottom: 15px;
}

.parking-location-marker {
	text-align: center;
	line-height: 20px;
}

.target-location-marker {
	text-align: center;
	line-height: 24px;
}

.marker-label {
	background-color: rgba(255, 255, 255, 0.9);
	border: 2px solid #000;
	border-radius: 4px;
	color: #333;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 4px;
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}

.marker-label::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -8px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #000;
}

.parking-location-marker,
.target-location-marker {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.parking-location-marker i {
	color: var(--bs-primary);
	font-size: 36px;
}

.parking-location-marker.selected i {
	color: var(--bs-warning);
	font-size: 48px;
}

.target-location-marker i {
	color: var(--bs-danger);
	font-size: 48px;
}

.target-location-marker .marker-label {
	background-color: var(--bs-danger);
	color: #fff;
	border-color: #000;
}

.target-location-marker .marker-label::after {
	border-top-color: #000;
}

#target-location {
	color: #fff;
	cursor: pointer;
}

#target-location:hover {
	background-color: var(--bs-danger-dark);
}

#target-location .card-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.location-item.active {
	background-color: var(--bs-warning);
	color: #000;
}

.pro-info {
	background-color: #ff4d4d;
	color: white;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.8em;
	font-weight: bold;
	cursor: pointer;
}

@media (max-width: 767px) {
	#locationsList {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: white;
		z-index: 1001;
		overflow-y: auto;
		height: 100vh !important;
		width: 100vw;
		padding-top: 56px;
		/* Adjust based on your modal header height */
	}

	#locationsMapModal .modal-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1003;
		background: white;
	}

	#mobileViewToggle {
		z-index: 1002;
	}
}

@media (min-width: 768px) {
	#locationsList {
		display: block !important;
	}
}

#userStatus {
	font-size: 0.9rem;
	color: #666;
	margin-top: 10px;
}

#searchResults {
	font-size: 1rem;
	font-weight: bold;
	color: #333;
	margin-top: 10px;
}

#progressBar {
	margin-top: 10px;
}

.card-title,
.card-text {
	color: #333;
}

#loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.spinner-border {
	width: 3rem;
	height: 3rem;
}

.navigate-btn,
.street-view-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 10px;
}

.navigate-btn i,
.street-view-btn i {
	font-size: 1.2em;
}

.location-item .card-body {
	display: flex;
	flex-direction: column;
}

.location-item .card-body .d-flex {
	margin-top: auto;
}