/* ===== Layout ===== */
.nds-locations-map-wrap {
	width: 100%;
	padding: 0 12px;
	margin: 1.5rem 0;
	box-sizing: border-box;
}

.nds-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.nds-col-map,
.nds-col-sidebar {
	width: 100%;
	box-sizing: border-box;
}

.nds-col-map {
	margin-bottom: 1rem;
}

@media (min-width: 992px) {
	.nds-col-map {
		flex: 0 0 75%;
		max-width: 75%;
		padding-right: 12px;
		margin-bottom: 0;
	}

	.nds-col-sidebar {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

/* ===== Map ===== */
.nds-locations-map {
	min-height: 450px;
	height: 450px;
	width: 100%;
	border-radius: .25rem;
	border: 1px solid #dee2e6;
}

@media (min-width: 992px) {
	.nds-locations-map {
		height: 500px;
	}

	.nds-locations-map-wrap .nds-location-sidebar {
		height: 500px;
	}
}

/* ===== Results count banner ===== */
.nds-results-count {
	display: block;
	background: #da3356;
	padding: 5px;
	border-radius: 5px;
	text-align: center;
	font-size: 18px;
	font-weight: 500;
	color: #ffffff;
	margin-bottom: .5rem;
}

/* ===== Sidebar ===== */
.nds-location-sidebar {
	height: 450px;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	border-radius: .25rem;
	border: 1px solid #dee2e6;
	padding: .75rem;
	background-color: #fff;
}

/* ===== Form fields ===== */
.nds-location-search {
	margin-bottom: 1rem;
}

.nds-field {
	margin-bottom: 1rem;
}

.nds-label {
	display: block;
	margin-bottom: .25rem;
	font-weight: 500;
}

.nds-input {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	box-sizing: border-box;
	transition: border-color .15s ease-in-out;
}

.nds-input:focus {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.nds-field-hint {
	margin-top: .25rem;
	font-size: .875rem;
	color: #6c757d;
}

/* ===== Location list ===== */
.nds-location-list {
	flex-grow: 1;
	min-height: 0;
}

.nds-muted {
	color: #6c757d;
	margin: 0;
}

.nds-list-group {
	display: flex;
	flex-direction: column;
}

.nds-list-item {
	padding: .75rem 1rem;
	border: 1px solid #dee2e6;
	margin-top: -1px;
}

.nds-list-item:first-child {
	border-top-left-radius: .25rem;
	border-top-right-radius: .25rem;
}

.nds-list-item:last-child {
	border-bottom-left-radius: .25rem;
	border-bottom-right-radius: .25rem;
}

.nds-list-item small {
	color: #6c757d;
}

.nds-capped-notice {
	margin-top: .75rem;
	padding: .5rem;
	text-align: center;
	font-weight: 500;
	color: #856404;
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: .25rem;
}
