.bas-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: col-resize;
    user-select: none;
}

.bas-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bas-before-image {
    left: 0;
    z-index: 1;
}

.bas-after-image {
    left: 0;
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.1s ease-out;
}

.bas-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    z-index: 3;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.bas-slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 3px solid #333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bas-slider-handle::after {
    content: '⇔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #333;
    z-index: 1;
}

.bas-labels {
    position: absolute;
    top: 20px;
    width: 100%;
    z-index: 4;
    pointer-events: none;
}

.bas-label {
    position: absolute;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.bas-before-label {
    left: 20px;
}

.bas-after-label {
    right: 20px;
}

@media (max-width: 768px) {
    .bas-slider-handle::before {
        width: 30px;
        height: 30px;
    }
    
    .bas-slider-handle::after {
        font-size: 14px;
    }
    
    .bas-label {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .bas-preloader-text {
        font-size: 14px !important;
    }
    
    .bas-preloader-icon {
        gap: 8px !important;
    }
    
    .bas-arrow-left, 
    .bas-arrow-right {
        font-size: 18px !important;
    }
}

.bas-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.bas-preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.bas-preloader-content {
    text-align: center;
    color: white;
}

.bas-preloader-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 24px;
}

.bas-arrow-left,
.bas-arrow-right {
    font-size: 24px;
    animation: bas-pulse 2s infinite;
}

.bas-arrow-left {
    animation-delay: 0s;
}

.bas-arrow-right {
    animation-delay: 1s;
}

.bas-slider-demo {
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid #333;
    border-radius: 50%;
    position: relative;
    animation: bas-slide 3s infinite ease-in-out;
}

.bas-slider-demo::after {
    content: '⇔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.bas-preloader-text {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bas-glow 2s infinite alternate;
}

@keyframes bas-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes bas-slide {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

@keyframes bas-glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}