.ic-6126b536-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 200px;
    --ic-position: 50%;
    --ic-transition: 300ms;
    cursor: col-resize;
    user-select: none;
    /* Allows inner border-radius to show */
    transform: translateZ(0); 
	aspect-ratio: 16 / 9 !important;
}

.ic-6126b536-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ic-6126b536-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.ic-6126b536-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ic-6126b536-after {
    position: relative;
    z-index: 1;
}

.ic-6126b536-before {
    z-index: 2;
    clip-path: polygon(0 0, var(--ic-position) 0, var(--ic-position) 100%, 0 100%);
}

.ic-6126b536-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ic-position);
    width: 2px;
    background: #fff;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.ic-6126b536-handle {
    position: absolute;
    top: 50%;
    left: var(--ic-position);
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* default gap, overridable by control */
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none;
}

.ic-6126b536-handle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ic-6126b536-label-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    padding: 20px; /* default offset padding */
    box-sizing: border-box;
}

.ic-6126b536-label {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    display: inline-block;
    max-width: max-content;
}

/* Positioning based on container classes */

/* Before Image (Left side) */
.ic-before-v-top .ic-6126b536-before-wrapper { align-items: flex-start; justify-content: flex-start; }
.ic-before-v-middle .ic-6126b536-before-wrapper { align-items: center; justify-content: flex-start; }
.ic-before-v-bottom .ic-6126b536-before-wrapper { align-items: flex-end; justify-content: flex-start; }

/* After Image (Right side) */
.ic-after-v-top .ic-6126b536-after-wrapper { align-items: flex-start; justify-content: flex-end; }
.ic-after-v-middle .ic-6126b536-after-wrapper { align-items: center; justify-content: flex-end; }
.ic-after-v-bottom .ic-6126b536-after-wrapper { align-items: flex-end; justify-content: flex-end; }


/* Transition class for smooth reset or initialization */
.ic-6126b536-container.is-animating .ic-6126b536-before,
.ic-6126b536-container.is-animating .ic-6126b536-divider,
.ic-6126b536-container.is-animating .ic-6126b536-handle {
    transition: all var(--ic-transition) ease-out;
}
