/* 滑动验证（拼图滑块）样式 */
.sc-wrap {
    width: 100%;
    max-width: 300px;
    margin: 8px auto 4px;
    text-align: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

.sc-stage {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    line-height: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    background: #f2f2f2;
    box-sizing: border-box;
}

.sc-stage .sc-bg {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.sc-stage .sc-piece {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    pointer-events: none;
}

.sc-stage .sc-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.72);
    color: #888;
    font-size: 13px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    cursor: pointer;
}

.sc-bar {
    position: relative;
    height: 40px;
    margin-top: 10px;
    border-radius: 4px;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-sizing: border-box;
}

.sc-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #d6f5ee;
}

.sc-handle {
    touch-action: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab;
    border-radius: 4px;
    background: #1ab394;
    z-index: 2;
    box-sizing: border-box;
}

.sc-refresh {
    display: block;
    margin: 6px 0 0 auto;
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 12px;
}

.sc-handle.sc-active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
    background: #169d82;
}

.sc-tip {
    position: relative;
    min-height: 20px;
    margin-top: 8px;
    line-height: 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    pointer-events: none;
    white-space: normal;
    overflow-wrap: break-word;
}

.sc-wrap.sc-success .sc-bar {
    background: #eafaf6;
    border-color: #1ab394;
}

.sc-wrap.sc-success .sc-handle {
    background: #1ab394;
}

.sc-wrap.sc-success .sc-tip {
    color: #1ab394;
}

.sc-wrap.sc-fail .sc-bar {
    background: #fdecea;
    border-color: #e05c4b;
}

.sc-wrap.sc-fail .sc-handle {
    background: #e05c4b;
}

.sc-wrap.sc-fail .sc-tip {
    color: #e05c4b;
}
