.panel-human-check {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.panel-human-check__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    max-width: 320px;
}

.panel-human-check__label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: default;
    user-select: none;
    margin: 0;
}

.panel-human-check__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.panel-human-check__checkmark {
    width: 26px;
    height: 26px;
    border: 2px solid #c4c4c4;
    border-radius: 3px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.panel-human-check__checkbox:not(:disabled) + .panel-human-check__checkmark {
    cursor: pointer;
    border-color: #9ca3af;
}

.panel-human-check__checkbox:checked + .panel-human-check__checkmark {
    border-color: #22c55e;
    background: #22c55e;
}

.panel-human-check__checkbox:checked + .panel-human-check__checkmark::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.panel-human-check.is-ready .panel-human-check__label {
    cursor: pointer;
}

.panel-human-check.is-analyzing .panel-human-check__checkmark {
    border-color: #3b82f6;
    animation: panel-hc-pulse 1s ease-in-out infinite;
}

.panel-human-check.is-verified .panel-human-check__box {
    border-color: #86efac;
    background: #f0fdf4;
}

.panel-human-check__text {
    color: #111827;
    font-size: 14px;
    font-weight: 500;
}

.panel-human-check__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #6b7280;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    min-width: 56px;
}

.panel-human-check__brand i {
    font-size: 18px;
    color: #6366f1;
}

.panel-human-check__status {
    margin: 6px 0 0;
    font-size: 12px;
    color: #94a3b8;
    min-height: 1.2em;
}

.panel-human-check.is-verified .panel-human-check__status {
    color: #4ade80;
}

@keyframes panel-hc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@media (prefers-color-scheme: dark) {
    .panel-human-check__box {
        background: rgba(15, 23, 42, 0.85);
        border-color: #475569;
    }
    .panel-human-check__text {
        color: #e2e8f0;
    }
    .panel-human-check__checkmark {
        background: #0f172a;
        border-color: #64748b;
    }
    .panel-human-check.is-verified .panel-human-check__box {
        background: rgba(20, 83, 45, 0.25);
        border-color: #22c55e;
    }
}
