.ffl-locator {
	max-width: 900px;
	margin: 0 auto;
	font-family: inherit;
}

.ffl-locator-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 16px;
}

.ffl-locator-form label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 4px;
}

.ffl-locator-field {
	display: flex;
	flex-direction: column;
	width: 240px;
}

.ffl-locator-zip,
.ffl-locator-radius,
.ffl-locator-name {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	width: 100%;
	box-sizing: border-box;
}

.ffl-locator-use-location {
	margin-top: 6px;
	padding: 0;
	border: none;
	background: none;
	color: #1d4ed8;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	align-self: flex-start;
}

.ffl-locator-use-location:disabled {
	color: #888;
	cursor: default;
}

.ffl-locator-submit {
	padding: 9px 18px;
	border: none;
	border-radius: 4px;
	background: #1d4ed8;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.ffl-locator-submit:hover {
	background: #1e40af;
}

.ffl-locator-status {
	margin-bottom: 12px;
	font-style: italic;
	color: #444;
}

.ffl-locator-results-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.ffl-locator-map {
	flex: 1 1 400px;
	min-width: 280px;
	height: 420px;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.ffl-locator-results {
	flex: 1 1 320px;
	min-width: 260px;
	max-height: 420px;
	overflow-y: auto;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ffl-locator-result {
	border-bottom: 1px solid #eee;
	padding: 10px 4px;
	cursor: pointer;
	border-left: 3px solid transparent;
	transition: background-color 0.15s ease, border-left-color 0.15s ease;
}

.ffl-locator-result:hover {
	background-color: #f5f7fb;
}

.ffl-locator-result.is-selected {
	background-color: #eef2ff;
	border-left-color: #1d4ed8;
}

.ffl-locator-select-dealer {
	margin-top: 6px;
	padding: 6px 12px;
	border: 1px solid #1d4ed8;
	border-radius: 4px;
	background: #fff;
	color: #1d4ed8;
	font-weight: 600;
	font-size: 0.85em;
	cursor: pointer;
}

.ffl-locator-select-dealer:hover:not(:disabled) {
	background: #1d4ed8;
	color: #fff;
}

.ffl-locator-select-dealer:disabled {
	cursor: default;
	opacity: 0.85;
}

.ffl-locator-result-name {
	font-weight: 700;
}

.ffl-locator-result-addr,
.ffl-locator-result-phone {
	font-size: 0.92em;
	color: #333;
}

.ffl-locator-result-distance {
	font-size: 0.85em;
	color: #1d4ed8;
	font-weight: 600;
	margin-top: 2px;
}

@media (max-width: 600px) {
	.ffl-locator-form {
		flex-direction: column;
		align-items: stretch;
	}
	.ffl-locator-field {
		width: 100%;
	}
}
