/* Estilos base de los formularios de tuenweb_forms. Solo se cargan si la web NO mapea sus
   propias clases (config.php -> 'render' -> 'base_css' => true). */
.tw-form{ display:grid; gap:16px; font:inherit; }
.tw-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.tw-form__field{ display:grid; gap:6px; }
.tw-form__label{ font-weight:600; font-size:.92em; }
.tw-form__optional{ font-weight:400; opacity:.7; }
.tw-form__req{ color:var(--tw-f-required, #c62828); font-weight:700; }
.tw-form__input{ width:100%; padding:11px 13px; border:1px solid #cfd6dd; border-radius:8px; background:#fff; font:inherit; color:inherit; box-sizing:border-box; }
.tw-form__input:focus{ outline:none; border-color:#14639e; box-shadow:0 0 0 3px rgba(20,99,158,.15); }
.tw-form__help{ font-size:.82em; opacity:.75; }
.tw-form__option{ display:flex; gap:8px; align-items:center; margin:4px 0; font-weight:400; }
.tw-form__check{ display:flex; gap:10px; align-items:flex-start; font-size:.92em; cursor:pointer; }
.tw-form__check input{ margin-top:3px; width:18px; height:18px; flex:none; }
.tw-form__pdf{ font-size:.88em; white-space:nowrap; }
.tw-form__legal{ font-size:.78em; opacity:.8; line-height:1.5; }
.tw-form__button{ padding:13px 20px; border:0; border-radius:999px; background:#14639e; color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.tw-form__button:disabled{ opacity:.6; cursor:wait; }
.tw-form__status{ margin:0; font-size:.92em; }
.tw-form__status:empty{ display:none; }
.tw-form__status.is-error, .tw-form__alert{ color:#b3261e; }
.tw-form__status.is-ok{ color:#1e7b3f; }
.tw-form .is-invalid input, .tw-form .is-invalid select, .tw-form .is-invalid textarea, .tw-form .is-invalid.tw-form__check span{ border-color:#b3261e; color:#b3261e; }
.tw-form__success{ padding:18px; border-radius:10px; background:#eaf6ec; color:#1e6b2c; font-weight:600; }
@media (max-width:560px){ .tw-form__row{ grid-template-columns:1fr; } }
