/* panel-login.css — the sign-in pages of the panel (Views/Authentication/PersonnelLogin and AdminLogin). */
@font-face { font-family: "IRANSans"; src: url("/assets/fonts/iransans/woff/IRANSansWeb.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("/assets/fonts/iransans/woff/IRANSansWeb_Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 14px/1.8 "IRANSans", Tahoma, sans-serif; color: #111827; direction: rtl; -webkit-font-smoothing: antialiased;
  background: radial-gradient(900px 500px at 85% -10%, #dbeafe 0%, transparent 60%), radial-gradient(700px 420px at 0% 110%, #d1fae5 0%, transparent 55%), #f5f7fb; }
.pl-wrap { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px; }
.pl-card { width: min(420px, 100%); background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; box-shadow: 0 20px 50px rgba(15, 23, 42, .09); padding: 28px 28px 24px; }
.pl-logo { display: block; width: 116px; height: 116px; object-fit: contain; margin: -6px auto 2px; }
.pl-card h1 { margin: 0; text-align: center; font-size: 19px; font-weight: 700; }
.pl-sub { margin: 4px 0 20px; text-align: center; color: #6b7280; font-size: 13px; }
.pl-f { margin-bottom: 14px; }
.pl-f label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: #374151; }
.pl-in { position: relative; }
.pl-in input { width: 100%; height: 46px; border: 1px solid #d1d5db; border-radius: 12px; padding: 0 14px; font: inherit; background: #fff; outline: none; text-align: right; direction: ltr; transition: border-color .15s, box-shadow .15s; }
.pl-in input::placeholder { direction: rtl; color: #9ca3af; }
.pl-in input:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.pl-eye { position: absolute; top: 50%; left: 8px; transform: translateY(-50%); border: 0; background: none; color: #6b7280; font: inherit; font-size: 12.5px; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.pl-eye:hover { background: #f3f4f6; color: #111827; }
.pl-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 12px; padding: 9px 12px; margin-bottom: 14px; font-size: 13px; }
.pl-btn { width: 100%; height: 48px; border: 0; border-radius: 12px; background: #2563eb; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s, transform .05s; margin-top: 4px; }
.pl-btn:hover { background: #1d4ed8; }
.pl-btn:active { transform: translateY(1px); }
.pl-btn:disabled { opacity: .7; cursor: default; }
.pl-alt { text-align: center; margin-top: 14px; font-size: 13px; }
.pl-alt a { color: #2563eb; text-decoration: none; }
.pl-foot { margin-top: 18px; color: #6b7280; font-size: 12.5px; text-align: center; }
:where(button, a, input):focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
@media (max-width: 420px) { .pl-card { padding: 22px 18px 20px; border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
