/* Surgeon Locator */

.mkse-locator-chooser {
	margin-bottom: 30px;
}

.mkse-locator-chooser label {
	font-weight: 700;
	margin-right: 10px;
}

.mkse-locator-chooser select {
	padding: 8px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	min-width: 220px;
}

.mkse-locator-prompt {
	padding: 30px;
	text-align: center;
	background: #f7f7f7;
	border-radius: 6px;
}

/* ZIP search (shared by the card locator and the pin map) */

.mkse-zip-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.mkse-zip-search label {
	font-weight: 700;
	margin-right: 0;
}

.mkse-zip-input {
	padding: 8px 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 110px;
	margin-left: 10px;
}

.mkse-zip-search-btn {
	display: inline-block;
	padding: 8px 20px;
	border: 2px solid #f85826;
	border-radius: 4px;
	background-color: #f85826;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.mkse-zip-search-btn:hover {
	background-color: #fff;
	color: #f85826;
}

.mkse-zip-message {
	flex: 1 0 100%;
	margin: 0;
	color: #a93410;
	font-weight: 700;
}

.mkse-surgeon-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.mkse-surgeon-card {
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	padding: 24px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mkse-surgeon-card h3.mkse-surgeon-name {
	margin: 0 0 6px;
	font-size: 20px;
}

.mkse-surgeon-practice {
	font-weight: 700;
	margin-bottom: 6px;
}

.mkse-surgeon-address {
	margin-bottom: 10px;
}

.mkse-surgeon-phone,
.mkse-surgeon-website {
	margin-bottom: 6px;
}

.mkse-surgeon-phone a {
	color: inherit;
	text-decoration: none;
}

.mkse-surgeon-website a {
	color: #f85826;
	font-weight: 700;
	text-decoration: none;
}

.mkse-surgeon-website a:hover {
	text-decoration: underline;
}

.mkse-locator-noresults {
	padding: 30px;
	text-align: center;
	background: #f7f7f7;
	border-radius: 6px;
}

.mkse-locator-cta {
	margin-top: 30px;
	text-align: center;
}

.mkse-locator-cta-button {
	display: inline-block;
	padding: 12px 28px;
	background-color: #f85826;
	border: 2px solid #f85826;
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.mkse-locator-cta-button:hover {
	background-color: #fff;
	color: #f85826;
}

/* Surgeon Map */

.mkse-surgeon-map {
	max-width: 800px;
	margin: 0 auto 40px;
}

.mkse-surgeon-map svg {
	display: block;
	width: 100%;
	height: auto;
}

.mkse-surgeon-map svg path,
.mkse-surgeon-map svg circle {
	fill: #d9d9d9;
	stroke: #fff;
	stroke-width: 1;
}

.mkse-surgeon-map svg .separator1 {
	fill: none;
	stroke: #b0b0b0;
	stroke-width: 2;
}

.mkse-surgeon-map svg .mkse-has-surgeons {
	fill: #f85826;
	cursor: pointer;
	transition: fill 0.15s;
}

.mkse-surgeon-map svg .mkse-has-surgeons:hover,
.mkse-surgeon-map svg .mkse-has-surgeons:focus {
	fill: #d8431a;
	outline: none;
}

.mkse-surgeon-map svg .mkse-selected,
.mkse-surgeon-map svg .mkse-has-surgeons.mkse-selected:hover {
	fill: #a93410;
}

/* Surgeon Map popup */

body.mkse-modal-open {
	overflow: hidden;
}

.mkse-map-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.mkse-map-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.mkse-map-modal-box {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 32px;
	max-width: 700px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mkse-map-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f0f0f0;
	color: #333;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.mkse-map-modal-close:hover {
	background: #f85826;
	color: #fff;
}

.mkse-map-modal-title {
	margin: 0 0 20px;
	font-size: 26px;
	padding-right: 40px;
}

.mkse-map-modal-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.mkse-map-modal-cards .mkse-surgeon-card {
	border: 1px solid #e3e3e3;
}

/* Surgeon Pin Map */

.mkse-surgeon-pin-map .mkse-zip-search {
	margin-bottom: 16px;
}

.mkse-pin-map-canvas {
	height: 520px;
	border-radius: 8px;
	z-index: 1;
}

/* Branded look: muted grayscale basemap so the orange pins stand out.
   Filter targets the tile pane only — pins and popups stay full color. */
.mkse-surgeon-pin-map .leaflet-tile-pane {
	filter: grayscale(1) contrast(0.92) brightness(1.05);
}

.mkse-pin {
	background: none;
	border: none;
}

.mkse-surgeon-pin-map .leaflet-popup-content .mkse-surgeon-card {
	border: 0;
	padding: 4px;
	box-shadow: none;
}

.mkse-surgeon-pin-map .leaflet-popup-content .mkse-surgeon-card h3.mkse-surgeon-name {
	font-size: 17px;
}

.mkse-surgeon-pin-map .leaflet-popup-content p {
	margin: 0 0 6px;
}
