:root { --ink: #17201b; --muted: #66736b; --line: #d9e3dd; --accent: #2f7b66; --accent-dark: #225d4e; --wash: #f5f8f6; }
* { box-sizing: border-box; }
body { margin: 0; background-color: var(--wash); background-image: url("/media/login-background.jpg"); background-position: center; background-repeat: no-repeat; background-size: cover; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.login-page { min-height: 100vh; padding: 18px; }
.login-trigger { box-shadow: 0 8px 26px rgba(10, 31, 24, 0.3); min-width: 112px; position: fixed; right: 24px; top: 24px; z-index: 2; }
.login-overlay { align-items: center; background: rgba(5, 18, 14, 0.34); display: grid; inset: 0; padding: 18px; position: fixed; z-index: 10; }
.login-overlay[hidden] { display: none; }
.login-card { background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.68); border-radius: 12px; box-shadow: 0 18px 48px rgba(10, 31, 24, 0.28); margin: 0 auto; max-width: 420px; padding: 28px; position: relative; width: 100%; }
.login-close { align-items: center; background: rgba(23, 32, 27, 0.08); border-radius: 50%; color: var(--ink); display: flex; font-size: 25px; font-weight: 400; height: 36px; justify-content: center; min-height: 36px; padding: 0; position: absolute; right: 14px; top: 14px; width: 36px; }
.login-close:hover { background: rgba(23, 32, 27, 0.16); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; margin: 0 0 6px; text-transform: uppercase; }
h1 { font-size: 34px; margin: 0 0 22px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; }
label span { color: var(--muted); font-size: 13px; font-weight: 750; }
input { background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(170, 190, 180, 0.86); border-radius: 6px; font: inherit; min-height: 44px; padding: 10px 12px; }
button { background: var(--accent); border: 0; border-radius: 6px; color: #ffffff; cursor: pointer; font: inherit; font-weight: 800; min-height: 44px; }
button:hover { background: var(--accent-dark); }
.login-error { color: #9b1c1c; font-size: 13px; min-height: 18px; margin: 0; }
.lang-switcher-row { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.lang-switcher { background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(170, 190, 180, 0.86); border-radius: 6px; font: inherit; font-size: 12px; min-height: 32px; padding: 4px 8px; }
[dir="rtl"] .login-page { direction: rtl; }
@media (max-width: 580px) {
  .login-trigger { right: 14px; top: 14px; }
  .login-card { padding: 26px 20px 20px; }
}
