/* Form Formidable — tách khỏi heza-gov.css (PLAN-20261011-51 D9: chỉ nạp khi cần) */
/* ==========================================================================
   Form liên hệ (Formidable) — chỉ CSS; captcha do PROD cấp (PLAN-20261011-51)
   ========================================================================== */
.wp-block-post-content .frm_forms { max-width: 880px; padding: clamp(18px, 3vw, 28px); border: 1px solid #e2e8f0; border-radius: var(--heza-radius, 6px); background: #fff; }
.wp-block-post-content .frm_forms fieldset { margin: 0; padding: 0; border: 0; }
.wp-block-post-content .frm_screen_reader { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.wp-block-post-content .frm_fields_container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 20px; }
.wp-block-post-content .frm_form_field { grid-column: span 12; margin: 0; }
.wp-block-post-content .frm_form_field.frm6 { grid-column: span 6; }
.wp-block-post-content .frm_primary_label { display: block; margin: 0 0 6px; color: var(--heza-c-navy, #0f3a66); font-size: 15px; font-weight: 600; }
.wp-block-post-content .frm_required { color: var(--heza-c-cta, #d0322f); }
.wp-block-post-content .frm_forms input[type="text"], .wp-block-post-content .frm_forms input[type="tel"], .wp-block-post-content .frm_forms input[type="email"], .wp-block-post-content .frm_forms input[type="number"], .wp-block-post-content .frm_forms select, .wp-block-post-content .frm_forms textarea { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #94a3b8; border-radius: var(--heza-radius, 6px); background: #fff; color: #0f172a; font: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.wp-block-post-content .frm_forms textarea { min-height: 140px; resize: vertical; }
.wp-block-post-content .frm_forms input:focus, .wp-block-post-content .frm_forms select:focus, .wp-block-post-content .frm_forms textarea:focus { border-color: var(--heza-c-blue, #0071bd); outline: 0; box-shadow: 0 0 0 3px rgba(0, 113, 189, .2); }
.wp-block-post-content .frm_forms [aria-invalid="true"] { border-color: var(--heza-c-cta, #d0322f); }
.wp-block-post-content .frm_error, .wp-block-post-content .frm_error_style { margin-top: 6px; color: #b42318; font-size: 14px; }
.wp-block-post-content .frm_opt_container { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.wp-block-post-content .frm_radio label, .wp-block-post-content .frm_checkbox label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid #cbd5e1; border-radius: var(--heza-radius, 6px); background: #f8fafc; color: #1e293b; font-size: 15px; cursor: pointer; }
.wp-block-post-content .frm_radio label:has(input:checked), .wp-block-post-content .frm_checkbox label:has(input:checked) { border-color: var(--heza-c-blue, #0071bd); background: #eaf4fb; color: var(--heza-c-navy, #0f3a66); }
.wp-block-post-content .frm_radio input, .wp-block-post-content .frm_checkbox input { accent-color: var(--heza-c-blue, #0071bd); margin: 0; }
.wp-block-post-content .frm_submit { margin-top: 20px; }
.wp-block-post-content .frm_forms .frm_button_submit, .wp-block-post-content .frm_forms button[type="submit"], .wp-block-post-content .frm_forms input[type="submit"] { min-height: 44px; padding: 10px 26px; border: 0; border-radius: var(--heza-radius, 6px); background: var(--heza-c-cta, #d0322f); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap; transition: background-color .2s ease; }
.wp-block-post-content .frm_forms .frm_button_submit:hover, .wp-block-post-content .frm_forms button[type="submit"]:hover { background: #b0241f; }
.wp-block-post-content .frm_forms .frm_button_submit:active { transform: translateY(1px); }
.wp-block-post-content .frm_message { padding: 14px 16px; border-left: 4px solid #16a34a; border-radius: var(--heza-radius, 6px); background: #f0fdf4; color: #14532d; }
.wp-block-post-content .frm_forms .g-recaptcha, .wp-block-post-content .frm_forms .frm-g-recaptcha { margin-top: 4px; }
@media (max-width: 640px) { .wp-block-post-content .frm_form_field.frm6 { grid-column: span 12; } }
