/* Author: Shinkyu Rhee (Main developer) */
/* Login CAPTCHA parity styles for register/contact */

.simple-captcha {
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.08);
    max-width: 760px;
    margin: 0 auto;
    font-size: 13px;
}

.simple-captcha .captcha-instruction {
    text-align: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.simple-captcha .captcha-container {
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: 320px;
    margin: 0 auto;
}

.simple-captcha .captcha-bg-container {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    transition: box-shadow 0.3s ease;
}

.simple-captcha .captcha-bg-container:hover {
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.simple-captcha .captcha-bg {
    width: 100%;
    height: 100%;
    display: block;
    user-select: none;
    pointer-events: none;
}

.simple-captcha .slider-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    cursor: grab;
    transition: transform 0.2s;
    z-index: 10;
}

.simple-captcha .slider-container:hover {
    transform: scale(1.1);
}

.simple-captcha .slider-container.active {
    cursor: grabbing;
}

.simple-captcha .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.simple-captcha .progress-bar {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e0e0e0, #f0f0f0);
    border-radius: 6px;
    margin-top: 0;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.simple-captcha .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    width: 0%;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.45);
    border-radius: 6px;
}

.simple-captcha .captcha-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}

.simple-captcha .captcha-verify-btn,
.simple-captcha .captcha-refresh-btn {
    padding: 8px 12px;
    border: 1px solid #c8d6f5;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.simple-captcha .captcha-status {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #475569;
    font-size: 14px;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
