/* Image Comparison Widget — Develona v1.6 */

[id^="ice-"] {
	position: relative;
	width: 100%;
	line-height: 0;
	user-select: none;
	-webkit-user-select: none;
	cursor: col-resize;
}
[id^="ice-"] .ice-after {
	display: block;
	width: 100%;
	height: auto;
}
[id^="ice-"] .ice-before-wrap {
	position: absolute;
	top: 0; left: 0;
	height: 100%;
	overflow: hidden;
}
[id^="ice-"] .ice-before {
	display: block;
	width: var(--ice-total-w, 100%);
	height: auto;
	max-width: none;
}
[id^="ice-"] .ice-divider {
	position: absolute;
	top: 0;
	height: 100%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	touch-action: none;
	cursor: col-resize;
}
[id^="ice-"] .ice-line {
	/* width & background-color set inline by PHP */
	height: 100%;
	flex-shrink: 0;
	pointer-events: none;
}
[id^="ice-"] .ice-handle {
	/* width, height, border, background-color set inline by PHP */
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border-style: solid;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	box-shadow: 0 2px 12px rgba(0,0,0,0.4);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background-color 0.15s;
}
[id^="ice-"].dragging .ice-handle,
[id^="ice-"] .ice-handle:hover {
	filter: brightness(1.3);
}
[id^="ice-"] .ice-arrow {
	/* border-top-color & border-right-color set inline by PHP */
	display: inline-block;
	width: 7px; height: 7px;
	border-top-style: solid;
	border-top-width: 2px;
	border-right-style: solid;
	border-right-width: 2px;
	flex-shrink: 0;
}
[id^="ice-"] .ice-arrow-l { transform: rotate(225deg); margin-right: -1px; }
[id^="ice-"] .ice-arrow-r { transform: rotate(45deg);  margin-left:  -1px; }
