/* עמוד הכניסה ואיפוס הסיסמה בשפת ezq (1.11.2026): login.php, signin/forgot.php, signin/reset.php, signin/staff.php */
:root {
  --lg-blue: rgb(91, 111, 219);
  --lg-blue-d: rgb(70, 88, 190);
  --lg-ink: #0A262E;
  --lg-muted: #4A5A60;
  --lg-orange: #F26921;
  --lg-orange-d: #D9561A;
  --lg-bg: rgb(217, 223, 242);
  --lg-card: #fff;
  --lg-line: rgba(10, 38, 46, .16);
  --lg-bad: #B42318;
  --lg-bad-bg: #FEF3F2;
  --lg-ok: #067647;
  --lg-ok-bg: #ECFDF3;
  --lg-radius: 20px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  /* the ezq background: the big eazy logo behind the page (ezq/ezq.css body) */
  background: var(--lg-bg) url('../../ezq/assets/img/main-eazy-bg-game.svg') no-repeat 50% 140px; background-size: min(1440px, 170%) auto;
  color: var(--lg-ink);
  font: 400 16px/1.55 Heebo, Arial, sans-serif; direction: rtl;
}
a { color: var(--lg-blue-d); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--lg-orange); outline-offset: 2px; }

.lg-main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 32px 16px; width: 100%; max-width: 1040px; margin: 0 auto; }
.lg-col { flex: 1 1 0; min-width: 0; max-width: 460px; }

/* the card */
.lg-card { background: var(--lg-card); border-radius: var(--lg-radius); box-shadow: 0 10px 30px rgba(40, 55, 120, .12); padding: 34px 32px 28px; }
.lg-logo { display: block; width: 116px; margin: 0 auto 4px; }
.lg-logo img { display: block; width: 100%; height: auto; }
.lg-title { margin: 6px 0 4px; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -.2px; }
.lg-sub { margin: 0 0 22px; text-align: center; color: var(--lg-muted); font-size: 15.5px; }

.lg-field { margin-bottom: 16px; }
.lg-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.lg-input { position: relative; }
.lg-input input {
  width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--lg-line); border-radius: 12px;
  background: #fff; color: var(--lg-ink); font: 500 17px Heebo, Arial, sans-serif; direction: rtl; transition: border-color .15s, box-shadow .15s;
}
.lg-input input::placeholder { color: #8A979C; font-weight: 400; font-size: 15px; }
.lg-input input:focus { outline: none; border-color: var(--lg-blue); box-shadow: 0 0 0 4px rgba(91, 111, 219, .18); }
.lg-input input[aria-invalid="true"] { border-color: var(--lg-bad); }
.lg-input.has-eye input { padding-left: 52px; }
.lg-eye {
  position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: transparent; color: var(--lg-muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lg-eye:hover { background: rgba(91, 111, 219, .1); color: var(--lg-blue-d); }
.lg-eye svg { width: 22px; height: 22px; }
.lg-eye .off { display: none; }
.lg-eye[aria-pressed="true"] .on { display: none; }
.lg-eye[aria-pressed="true"] .off { display: block; }
.lg-hint { margin: 6px 0 0; font-size: 13.5px; color: var(--lg-muted); }
.lg-caps { display: none; margin: 6px 0 0; font-size: 13.5px; color: var(--lg-orange-d); font-weight: 600; }
.lg-caps.on { display: block; }

.lg-alert { margin: 0 0 18px; padding: 11px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.lg-alert.bad { background: var(--lg-bad-bg); color: var(--lg-bad); border: 1px solid rgba(180, 35, 24, .25); }
.lg-alert.ok { background: var(--lg-ok-bg); color: var(--lg-ok); border: 1px solid rgba(6, 118, 71, .25); }
.lg-alert.info { background: #EEF1FC; color: var(--lg-ink); border: 1px solid rgba(91, 111, 219, .25); }

.lg-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 6px; border: 0; border-radius: 999px;
  background: var(--lg-orange); color: #fff; font: 700 17.5px Heebo, Arial, sans-serif; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s;
}
.lg-btn:hover { background: var(--lg-orange-d); }
.lg-btn:active { transform: translateY(1px); }
.lg-btn[aria-disabled="true"] { opacity: .75; cursor: progress; }
.lg-btn.ghost { background: #fff; color: var(--lg-blue-d); border: 1.5px solid rgba(91, 111, 219, .45); }
.lg-btn.ghost:hover { background: #EEF1FC; }
.lg-btn.wa { background: #1FA855; }
.lg-btn.wa:hover { background: #178A45; }
.lg-btn svg { width: 20px; height: 20px; }
.lg-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: lg-spin .8s linear infinite; }
@keyframes lg-spin { to { transform: rotate(360deg); } }

.lg-links { margin: 18px 0 0; text-align: center; font-size: 15px; }
.lg-links a { font-weight: 600; }
.lg-sep { height: 1px; background: var(--lg-line); margin: 22px 0 16px; }
.lg-home { display: block; text-align: center; font-size: 14.5px; color: var(--lg-muted); }
.lg-home a { color: var(--lg-muted); }

/* the message side (the message itself is in login.php) */
.lg-msg {
  position: relative; overflow: hidden; border-radius: var(--lg-radius); padding: 38px 34px 34px; color: #fff; min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(155deg, rgb(110, 128, 230) 0%, var(--lg-blue) 45%, rgb(64, 80, 178) 100%);
  box-shadow: 0 10px 30px rgba(40, 55, 120, .18);
}
.lg-msg::before, .lg-msg::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.lg-msg::before { width: 320px; height: 320px; top: -110px; left: -90px; }
.lg-msg::after { width: 200px; height: 200px; bottom: -80px; left: -60px; background: rgba(242, 105, 33, .28); }
.lg-msg > * { position: relative; }
.lg-tag { align-self: flex-start; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 13.5px; font-weight: 700; letter-spacing: .2px; }
.lg-msg h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.3; font-weight: 800; }
.lg-msg p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.lg-msg .lg-btn { width: auto; align-self: flex-start; padding: 0 26px; height: 48px; font-size: 16.5px; }

.lg-foot { padding: 14px 16px 18px; text-align: center; font-size: 13px; color: var(--lg-muted); }
.lg-foot a { color: var(--lg-muted); text-decoration: none; }
.lg-foot img { height: 13px; vertical-align: middle; margin-inline-start: 4px; }

/* the message editor (messages.php) */
.lg-input textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--lg-line); border-radius: 12px; background: #fff; color: var(--lg-ink);
  font: 500 16px/1.5 Heebo, Arial, sans-serif; direction: rtl; resize: vertical;
}
.lg-input textarea:focus { outline: none; border-color: var(--lg-blue); box-shadow: 0 0 0 4px rgba(91, 111, 219, .18); }
.lg-check { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: #F4F6FD; font-weight: 700; cursor: pointer; }
.lg-check input { width: 20px; height: 20px; accent-color: var(--lg-blue); }
.lg-msg-edit { margin: 0 0 16px; padding: 14px 16px 2px; border: 1px solid var(--lg-line); border-radius: 14px; }
.lg-msg-edit legend { padding: 0 6px; font-weight: 700; color: var(--lg-blue-d); }

/* staff page */
.lg-wide { max-width: 560px; }
.lg-person { margin: 4px 0 18px; padding: 14px 16px; border-radius: 14px; background: #F4F6FD; font-size: 15.5px; line-height: 1.7; }
.lg-person b { font-weight: 700; }
.lg-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lg-row .lg-btn { flex: 1 1 180px; }
.lg-link-box { width: 100%; margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(91, 111, 219, .5); background: #F7F8FE; font: 500 13.5px/1.4 Consolas, monospace; direction: ltr; text-align: left; word-break: break-all; }

/* help.php: the honeypot field, out of sight for people and screen readers */
.lg-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* requests.php: the staff list of help requests */
.lg-xwide { max-width: 680px; }
.lg-center { text-align: center; }
.lg-tabs { margin: 6px 0 16px; }
.lg-req { margin: 0 0 12px; padding: 12px 16px; border: 1px solid var(--lg-line); border-radius: 14px; font-size: 15px; line-height: 1.7; }
.lg-req.done { background: #F7F8FA; color: var(--lg-muted); }
.lg-req-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.lg-req-top b { font-size: 16px; }
.lg-req-meta { font-size: 13.5px; color: var(--lg-muted); }
.lg-req-user { margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: #F4F6FD; font-size: 14.5px; }
.lg-req-user.none { background: var(--lg-bad-bg); color: var(--lg-bad); }
.lg-req-mark { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; font-size: 13.5px; }
.lg-mini { border: 0; border-radius: 999px; padding: 6px 16px; background: #E6E9FB; color: var(--lg-blue-d); font: 700 14px Heebo, Arial, sans-serif; cursor: pointer; }
.lg-mini:hover { background: #D5DAF7; }

@media (max-width: 820px) {
  .lg-main { flex-direction: column; align-items: stretch; padding: 20px 16px 12px; gap: 16px; }
  .lg-col { max-width: 480px; margin: 0 auto; width: 100%; }
  .lg-msg { display: none; }
  .lg-card { padding: 26px 20px 22px; }
  .lg-logo { width: 100px; }
  .lg-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .lg-spin { animation: none; } .lg-btn, .lg-input input { transition: none; } }
