/* Self-hosted captcha widget */

.captcha-group {
    margin-bottom: 16px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.captcha-question {
    display: inline-block;
    min-width: 170px;
    padding: 8px 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: #f1f3f5;
    border-radius: 6px;
    color: #212529;
    user-select: none;
}

.captcha-refresh {
    padding: 6px 10px;
    line-height: 1;
    font-size: 18px;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    cursor: pointer;
}

.captcha-refresh:hover {
    background: #e9ecef;
}

/* Hero consultation form: match the pill-shaped inputs above it */
.form-hero .captcha-group {
    margin-top: 4px;
    margin-bottom: 16px;
}

.form-hero .captcha-box {
    margin-bottom: 4px;
}

.form-hero .captcha-question {
    flex: 1;
    min-width: 0;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    border-radius: 30px;
    text-align: left;
}

.form-hero .captcha-refresh {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 16px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.form-hero .captcha-refresh:hover {
    background: #e9ecef;
}

.form-hero .captcha-group .form-control {
    font-size: 12px;
    border: 0;
    border-radius: 30px;
    padding: 12px 20px;
}

.form-hero .captcha-group .form-control:focus {
    outline: none;
    box-shadow: none;
}
