.secure-slider {
    position: relative;
    width: 100%;
    height: 50px;
    overflow: hidden;
    border: 1px solid #e2e5eb;
    border-radius: 8px;
    background: #f7f8fa;
    user-select: none;
    touch-action: none;
}

.secure-slider-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: rgba(240, 130, 0, .16);
}

.secure-slider-target {
    position: absolute;
    z-index: 2;
    top: 8px;
    bottom: 8px;
    width: 4px;
    margin-left: -2px;
    border-radius: 4px;
    background: #17a34a;
    box-shadow: 0 0 0 4px rgba(23, 163, 74, .13);
}

.secure-slider-target:before {
    content: "▼";
    position: absolute;
    top: -11px;
    left: 50%;
    color: #17a34a;
    font-size: 10px;
    line-height: 1;
    transform: translateX(-50%);
}

.secure-slider-text {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    color: #f08200;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.secure-slider-thumb {
    position: absolute;
    z-index: 3;
    top: 4px;
    left: 3px;
    display: flex;
    width: 42px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 7px;
    color: #fff;
    background: #f08200;
    box-shadow: 0 4px 12px rgba(210, 109, 0, .28);
    cursor: grab;
}

.secure-slider-thumb:active {
    cursor: grabbing;
}

.secure-slider-thumb svg {
    width: 18px;
    height: 18px;
}

.secure-slider.is-loading .secure-slider-thumb,
.secure-slider.is-verifying .secure-slider-thumb {
    cursor: wait;
    opacity: .7;
}

.secure-slider.is-success {
    border-color: #79ce9b;
}

.secure-slider.is-success .secure-slider-thumb {
    background: #17a34a;
}

.secure-slider.is-success .secure-slider-target {
    background: #138a3f;
}

.secure-slider.is-error {
    border-color: #e05b4f;
    animation: secure-slider-shake .3s ease-in-out;
}

.secure-slider.is-error .secure-slider-thumb {
    background: #d64538;
}

@keyframes secure-slider-shake {
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-2px); }
}
