/* Lusuromod contact form (contact-form.php) */
.lm-contact { max-width: 760px; margin: 8px 0 32px; padding: 28px; border: 1px solid #ececec; border-radius: 6px; background: #fff; color: #111; }
.lm-contact *, .lm-contact *:before, .lm-contact *:after { box-sizing: border-box; }
.lm-cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.lm-cf-wide { grid-column: 1 / -1; }
.lm-cf-field { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.lm-cf-field > label { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #111; letter-spacing: .01em; }
.lm-cf-field .req { color: #b3121a; font-weight: 600; }
.lm-cf-field .opt { color: #8d8d8d; font-weight: 400; }
.lm-contact input[type="text"], .lm-contact input[type="email"], .lm-contact select, .lm-contact textarea {
	width: 100%; height: 46px; margin: 0; padding: 0 14px; border: 1px solid #dcdcdc; border-radius: 6px; background: #fff; color: #111;
	font-size: 15px; line-height: 1.4; box-shadow: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.lm-contact textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.lm-contact select { padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat; cursor: pointer; }
.lm-contact input:focus, .lm-contact select:focus, .lm-contact textarea:focus { border-color: #111; outline: none; box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
.lm-contact ::placeholder { color: #a5a5a5; }
.lm-cf-field.has-error input, .lm-cf-field.has-error select, .lm-cf-field.has-error textarea { border-color: #c0392b; }
.lm-cf-error { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: #c0392b; }
.lm-cf-error a { color: #c0392b; font-weight: 600; text-decoration: underline; }
.lm-cf-cap-row { display: flex; align-items: center; gap: 8px; max-width: 420px; }
.lm-cf-cap-row img { display: block; flex: 0 0 auto; width: 150px; height: 47px; border: 1px solid #e5e5e5; border-radius: 6px; background: #f6f6f6; }
.lm-cf-cap-refresh { flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 1px solid #dcdcdc !important; border-radius: 50%; background: #fff !important; color: #333 !important; font-size: 18px; line-height: 1; cursor: pointer; }
.lm-cf-cap-refresh:hover { border-color: #111 !important; }
.lm-contact .lm-cf-cap-row input { flex: 1 1 auto; min-width: 0; height: 47px; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; }
.lm-cf-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13px; line-height: 1.5; color: #3d3d3d; font-weight: 400; cursor: pointer; }
.lm-cf-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #111; }
.lm-cf-check a { color: #111; text-decoration: underline; }
.lm-cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lm-cf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.lm-contact .lm-cf-submit { position: relative; min-width: 200px; height: 48px; padding: 0 28px; border: 0; border-radius: 6px; background: #111; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.lm-contact .lm-cf-submit:hover { background: #333; }
.lm-contact .lm-cf-submit.is-busy { color: transparent; pointer-events: none; }
.lm-contact .lm-cf-submit.is-busy:after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: lmcfspin .7s linear infinite; }
@keyframes lmcfspin { to { transform: rotate(360deg); } }
.lm-cf-note { margin: 0; font-size: 12.5px; color: #8d8d8d; }
.lm-cf-form-error { margin-top: 14px; padding: 12px 14px; border-radius: 6px; background: #fdecea; color: #8a1f12; font-size: 13px; }
.lm-cf-done { padding: 28px 8px; text-align: center; }
.lm-cf-done-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat; }
.lm-cf-done h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; text-transform: none; }
.lm-cf-done p { margin: 0; font-size: 14px; color: #555; }
/* the theme draws an empty bordered box for Contact Form 7's hidden fields */
.wpcf7 fieldset.hidden-fields-container { display: none; margin: 0; padding: 0; border: 0; }
@media (max-width: 767px) {
	.lm-contact { padding: 18px 14px; margin: 4px 0 20px; border-radius: 4px; }
	.lm-cf-grid { grid-template-columns: 1fr; gap: 14px; }
	.lm-contact .lm-cf-submit { width: 100%; }
	.lm-cf-actions { gap: 10px; }
	.lm-cf-note { width: 100%; text-align: center; }
	.lm-cf-cap-row img { width: 130px; height: 41px; }
	.lm-contact .lm-cf-cap-row input { height: 46px; }
}
