.jigsaw {
    position: relative;
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
}

.jigsaw .jigsaw-image {
    display: block;
    width: 100%;
    border-radius: 3px;
}

.jigsaw .jigsaw-block {
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    touch-action: none;
}

.jigsaw .jigsaw-track {
    position: relative;
    height: 46px;
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #dce3eb;
    border-radius: 3px;
    background: #f5f7fa;
    color: #657385;
    text-align: center;
    line-height: 44px;
    font-size: 14px;
}

.jigsaw .jigsaw-mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 44px;
    background: #d9edff;
}

.jigsaw .jigsaw-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid #dce3eb;
    border-radius: 0;
    background: #fff;
    color: #2395fb;
    cursor: grab;
    touch-action: none;
}

.jigsaw .jigsaw-slider:active,
.jigsaw .jigsaw-block:active {
    cursor: grabbing;
}

.jigsaw .jigsaw-slider:focus {
    outline: 2px solid #2395fb;
    outline-offset: -3px;
}

.jigsaw .jigsaw-slider:disabled {
    cursor: default;
}

.jigsaw .jigsaw-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    vertical-align: middle;
}

.jigsaw .jigsaw-active .jigsaw-slider {
    background: #2395fb;
    color: #fff;
}

.jigsaw .jigsaw-active .jigsaw-text,
.jigsaw .jigsaw-fail .jigsaw-text {
    visibility: hidden;
}

.jigsaw .jigsaw-success {
    border-color: #32a777;
    color: #208558;
}

.jigsaw .jigsaw-success .jigsaw-mask {
    background: #d8f2e6;
}

.jigsaw .jigsaw-success .jigsaw-slider {
    background: #32a777;
    color: #fff;
}

.jigsaw .jigsaw-success .jigsaw-text {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.jigsaw .jigsaw-fail {
    border-color: #df6c6c;
}

.jigsaw .jigsaw-fail .jigsaw-mask {
    background: #fbe2e2;
}

.jigsaw .jigsaw-fail .jigsaw-slider {
    background: #df6c6c;
    color: #fff;
}

.jigsaw .jigsaw-loading {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    border-radius: 3px;
    background: #edf2f7;
    color: #657385;
    text-align: center;
    font-size: 14px;
    line-height: 24px;
}
