/* Shared form treatment for public pages and both dashboards. */
:root{--nahl-form-border:#d8e2dc;--nahl-form-focus:#08725e;--nahl-form-muted:#6c7d77;--nahl-form-bg:#fff}
form label:not(.form-check-label){color:#174b43;display:block;font-size:.9rem;font-weight:700;margin-bottom:.45rem}
form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),form select,form textarea{background:var(--nahl-form-bg);border:1px solid var(--nahl-form-border);border-radius:.7rem;box-shadow:0 1px 2px rgba(0,63,58,.02);color:#173f39;display:block;min-height:2.9rem;padding:.65rem .85rem;transition:border-color .18s,box-shadow .18s;width:100%}
form textarea{line-height:1.8;min-height:7rem;resize:vertical}
form input[type="number"],form input[type="email"],form input[type="tel"],form input[type="url"]{direction:ltr;text-align:right}
form input:focus,form select:focus,form textarea:focus{border-color:var(--nahl-form-focus);box-shadow:0 0 0 .22rem rgba(8,114,94,.14);outline:0}
form input::placeholder,form textarea::placeholder{color:#97a49f;opacity:1}
form input[type="checkbox"],form input[type="radio"]{accent-color:var(--nahl-form-focus);height:1.1rem;margin-left:.4rem;vertical-align:-.15rem;width:1.1rem}
form input[type="file"]{background:#f7faf8;border:1px dashed #b8ccc2;border-radius:.7rem;color:var(--nahl-form-muted);display:block;padding:.42rem;width:100%}
form input[type="file"]::file-selector-button{background:#e9f4ee;border:0;border-radius:.45rem;color:#075246;cursor:pointer;font:inherit;font-weight:700;margin-left:.65rem;padding:.45rem .75rem}
form .errorlist{color:#b42318;font-size:.82rem;list-style:none;margin:.35rem 0 0;padding:0}
form .helptext{color:var(--nahl-form-muted);display:block;font-size:.8rem;margin-top:.35rem}
persian-datepicker-element{display:block;min-height:2.9rem;width:100%}
.ts-wrapper{direction:rtl}.ts-wrapper .ts-control{background:var(--nahl-form-bg);border:1px solid var(--nahl-form-border);border-radius:.7rem;box-shadow:0 1px 2px rgba(0,63,58,.02);min-height:2.9rem;padding:.45rem .85rem}.ts-wrapper.focus .ts-control{border-color:var(--nahl-form-focus);box-shadow:0 0 0 .22rem rgba(8,114,94,.14)}.ts-wrapper .ts-dropdown{border-color:var(--nahl-form-border);border-radius:.7rem;box-shadow:0 .6rem 1.4rem rgba(0,63,58,.12);margin-top:.3rem}.ts-wrapper .option{padding:.65rem .85rem}.ts-wrapper .active{background:#e9f4ee;color:#075246}
