.ic-wrapper-5294f595 {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    user-select: none;
    border-radius: inherit;
}

.ic-wrapper-5294f595 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ic-after-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.ic-before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.ic-before-image img {
    width: 100vw; /* Will be overridden by JS to match wrapper width */
    max-width: none;
    height: 100%;
}

.ic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    pointer-events: none;
}

.ic-label {
    position: absolute;
    top: 20px;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.2;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.ic-label-before {
    left: 20px;
}

.ic-label-after {
    right: 20px;
}

.ic-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ic-handle-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #fff;
    transform: translateX(-50%);
}

.ic-handle-button {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ic-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    margin: 0;
    padding: 0;
}
