.geo-slider-captcha {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.geo-slider-captcha.is-open {
    display: flex;
}

.geo-slider-captcha__mask {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(4px);
}

.geo-slider-captcha__panel {
    position: relative;
    width: min(360px, 100%);
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(8, 13, 32, .98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    padding: 20px 20px 18px;
    color: #e5e7eb;
}

.geo-slider-captcha__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.geo-slider-captcha__head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.geo-slider-captcha__close {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.geo-slider-captcha__tip {
    margin: 0 0 14px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.geo-slider-captcha__track-wrap {
    position: relative;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(2, 6, 23, .72);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(148, 163, 184, .22);
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.geo-slider-captcha__track-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .28);
    pointer-events: none;
    z-index: 0;
}

.geo-slider-captcha__target {
    position: absolute;
    top: 4px;
    bottom: 4px;
    z-index: 1;
    border-radius: 6px;
    background: rgba(14, 165, 233, .22);
    border: 1px dashed rgba(103, 232, 249, .75);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    pointer-events: none;
}

.geo-slider-captcha__block {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(56, 189, 248, .92), rgba(2, 132, 199, .92));
    box-shadow: 0 4px 14px rgba(14, 165, 233, .35);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.geo-slider-captcha__block:active {
    cursor: grabbing;
}

.geo-slider-captcha__status {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
    color: #94a3b8;
}

.geo-slider-captcha__status.is-error {
    color: #fca5a5;
}

.geo-slider-captcha__status.is-success {
    color: #86efac;
}

.geo-slider-captcha__track-wrap.is-shake {
    animation: geoSliderShake .35s ease;
}

@keyframes geoSliderShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}
