#contactForm .form ul li.contact-result-row { border: 0; padding: 0; }
#contactForm .resultMsg {
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid;
    border-radius: 5px;
    text-align: left;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
#contactForm .resultMsg[hidden] { display: none; }
#contactForm .resultMsg.error-message { color: #993f3f; background: #fff6f5; border-color: #e6c4c1; }
#contactForm .resultMsg.sent-message { color: #346d4b; background: #f2faf5; border-color: #c4ddcd; }
#contactForm [type="submit"]:disabled { cursor: wait; opacity: .7; }


#contactForm .contact-gender-group { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }

#contactForm .form-required-note { width: 100%; margin: 0 0 8px; font-size: .85em; color: #555; }
#contactForm .captcha-actions { display: inline-flex; align-items: center; gap: 8px; flex: none; }
#contactForm .captcha-audio-play {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 8px; border: 1px solid #888;
    border-radius: 5px; background: #fff; color: #444; cursor: pointer;
}
#contactForm .captcha-audio-play:hover { background: #f0f0f0; }
#contactForm .captcha-audio-play:focus-visible { outline: 3px solid #333; outline-offset: 3px; }
#contactForm .captcha-audio-play:disabled { opacity: .6; cursor: wait; }
#contactForm .captcha-audio[hidden] { display: none; }
#contactForm .captcha-status[data-error="true"] {
    position: static; width: 100% !important; height: auto !important;
    margin: 6px 0 0; overflow: visible; clip: auto; white-space: normal;
    color: #993f3f; font-size: .85em;
}

#contactForm .form ul li textarea[name="message"] {
    height: auto; min-height: calc(4.5em + 12px); line-height: 1.5;
    resize: none; overflow-y: hidden;
}
