/* form container */ .form-container padding: 2rem 2rem 2rem 2rem;
.gf-field input:focus, .gf-field textarea:focus, .gf-field select:focus border-color: #3b7cbf; box-shadow: 0 0 0 3px rgba(59, 124, 191, 0.2);
<!-- Message textarea --> <div class="gf-field" id="field-msg-wrapper"> <label for="messageContent">Message <span class="required-star">*</span></label> <textarea id="messageContent" name="messageContent" placeholder="Tell us what you need..."></textarea> <div class="error-hint" id="msgError" style="display: none;">Message cannot be empty</div> </div>
<!-- optional extra info --> <hr> <div style="font-size: 0.75rem; color: #5c6f87; text-align: center;"> ⚡ AJAX powered — no page reload, instant server simulation </div> </div> <div class="gf-footer"> ✨ Gravity Forms AJAX demo • asynchronous validation & submission with realistic latency </div> </div>
.gf-button:disabled background: #9eb0a0; cursor: not-allowed; transform: none; box-shadow: none;
.gf-field input, .gf-field textarea, .gf-field select width: 100%; padding: 0.85rem 1rem; font-size: 1rem; font-family: 'Inter', monospace; border: 1.5px solid #e0e7ed; border-radius: 1rem; background: #ffffff; transition: all 0.2s ease; outline: none; color: #11181c;
.gf-header p font-size: 0.9rem; opacity: 0.85; margin-top: 0.4rem; font-weight: 400;
<!-- Inquiry type (select) --> <div class="gf-field"> <label for="inquiryType">Inquiry type</label> <select id="inquiryType" name="inquiryType"> <option value="general">General question</option> <option value="support">Technical support</option> <option value="sales">Sales & partnership</option> <option value="feedback">Feature feedback</option> </select> </div>