/* ---- Overrides for the Contact "Get in Touch" form ---- */

/* Ensure all text fields in the contact form are styled consistently,
   regardless of the input's type attribute. */
#contact-form input,
#contact-form textarea {
    float: left;
    width: 100%;
    background: none;
    margin-bottom: 20px;
    font-size: 12px;
    height: 50px;
    padding-left: 8px;
    color: #fff;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    -webkit-appearance: none;
    text-align: left;
}

#contact-form textarea {
    height: 170px;
    resize: none;
    padding: 6px 10px;
    overflow: auto;
}

/* Keep the Send Message button left-aligned with the fields
   (the theme leaves it inline-block, so body { text-align:center } centers it). */
#contact-form #submit {
    float: left;
    clear: both;
    width: 130px;
    height: 40px;
    text-align: center;
}

/* Neutralize browser autofill styling on the email/name fields so they
   keep the transparent theme look instead of a white/yellow autofill box. */
#contact-form input:-webkit-autofill,
#contact-form input:-webkit-autofill:hover,
#contact-form input:-webkit-autofill:focus,
#contact-form input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    box-shadow: 0 0 0 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #fff;
}

/* reCAPTCHA v3 badge - 테마와 충돌하므로 숨김
   (Google 정책상 숨길 경우 페이지 어딘가에 reCAPTCHA 사용 문구를 표시해야 함) */
.grecaptcha-badge {
    visibility: hidden !important;
}
