/* agronomy4future login landing — only active when login.js finds the login form (html.lx-on) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap");

html.lx-on, html.lx-on body { background: #000 !important; overflow: hidden !important; }

/* black cover that hides the original page content */
html.lx-on #lx-cover { position: fixed; inset: 0; background: #000; z-index: 2147483000; }

/* centered brand text */
html.lx-on #lx-landing {
  position: fixed; top: 46%; left: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 760px); text-align: center; z-index: 2147483100;
  font-family: "Inter","Noto Sans KR",-apple-system,"Segoe UI",Roboto,sans-serif;
  animation: lxfade 1.1s ease-out both;
}
html.lx-on #lx-landing .b { font-size: clamp(1.7rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: .16em; line-height: 1.15; }
html.lx-on #lx-landing .b a { color: #fff; text-decoration: none; transition: opacity .15s; }
html.lx-on #lx-landing .b a:hover { opacity: .75; }
html.lx-on #lx-landing .t { margin-top: 14px; font-size: clamp(.85rem, 1.7vw, 1.05rem); color: #b4b4b0; letter-spacing: .02em; }
html.lx-on #lx-landing .q { margin: 34px auto 0; padding-top: 18px; width: 220px; border-top: 1px solid #3f3f3f;
  font-size: clamp(.8rem, 1.5vw, .95rem); font-style: italic; color: #7f7f7b; }
@keyframes lxfade { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (max-width: 640px) { html.lx-on #lx-landing { top: 60%; } }

/* small login box, top-right */
html.lx-on .lx-form {
  position: fixed !important; top: 56px; right: 24px; width: 270px; max-width: calc(100vw - 32px);
  z-index: 2147483600; margin: 0 !important; padding: 0 !important; background: transparent !important;
  border: 0 !important; box-shadow: none !important; text-align: left;
  font: 13px/1.45 "Inter","Noto Sans KR",-apple-system,"Segoe UI",Roboto,sans-serif; color: #b4b4b0;
}
html.lx-on .lx-form * { box-sizing: border-box; font-family: inherit; color: #b4b4b0; }
html.lx-on .lx-form .input-group, html.lx-on .lx-form .form-group { display: block; width: 100%; margin: 0; }
html.lx-on .lx-form label { display: block; margin: 10px 0 4px; font-size: 12px; font-weight: 500; }
html.lx-on .lx-form input[type=text], html.lx-on .lx-form input[type=password], html.lx-on .lx-form input:not([type]) {
  display: block; width: 100%; height: 38px; padding: 0 10px; background: #111; border: 1px solid #333;
  border-radius: 4px; color: #e6e6e4; font-size: 14px; outline: none; box-shadow: none;
}
html.lx-on .lx-form input[type=text]:focus, html.lx-on .lx-form input[type=password]:focus { border-color: #529cca; }
html.lx-on .lx-form input[type=checkbox] { width: auto; height: auto; margin: 0 6px 0 0; vertical-align: middle; }
html.lx-on .lx-form input[type=checkbox] + label, html.lx-on .lx-form label:has(input[type=checkbox]) { display: inline; margin: 0; }
html.lx-on .lx-form button, html.lx-on .lx-form input[type=submit] {
  display: inline-block; width: auto; height: 34px; margin-top: 12px; padding: 0 16px; background: #529cca;
  border: 1px solid #529cca; border-radius: 4px; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; text-shadow: none; box-shadow: none;
}
html.lx-on .lx-form button:hover, html.lx-on .lx-form input[type=submit]:hover { opacity: .88; }
html.lx-on .lx-form .lx-title { font-size: 15px; font-weight: 700; color: #e6e6e4; letter-spacing: -.01em; }
html.lx-on .lx-form .lx-err { margin: 8px 0 0; padding: 6px 8px; border: 1px solid #6b2a2a; background: #1d0f0f;
  color: #ff8a8a; border-radius: 4px; font-size: 12px; }
