﻿* { box-sizing: border-box; }
body { isolation: isolate; margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: #f0f5f1; color: #1a3025; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.login-card { position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 36px; background: #fff; border: 1px solid #dce6df; border-radius: 16px; box-shadow: 0 12px 40px #183d2310; }
.logo { display: block; object-fit: contain; margin-bottom: 12px; }
.brand { margin: 0 0 28px; font-size: 18px; font-weight: 650; color: #267b3b; }
h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.6px; }
.intro { margin: 0 0 28px; color: #58685e; line-height: 1.5; }
label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
input { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #a8b8ad; border-radius: 7px; font: inherit; color: inherit; background: #fff; }
button { width: 100%; margin-top: 26px; min-height: 48px; padding: 12px; border: 0; border-radius: 7px; color: #fff; background: #237d3b; font: inherit; font-weight: 600; cursor: pointer; }
button:hover { background: #195f2c; }
input:focus-visible, button:focus-visible { outline: 3px solid #6faa7d; outline-offset: 3px; }
.error { padding: 12px; background: #fff0ef; border: 1px solid #e3b3af; border-radius: 7px; color: #942b24; line-height: 1.5; }
.footer { margin: 26px 0 0; font-size: 12px; line-height: 1.6; color: #66766b; }
@media (max-width: 480px) { body { padding: 16px; } .login-card { padding: 26px; } }

.background-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; pointer-events: none; z-index: 0; }
a { color: #237d3b; text-underline-offset: 3px; }
a:hover { color: #195f2c; }
a:focus-visible { outline: 3px solid #6faa7d; outline-offset: 3px; }
.auth-link { margin: 20px 0 0; line-height: 1.6; }
.password-help { margin: 8px 0 0; color: #58685e; font-size: 13px; line-height: 1.5; }
.success { padding: 12px; background: #ecf7ee; border: 1px solid #9cc6a6; border-radius: 7px; color: #195f2c; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .background-video { display: none; } }
