* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial;
}

:root {
    --bg: #0a0a0f;
    --panel: #111118;
    --border: #2a2a3a;
    --accent: #7c6aff;
    --accent2: #ff6a7c;
    --green: #6affa0;
    --text: #e8e8f0;
    --muted: #555570;
}

body {
    background: var(--bg);
    font-family: Arial;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagina {
    font-family: Arial;
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.captcha_div {
    font-family: Arial;
    position: relative;
    z-index: 10;
    width: 480px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(124, 106, 255, 0.1);
}

.captcha_header {
    padding: 20px 24px 16px;
    font-family: Arial;
}

.header_text h2 {
    font-family: Arial;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.header_text p {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: Arial;
}

.instructies {
    padding: 14px 24px;
    font-family: Arial;
    background: rgba(124, 106, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.label {
    font-family: Arial;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    flex-shrink: 0;
}

#instructie {
    font-family: Arial;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    flex: 1;
}

#instructie span {
    font-family: Arial;
    color: var(--accent);
    font-weight: 700;
}

.counter {
    font-family: Arial;
    font-size: 11px;
    color: var(--muted);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 20px;
}

.canvas_wrap {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: crosshair;
    transition: box-shadow 0.3s;
}

#captchaCanvas {
    display: block;
}

.result_overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 20;
}

.result_overlay.show {
    opacity: 1;
    pointer-events: all;
}

.result_overlay.success {
    background: rgba(6, 20, 12, 0.92);
}

.result_overlay.failure {
    background: rgba(20, 6, 8, 0.92);
}

.result_icon {
    font-size: 44px;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.result_text {
    font-family: Arial;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.result_overlay.success .result_text {
    color: var(--green);
}

.result_overlay.failure .result_text {
    color: var(--accent2);
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.captcha_footer {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#Progress {
    display: flex;
    gap: 5px;
    align-items: center;
    flex: 1;
}

#Progress .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
}

#Progress .dot.filled {
    background: var(--accent);
}

#Progress .dot.wrong {
    background: var(--accent2);
}

#refresh_Btn {
    padding: 10px 14px;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

#refresh_Btn:hover {
    color: var(--text);
    border-color: var(--muted);
}

#verify_Btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent), #a06aff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: Arial;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

#verify_Btn:hover {
    opacity: 0.85;
}

#verify_Btn:active {
    transform: scale(0.97);
}

#verify_Btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hit_flash {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    animation: hitPulse 0.4s ease-out forwards;
}

@keyframes hitPulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.3);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}