.irg-property-map-wrapper {
	display: flex;
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	height: 700px;
}

.irg-property-map-wrapper.irg-sidebar-right {
	flex-direction: row-reverse;
}

.irg-property-map-wrapper.irg-sidebar-right .irg-map-sidebar {
	border-right: none;
	border-left: 1px solid #e2e8f0;
}

.irg-map-sidebar {
	width: 300px;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	border-right: 1px solid #e2e8f0;
	z-index: 2;
}

.irg-sidebar-header {
	padding: 20px;
	background: var(--e-global-color-primary, #0f172a);
	color: #fff;
}

.irg-sidebar-header h3 {
	margin: 0 0 15px 0;
	font-size: 20px;
	color: #fff;
}

.irg-search-wrapper input {
	width: 100%;
	padding: 10px 12px;
	border: none;
	border-radius: 4px;
	margin-bottom: 10px;
	font-size: 14px;
}

.irg-property-count {
	font-size: 12px;
	opacity: 0.8;
}

.irg-sidebar-list {
	flex: 1;
	overflow-y: auto;
	padding: 15px;
}

.irg-loading-state,
.irg-no-results {
	text-align: center;
	padding: 20px;
	color: #64748b;
	font-size: 14px;
}

.irg-property-card {
	background: #fff;
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	margin-bottom: 15px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

.irg-property-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.irg-property-type-banner {
    width: 100%;
    padding: 4px;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    box-sizing: border-box;
}

.irg-card-image {
	width: 100%;
	height: 160px;
	background-size: cover;
	background-position: center;
	background-color: #e2e8f0;
}

.irg-card-image.no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.irg-card-content {
	padding: 15px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.irg-card-title {
	margin: 0 0 8px 0;
	font-size: 16px;
	line-height: 1.3;
	color: var(--e-global-color-primary, #0f172a);
}

.irg-card-address {
	font-size: 13px;
	color: var(--e-global-color-text, #475569);
	margin-bottom: 15px;
	line-height: 1.4;
	flex: 1;
}

.irg-card-btn {
	display: inline-block;
	text-align: center;
	padding: 8px 15px;
	background: var(--e-global-color-accent, #3b82f6);
	color: var(--e-global-color-primary, #fff);
	text-decoration: none;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	transition: opacity 0.2s;
}

.irg-card-btn:hover {
	opacity: 0.9;
}

.irg-map-canvas {
	flex: 1;
	height: 100%;
	z-index: 1;
}

/* Map Markers and Popups */
.irg-marker-dot {
	width: 12px;
	height: 12px;
	background-color: var(--e-global-color-accent, #3b82f6);
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.irg-custom-popup .leaflet-popup-content-wrapper {
	padding: 0;
	overflow: hidden;
	border-radius: 6px;
}

.irg-custom-popup .leaflet-popup-content {
	margin: 0;
	line-height: 1.4;
}

.irg-map-popup {
	display: flex;
	flex-direction: column;
}

.irg-popup-image {
	width: 100%;
	height: 120px;
	background-size: cover;
	background-position: center;
}

.irg-popup-content {
	padding: 12px;
}

.irg-popup-title {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 5px;
	color: var(--e-global-color-primary, #0f172a);
}

.irg-popup-address {
	font-size: 12px;
	color: var(--e-global-color-text, #475569);
	margin-bottom: 10px;
}

.irg-popup-link {
	display: inline-block;
	font-size: 12px;
	color: var(--e-global-color-accent, #3b82f6);
	text-decoration: none;
	font-weight: 500;
}

.irg-popup-link:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.irg-property-map-wrapper {
		flex-direction: column !important;
	}
	
	.irg-map-sidebar {
		width: 100% !important;
		height: 300px;
		border-right: none;
		border-left: none !important;
		border-bottom: 1px solid #e2e8f0;
	}
	
	.irg-map-canvas {
		height: 400px;
	}
}