/* 슬라이드 캡차 스타일 */
.captcha-container {
    width: 300px;
    margin: 15px auto;
    font-family: Arial, sans-serif;
}

.captcha-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-align: left;
}

.captcha-image-container {
    position: relative;
    width: 300px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}
.captcha-background {
    width: 100%;
    height: 100%;
    display: block;
}

.captcha-puzzle {
    position: absolute;
    left: 0;
    cursor: move;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border: 1px solid #fff;
}

.captcha-puzzle.dragging {
    opacity: 0.8;
}

.captcha-slider-container {
    margin-top: 10px;
    position: relative;
    height: 40px;
    background: #f7f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.captcha-slider-track {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #1991FA;
    border-radius: 4px;
    transition: background 0.2s;
}

.captcha-slider-button {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.2s;
    user-select: none;
}

.captcha-slider-button:hover {
    background: #f5f5f5;
}

.captcha-slider-button:active {
    background: #e8e8e8;
}

.captcha-slider-button::after {
    content: '→';
    font-size: 18px;
    color: #666;
}

.captcha-slider-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 40px;
    color: #999;
    font-size: 12px;
    pointer-events: none;
}

.captcha-refresh {
    margin-top: 8px;
    text-align: right;
}

.captcha-refresh-btn {
    background: none;
    border: none;
    color: #1991FA;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
}

.captcha-refresh-btn:hover {
    color: #0d6ecd;
}

.captcha-message {
    margin-top: 8px;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    display: none;
}

.captcha-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.captcha-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.captcha-message.show {
    display: block;
}

/* 검증 완료 상태 */
.captcha-container.verified .captcha-slider-track {
    background: #52c41a;
}

.captcha-container.verified .captcha-slider-button::after {
    content: '✓';
}
