.ic-225b7009-wrapper {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    line-height: 0;
    width: 100%;
}

.ic-225b7009-wrapper[data-orientation="vertical"] {
    cursor: ns-resize;
}

/* After image is the base layer - sets the dimensions */
.ic-225b7009-after {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}

.ic-225b7009-after img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

/* Before image overlays on top, clipped by width/height of its container */
.ic-225b7009-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ic-225b7009-before img {
    display: block;
    height: 100%;
    max-width: none;
    pointer-events: none;
}

/* Vertical orientation: before clips from top */
.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-before {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-before img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Handle */
.ic-225b7009-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    transform: translateX(-50%);
}

.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-handle {
    top: auto;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: row;
    transform: translateY(-50%);
}

.ic-225b7009-handle-line {
    flex: 1;
    width: 3px;
    background-color: #ffffff;
}

.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-handle-line {
    width: auto;
    height: 3px;
    flex: 1;
}

.ic-225b7009-handle-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ic-225b7009-handle-arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
}

.ic-225b7009-arrow-left {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.ic-225b7009-arrow-right {
    transform: rotate(45deg);
    margin-right: 3px;
}

.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-arrow-left {
    transform: rotate(-45deg);
    margin-left: 0;
    margin-top: 3px;
}

.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-arrow-right {
    transform: rotate(135deg);
    margin-right: 0;
    margin-bottom: 3px;
}

/* Labels */
.ic-225b7009-label {
    position: absolute;
    bottom: 20px;
    z-index: 4;
    padding: 6px 16px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 4px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

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

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

.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-label-before {
    left: 20px;
    bottom: auto;
    top: 20px;
}

.ic-225b7009-wrapper[data-orientation="vertical"] .ic-225b7009-label-after {
    left: 20px;
    right: auto;
    bottom: 20px;
}

/* Hover labels */
.ic-225b7009-hover-labels .ic-225b7009-label {
    opacity: 0;
}

.ic-225b7009-hover-labels:hover .ic-225b7009-label {
    opacity: 1;
}
