.pe-2360-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

/* Single Segmented Control Toggle */
.pe-2360-toggle-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 32px;
}

.pe-2360-segmented-control {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 100px;
	padding: 4px;
	width: 240px;
	height: 44px;
	box-sizing: border-box;
}

.pe-2360-toggle-highlight {
	position: absolute;
	top: 4px;
	left: 4px;
	width: calc(50% - 4px);
	height: calc(100% - 8px);
	background-color: #1E42A3;
	border-radius: 100px;
	transition: transform 0.4s ease;
	z-index: 1;
}

.pe-2360-toggle-label {
	width: 50%;
	color: rgba(255, 255, 255, 0.4);
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: center;
	cursor: pointer;
	z-index: 2;
	transition: color 0.3s ease;
	user-select: none;
}

.pe-2360-toggle-label.active {
	color: #ffffff;
}

/* Image Area */
.pe-2360-image-container {
	position: relative;
	width: 100%;
	background-color: transparent;
}

.pe-2360-image-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transform: scale(0.98);
	transition: opacity 0.5s ease, transform 0.5s ease;
	z-index: 1;
	pointer-events: none;
}

.pe-2360-image-layer.active {
	position: relative; /* the active one sets the height */
	opacity: 1;
	transform: scale(1);
	z-index: 2;
	pointer-events: auto;
}

.pe-2360-image-layer img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain; /* natural aspect ratio */
}

/* Hotspots */
.pe-2360-hotspots-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	pointer-events: none;
}

.pe-2360-hotspot {
	position: absolute;
	transform: translate(-50%, -50%);
	pointer-events: auto;
	cursor: pointer;
}

.pe-2360-hotspot-marker {
	width: 12px;
	height: 12px;
	background-color: #1E42A3; /* Default color */
	border-radius: 50%;
	position: relative;
	transition: background-color 0.3s ease;
}

.pe-2360-hotspots-layer.has-pulse .pe-2360-hotspot-marker::after {
	content: '';
	position: absolute;
	top: -6px;
	left: -6px;
	right: -6px;
	bottom: -6px;
	border-radius: 50%;
	border: 2px solid #1E42A3;
	opacity: 0;
	animation: pe-2360-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pe-2360-pulse {
	0% {
		transform: scale(0.5);
		opacity: 0.8;
	}
	100% {
		transform: scale(2);
		opacity: 0;
	}
}

.pe-2360-hotspot.active .pe-2360-hotspot-marker {
	background-color: #ffffff;
}

/* Panel Overlay */
.pe-2360-panel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 4;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.pe-2360-panel-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

/* Panel Desktop */
.pe-2360-panel {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 320px;
	height: auto;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	z-index: 5;
	transform: translateX(120%);
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	padding: 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	opacity: 0;
	pointer-events: none;
}

.pe-2360-panel.open {
	transform: translateX(0);
	opacity: 1;
	pointer-events: auto;
}

.pe-2360-panel-handle {
	display: none; /* Hide on desktop */
}

.pe-2360-panel-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	font-size: 24px;
	width: 24px;
	height: 24px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	line-height: 1;
	transition: color 0.3s;
}

.pe-2360-panel-close:hover {
	color: #ffffff;
}

.pe-2360-panel-title {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #ffffff;
	margin-top: 0;
	margin-bottom: 12px;
	padding-right: 36px;
}

.pe-2360-panel-desc {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.6;
	color: #8B9CB6;
	margin: 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
	.pe-2360-panel {
		top: auto;
		bottom: 0;
		right: 0;
		width: 100%;
		height: auto;
		max-height: 35vh;
		border-radius: 16px 16px 0 0;
		border-bottom: none;
		transform: translateY(100%);
		padding: 32px 16px 16px 16px;
	}

	.pe-2360-panel.open {
		transform: translateY(0);
	}

	.pe-2360-panel-handle {
		display: block;
		position: absolute;
		top: 12px;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 4px;
		background: rgba(255, 255, 255, 0.3);
		border-radius: 2px;
	}
	
	.pe-2360-panel-close {
		font-size: 20px;
		width: 20px;
		height: 20px;
	}

	.pe-2360-panel-title {
		font-size: 15px;
	}

	.pe-2360-panel-desc {
		font-size: 13px;
	}
}