.simple-captcha-container {
    margin-top: 1rem;
}

[data-simple-captcha] .simple-captcha-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border: 2px solid var(--accent-blue-light, #a5e9f7);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-simple-captcha] input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--accent-blue, #7fccde);
}

.simple-captcha-label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: var(--text-color, #4a4a4a);
    cursor: pointer;
}

.simple-captcha-title {
    font-size: 0.95rem;
}

.simple-captcha-status {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
}

.simple-captcha-spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent-blue, #7fccde);
    animation: simpleCaptchaSpin 1.2s linear infinite;
    position: relative;
}

[data-simple-captcha].has-interaction .simple-captcha-box {
    border-color: var(--accent-blue, #7fccde);
}

[data-simple-captcha].is-verified .simple-captcha-box {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

[data-simple-captcha].is-verified .simple-captcha-status {
    color: #2e7d32;
    font-weight: 600;
}

[data-simple-captcha].is-verified .simple-captcha-spinner {
    border-color: #2e7d32;
    border-top-color: #2e7d32;
    animation: none;
}

[data-simple-captcha].is-verified .simple-captcha-spinner::after {
    content: '✓';
    color: #2e7d32;
    font-size: 0.95rem;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

@keyframes simpleCaptchaSpin {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    [data-simple-captcha] .simple-captcha-box {
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .simple-captcha-label {
        flex: 1;
    }

    .simple-captcha-spinner {
        order: -1;
    }
}
