.staging-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    border-radius: inherit; /* Pour hériter du radius du parent */
}

.staging-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.staging-after {
    position: absolute;
    inset: 0;
}

.staging-before-clip {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.staging-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    width: 20px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.staging-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
}

.staging-handle-knob {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: col-resize;
}

.staging-label {
    position: absolute;
    bottom: 1.5rem;
    z-index: 5;
    font-family: monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
}

.staging-label--before { left: 1rem; }
.staging-label--after { right: 1rem; }
