/*
 * Standalone form styles. The Mobile 2026 theme already carries these,
 * so this file mainly matters on other themes.
 */
.m26-form{--m26-red:#dc1c29;--m26-dark:#181c1d;--m26-line:#e6e6e6;--m26-text-soft:#6a6d70;--m26-radius:18px}
.m26-form{display:flex;flex-direction:column;gap:14px;background:#fff;border-radius:var(--m26-radius);padding:20px;box-shadow:0 10px 30px rgba(0,0,0,.06);box-sizing:border-box}
.m26-form *,.m26-form *::before,.m26-form *::after{box-sizing:border-box}
.m26-form--bare{box-shadow:none;padding:0;background:transparent}
.m26-form__row{display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:640px){.m26-form__row--2{grid-template-columns:1fr 1fr}}
.m26-form__field{display:flex;flex-direction:column;min-width:0}
.m26-form__field label{display:block;font-size:13.5px;font-weight:700;color:var(--m26-dark);margin-bottom:7px}
.m26-form__field .req{color:var(--m26-red);margin-left:2px}
.m26-form input[type=text],.m26-form input[type=email],.m26-form input[type=tel],.m26-form input[type=number],.m26-form select,.m26-form textarea{
  width:100%;font-family:inherit;font-size:16px;color:var(--m26-dark);background:#fff;border:1.5px solid var(--m26-line);border-radius:12px;padding:13px 15px;line-height:1.4}
.m26-form input:focus,.m26-form select:focus,.m26-form textarea:focus{border-color:var(--m26-red);box-shadow:0 0 0 3px rgba(220,28,41,.12);outline:none}
.m26-form textarea{min-height:120px;resize:vertical}
.m26-form__hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.m26-form__consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.6;color:var(--m26-text-soft)}
.m26-form__consent input{width:18px;height:18px;flex:0 0 auto;margin-top:2px;accent-color:var(--m26-red)}
.m26-form__consent label{font-weight:500;font-size:13px;margin:0;color:inherit}
.m26-form__msg{border-radius:12px;padding:14px 16px;font-size:14.5px;font-weight:600;line-height:1.6;display:none}
.m26-form__msg.is-visible{display:block}
.m26-form__msg--ok{background:#e8f6ec;color:#17692f;border:1px solid #bfe4c9}
.m26-form__msg--err{background:#fdecec;color:#a51520;border:1px solid #f5c3c6}
.m26-form__err{font-size:12.5px;color:var(--m26-red);margin-top:5px;font-weight:600;display:block}
.m26-form .has-error{border-color:var(--m26-red)}
.m26-form button[type=submit]{display:flex;width:100%;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:16px 26px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;border:0;font-family:inherit;background:var(--m26-red);color:#fff}
.m26-form button[type=submit]:hover{filter:brightness(.9)}
.m26-form button[type=submit][disabled]{opacity:.65;cursor:progress}
