.ba-slider-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.ba-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    user-select: none;
    cursor: ew-resize;
}

.ba-slider-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

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

.ba-slider-before-img {
    width: auto !important;
    max-width: none !important;
    height: 100% !important;
}

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

.ba-slider-line {
    width: 4px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    position: absolute;
}

.ba-slider-handle::before {
    content: '';
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 3;
}

.ba-slider-handle::after {
    content: '< >';
    font-size: 14px;
    font-weight: bold;
    color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}