/**
 * My Hotels Map Plugin Styles
 *
 * @package My_Hotels_Map
 */

/* Hotels Archive Map */
.mhm-hotels-archive-map {
	margin: 2rem 0;
}

.mhm-map-footer {
	margin-top: 0.5rem;
	text-align: center;
}

.mhm-reset-map-button {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #0073aa;
	color: white;
	border: none;
	padding: 0.4rem 0.8rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.85rem;
	font-weight: 600;
	transition: background-color 0.3s ease;
}

.mhm-reset-icon {
	display: inline-block;
	font-size: 1em;
}

.mhm-reset-text {
	display: none;
}

.mhm-reset-map-button:hover {
	background-color: #005a87;
}

.mhm-reset-map-button:active {
	background-color: #004675;
}

@media (min-width: 500px) {
	.mhm-reset-text {
		display: inline;
	}
}

.mhm-hotels-archive-map-container {
	width: 100%;
	max-height: 400px;
	height: 400px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin: 0;
}

/* Meta Box Styles */
#mhm_hotel_zoom {
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(to right, #ddd 0%, #ddd 100%);
	outline: none;
	-webkit-appearance: none;
}

#mhm_hotel_zoom::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #0073aa;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#mhm_hotel_zoom::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #0073aa;
	cursor: pointer;
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#mhm_hotel_zoom::-moz-range-track {
	background: transparent;
	border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.mhm-hotels-archive-map-container {
		height: 300px;
	}

	.mhm-map-header h2 {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.mhm-hotels-archive-map-container {
		height: 250px;
	}

	.mhm-map-header h2 {
		font-size: 1.25rem;
	}
}
