/* ==========================================================
   #13 Contact form (Fluent Forms widget, class zw-form).
   Label/input/button colours, typography, borders and spacing are set
   in the Fluent Forms Elementor widget. Only what it cannot do is here:
   custom select chevron, focus ring, error colour, two-column rows on small screens,
   success panel, button arrow chip.
   ========================================================== */
.zw-form .ff-el-form-control { -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s; }
.zw-form select.ff-el-form-control {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b0d14' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px !important;
}
.zw-form .ff-el-form-control:focus { outline: 0; }
.zw-form .ff-el-is-error .ff-el-form-control { border-color: #e5484d !important; }
.zw-form .ff-message-success { border: 0; border-radius: 18px; padding: 34px; background: var(--zw-accent); color: #fff; box-shadow: none; }
.zw-form .ff-message-success h3 { font-size: 2.2rem; font-weight: 430; letter-spacing: -.03em; margin: 0 0 8px; color: #fff; }
.zw-form .ff-message-success p { margin: 0; }
.zw-form .ff-btn-submit { position: relative; overflow: hidden; isolation: isolate; display: inline-flex !important; align-items: center; gap: 10px; transition: color .4s var(--zw-ease), border-color .4s var(--zw-ease) !important; }
.zw-form .ff-btn-submit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--zw-accent); transform: translateY(101%); transition: transform .5s var(--zw-ease); }
.zw-form .ff-btn-submit:hover::before { transform: none; }
.zw-form .ff-btn-submit::after {
	content: ""; width: 22px; height: 22px; border-radius: 5px; flex: none; transition: transform .4s var(--zw-ease);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230b0d14' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 9.5 9.5 2.5M4 2.5h5.5V8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.zw-form .ff-btn-submit:hover::after { transform: rotate(45deg); }
