/* Legacy leftovers. Layout, fields, tables, lists, signature, lookup and print shell live in app.css (P9b-3b). */
input[dir=ltr] { text-align: left; }
.errorlist { list-style: none; margin: var(--s1) 0 0; padding: 0; color: var(--err); font-size: var(--fs-sm); }
.error-text { color: var(--err); font-size: var(--fs-sm); }
.table-wrap { overflow-x: auto; }
/* jalali datepicker */
.jdp-popup { position: absolute; z-index: 1000; width: 264px; background: #fff; border: 1px solid #b9c0c9; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 8px; font-size: 14px; }
.jdp-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 6px; }
.jdp-head button { border: 0; background: #e4e8ee; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 18px; line-height: 1; }
.jdp-title { display: flex; gap: 4px; }
.jdp-title select { font: inherit; padding: 2px 4px; border: 1px solid #b9c0c9; border-radius: 6px; }
.jdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.jdp-wd { color: #6b7684; font-size: 12px; padding: 2px 0; }
.jdp-day { border: 0; background: none; border-radius: 6px; height: 30px; cursor: pointer; font: inherit; }
.jdp-day:hover { background: #e8f1fb; }
.jdp-day.today { outline: 1px solid #1f3a5f; }
.jdp-day.fri { color: #b3261e; }
.jdp-day.sel { background: #1f3a5f; color: #fff; }
.jdp-foot { display: flex; justify-content: space-between; margin-top: 6px; }
.jdp-foot button { border: 0; background: none; color: #1f3a5f; cursor: pointer; font: inherit; }
