.public-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.public-form-captcha {
    flex: 1 0 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #f7f7f7;
    color: #1f1f1f;
}

.public-form-captcha__heading {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.public-form-captcha__row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.public-form-captcha__image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    min-width: 180px;
    height: 40px;
    overflow: hidden;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
}

.public-form-captcha__image {
    display: block;
    width: 180px;
    height: 40px;
    object-fit: contain;
}

.public-form-captcha__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: #fff;
    color: #6b6b6b;
    font-size: 12px;
}

.public-form-captcha[data-state="ready"] .public-form-captcha__loading {
    display: none;
}

.public-form-captcha__refresh {
    padding: 0;
    border: 0;
    border-bottom: 1px dashed currentColor;
    background: transparent;
    color: #4b4b4b;
    font: inherit;
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
}

.public-form-captcha__refresh:disabled {
    opacity: 0.5;
    cursor: wait;
}

.public-form-captcha__label {
    display: block;
    margin: 0;
    color: #4b4b4b;
    font-size: 13px;
    line-height: 1.35;
}

.public-form-captcha__input {
    display: block;
    width: 100%;
    height: 42px;
    margin-top: 7px;
    padding: 8px 12px;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    background: #fff;
    color: #1f1f1f;
    font: inherit;
    font-size: 16px;
    text-transform: uppercase;
}

.public-form-captcha__input:focus {
    border-color: #333;
    outline: 2px solid rgba(0, 0, 0, 0.12);
    outline-offset: 1px;
}

.public-form-captcha__error {
    min-height: 18px;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.35;
}

.public-form-captcha[data-state="error"] {
    border-color: #d92d20;
}

@media (max-width: 480px) {
    .public-form-captcha__row {
        align-items: flex-start;
        flex-direction: column;
    }
}
