/* Блок CAPTCHA */
.captcha-block {
    background: #1d1d1d;
    border-radius: 16px;
    padding: 18px;
    margin-top: 8px;
    border: 1px solid #333;
    color: white;
}

.captcha-title {
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
}

.canvas-container {
    background: #f3f3f3;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #d5d5d5;
    display: flex;
    justify-content: center;
}

canvas {
    display: block;
    margin: 0 auto;
    background: #f3f3f3;
    border-radius: 12px;
    cursor: pointer;
    max-width: 100%;
}

/* Подсказка */
.order-hint {
    background: #222;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    color: #ff8c42;
    font-weight: 600;
    margin-top: 14px;
}

/* Кнопки CAPTCHA */
.controls {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
}

.btn-primary {
    background: #5146aa;
    color: white;
}

.btn-secondary {
    background: #2b2b2b;
    color: white;
    border: 1px solid #5146aa;
}

.btn-primary:hover {
    background: #6254c9;
}

/* Результаты */
#result {
    margin-top: 14px;
    font-weight: 700;
    min-height: 22px;
}

#ageResult {
    margin-top: 8px;
    font-weight: 600;
    min-height: 22px;
}

#formResult {
    margin-top: 10px;
    font-weight: 600;
    min-height: 22px;
}

.figure-hint {
    font-size: 14px;
    color: #ffb74d;
    margin-top: 8px;
    font-style: italic;
}
.captcha-stats {
    font-size: 14px;
    color: #64ff64;
    margin-top: 10px;
    font-weight: 600;
}
