.vs-captcha.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.vs-captcha-field {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vs-captcha-widget {
    min-height: 0;
    line-height: 0;
}

.vs-captcha--v2 .vs-captcha-widget {
    min-height: 78px;
}

.vs-captcha-widget > div {
    margin: 0 !important;
}

.vs-captcha-error {
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #991b1b;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    max-width: 304px;
}

.vs-captcha--v3 .vs-captcha-error[hidden] + .vs-captcha-widget,
.vs-captcha--v3 .vs-captcha-widget:empty {
    display: none;
}

form:has(.vs-captcha) .form-footer {
    margin-top: 0;
}
