﻿/* sliderCaptcha.css */
.sc-wrap {
    display: inline-block;
    font-family: sans-serif;
}

/* ── Puzzle area ─────────────────────────────────── */
.sc-puzzle-area {
    position: relative;
    width: 300px;
    height: 160px;
    overflow: hidden;
    border: 1px solid #ddd;
    user-select: none;
    -webkit-user-select: none;
}

.sc-bg {
    display: block;
}

.sc-piece {
    position: absolute;
}

    .sc-piece.sc-dragging {
        cursor: grabbing;
    }

.sc-hole {
    position: absolute;
    border-radius: 3px;
    background: rgba(0,0,0,0.3);
    border: 1.5px solid rgba(255,255,255,0.35);
    pointer-events: none;
}

.sc-loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #666;
}

/* ── Slider ──────────────────────────────────────── */
.sc-slider-wrap {
    margin: 12px 16px 0 16px;
}

.sc-track {
    position: relative;
    width: 100%;
    height: 40px;
    background: #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
}

.sc-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 36px;
    background: #0CA6ED;
    border-radius: 16px;
    opacity: 0.3;
    transition: width 0.04s linear;
}

.sc-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px!important;
    color: #999;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.2s;
    z-index: 1;
}

.sc-btn {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 48px;
    height: 40px;
    background: #F97316;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 2;
    transition: background 0.15s;
    font-size: 13px;
    color: #fff;
    line-height: 1;
}

    .sc-btn.sc-dragging {
        cursor: grabbing;
    }
    .sc-btn.sc-disabled {
        background: #cccccc;
        pointer-events:none;
    }

/* ── Status ──────────────────────────────────────── */
.sc-status {
    margin-top: 8px;
    min-height: 20px;
}
