/* The panel login page (login.js). */
.lg-page .notice { display: none; }
.lg-page main { padding-bottom: 28px; }
.lg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: stretch; max-width: 1080px; margin: 12px auto 40px; }
.lg-brand { order: -1; position: relative; overflow: hidden; background: #172f4a; color: #fff; border-radius: 28px; padding: 44px 40px; display: flex; flex-direction: column; border-bottom: 5px solid #852b49; }
.lg-brand::before, .lg-brand::after { content: ''; position: absolute; border-radius: 50%; background: #ffffff0d; pointer-events: none; }
.lg-brand::before { width: 340px; height: 340px; left: -120px; top: -110px; }
.lg-brand::after { width: 180px; height: 180px; left: 60px; bottom: -90px; }
.lg-brand > * { position: relative; }
.lg-kicker { font-size: 13px; color: #d9b77c; font-weight: 700; }
.lg-brand h2 { font: 800 38px/1.55 Vazirmatn, sans-serif; color: #fff; margin: 14px 0 12px; }
.lg-brand > p { color: #c9d5e3; font-size: 15px; line-height: 2; margin: 0 0 26px; max-width: 440px; text-wrap: pretty; }
.lg-features small, .lg-help { text-wrap: pretty; }
.lg-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.lg-features li { display: flex; align-items: start; gap: 14px; }
.lg-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: #ffffff14; display: inline-flex; align-items: center; justify-content: center; }
.lg-icon .ui-icon { width: 22px; height: 22px; color: #f1c6d7; }
.lg-features b { display: block; font: 700 17px Vazirmatn, sans-serif; color: #fff; }
.lg-features small { display: block; font-size: 14px; color: #b9c8db; line-height: 1.9; margin-top: 2px; }
.lg-sign { margin: auto 0 0; padding-top: 30px; font-size: 13px; color: #b9c8db; }
.lg-card { margin: 0; padding: 40px 38px 30px; border-radius: 28px; display: flex; flex-direction: column; justify-content: center; }
.lg-card h1 { font: 800 32px/1.5 Vazirmatn, sans-serif; margin: 6px 0 4px; }
.lg-card h1:focus { outline: none; }
.lg-card > .muted { margin: 0 0 18px; font-size: 15px; }
.lg-card form label { display: grid; gap: 7px; margin: 12px 0; font-weight: 700; font-size: 15px; }
.lg-card form input { min-height: 52px; font-size: 17px; }
.lg-card form button[type="submit"] { width: 100%; min-height: 54px; margin-top: 10px; font-size: 17px; }
.lg-pass { position: relative; }
.lg-pass input { width: 100%; padding-left: 54px; }
.lg-eye { position: absolute; left: 5px; top: 50%; transform: translateY(-50%); width: 44px; min-height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #5c6d80; box-shadow: none; border-radius: 10px; border: 0; }
.lg-eye-icon { width: 22px; height: 22px; min-width: 22px; flex-shrink: 0; }
.lg-eye[aria-pressed="true"] { color: #852b49; }
.lg-eye:hover { background: #eef2f6; color: #203e69; }
.lg-eye:focus-visible { outline: 3px solid #b4c5df; outline-offset: 1px; }
.lg-forgot { align-self: flex-start; margin-top: 12px; font-size: 14px; color: #852b49; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.lg-forgot:hover { text-decoration: underline; }
.lg-or { display: flex; align-items: center; gap: 12px; margin: 14px 0 12px; color: #5c6d80; font-size: 14px; }
.lg-or::before, .lg-or::after { content: ''; flex: 1; height: 1px; background: #e1e6ed; }
.lg-card #join { width: 100%; min-height: 52px; font-size: 16px; }
.lg-help { margin: 16px 0 0; font-size: 14px; color: #5c6d80; line-height: 2; }
.lg-help a { color: #203e69; font-weight: 700; }
#loginError:empty { display: none; }
@media (max-width: 860px) {
  .lg { grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
  .lg-brand { order: 0; padding: 30px 24px; border-radius: 22px; }
  .lg-brand h2 { font-size: 28px; }
  .lg-sign { padding-top: 22px; }
  .lg-card { padding: 28px 22px 24px; border-radius: 22px; }
  .lg-card h1 { font-size: 28px; }
}
.lg-pending { margin-top: 4px; color: #203e69; }
/* the password recovery steps (login.js) */
button.lg-forgot { background: none; box-shadow: none; padding: 0; border: 0; font-family: inherit; cursor: pointer; }
button.lg-forgot:disabled { color: #8a96a6; cursor: default; text-decoration: none; }
.lg-back { color: #203e69; }
.lg-card form .lg-rule { margin: 4px 0 0; font-size: 13px; }
.lg-preview { margin: 0 0 8px; padding: 10px 14px; border-radius: 12px; background: #faf0dc; color: #78531b; font-size: 14px; }
