/*
 * Antes e Depois Slider - Afiliados Expressive
 */
.afexp-ba-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    background: #eee;
}

.afexp-ba-before, .afexp-ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.afexp-ba-after {
    width: 50%;
    border-right: 3px solid #fff;
    z-index: 2;
}

.afexp-ba-label {
    position: absolute;
    top: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    z-index: 3;
    pointer-events: none;
}

.afexp-ba-label-before {
    left: 15px;
    background: rgba(0,0,0,0.4);
}

.afexp-ba-label-after {
    right: 15px;
    background: #b40065;
}

.afexp-ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #fff;
    z-index: 4;
    transform: translateX(-50%);
    pointer-events: none;
}

.afexp-ba-handle::after {
    content: "↔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    color: #b40065;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
