/* Slide Captcha Styles */
.gc-wrapper {
    width: 330px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    position: relative;
}

.gc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.gc-header .gc-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gc-header .gc-close {
    cursor: pointer;
    color: #999;
    font-size: 20px;
    line-height: 1;
}

.gc-header .gc-close:hover {
    color: #666;
}

.gc-body {
    position: relative;
    width: 300px;
    height: 150px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.gc-bg-img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.gc-block-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.gc-refresh {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gc-refresh:hover {
    background: #fff;
}

.gc-refresh svg {
    width: 16px;
    height: 16px;
    fill: #666;
}

.gc-footer {
    margin-top: 20px;
    position: relative;
}

.gc-slider-box {
    position: relative;
    width: 100%;
    height: 40px;
    background: #f2f3f5;
    border-radius: 20px;
    border: 1px solid #e4e7eb;
    user-select: none;
}

.gc-slider-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #888;
    pointer-events: none;
    transition: opacity 0.2s;
}

.gc-slider-mask {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #d1e9ff;
    border-radius: 20px 0 0 20px;
    width: 0;
    border: 1px solid #1991fa;
    border-right: 0;
    box-sizing: border-box;
}

.gc-slider-knob {
    position: absolute;
    left: 0;
    top: -1px;
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 1px solid #e4e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 5;
}

.gc-slider-knob:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.gc-slider-knob svg {
    width: 20px;
    height: 20px;
    fill: #333;
    transition: fill 0.2s;
}

.gc-active .gc-slider-knob {
    background: #1991fa;
    border-color: #1991fa;
}

.gc-active .gc-slider-knob svg {
    fill: #fff;
}

.gc-active .gc-slider-mask {
    background: #d1e9ff;
    border-color: #1991fa;
}

.gc-success .gc-slider-knob {
    background: #52ccba;
    border-color: #52ccba;
}

.gc-success .gc-slider-knob svg {
    fill: #fff;
}

.gc-success .gc-slider-mask {
    background: #d2f4ef;
    border-color: #52ccba;
}

.gc-fail .gc-slider-knob {
    background: #f57a7a;
    border-color: #f57a7a;
}

.gc-fail .gc-slider-knob svg {
    fill: #fff;
}

.gc-fail .gc-slider-mask {
    background: #fce1e1;
    border-color: #f57a7a;
}

.gc-powered {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    font-size: 12px;
    color: #ddd;
}

.gc-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.gc-overlay.visible {
    display: flex !important;
}