/* Contact form captcha */
.captcha-group {
    margin-top: 4px;
}

.captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
}

.captcha-row #captcha_image {
    display: block;
    width: 168px;
    height: 56px;
    border-radius: 12px;
    background: #F6F8F3;
    border: 1px solid rgba(27, 42, 44, 0.1);
    object-fit: contain;
}

.captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-height: 56px;
    border-radius: 12px;
    border: 1px solid rgba(27, 42, 44, 0.1);
    background: #FFFFFF;
    color: var(--ink, #1B2A2C);
    cursor: pointer;
    transition: all 0.2s ease;
}

.captcha-refresh:hover,
.captcha-refresh:focus-visible {
    border-color: var(--vermilion, #E2660A);
    color: var(--vermilion, #E2660A);
    outline: none;
}

.captcha-input {
    flex: 1 1 160px;
    min-width: 140px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700 !important;
}

@media (max-width: 576px) {
    .captcha-row #captcha_image {
        width: 148px;
        height: 50px;
    }

    .captcha-refresh {
        width: 50px;
        min-height: 50px;
    }
}
