/* Trang đăng nhập (tách khỏi login.html để CSP không cần style-src 'unsafe-inline'). */
:root {
  color-scheme: light;
  --font-ui: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: .75rem; --text-sm: .8125rem; --text-md: .875rem; --text-base: 1rem;
  --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-display: 2.5rem;
  --leading-tight: 1.2; --leading-snug: 1.35; --leading-normal: 1.5; --leading-relaxed: 1.65;
  --weight-regular: 400; --weight-medium: 500; --weight-semibold: 600; --weight-bold: 700;
  font-family: var(--font-ui);
}
body { min-height: 100vh; margin: 0; display: grid; place-items: center; background: #f4f7fb; color: #172033; font-family: var(--font-ui); font-size: var(--text-base); line-height: var(--leading-normal); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
main { width: min(100% - 32px, 390px); box-sizing: border-box; padding: 32px; background: #fff; border: 1px solid #dfe6f1; border-radius: 16px; box-shadow: 0 16px 48px rgba(18, 53, 98, .12); }
h1 { margin: 0 0 8px; font-size:var(--text-2xl); font-weight: var(--weight-bold); line-height: var(--leading-tight); } p { margin: 0 0 24px; color: #60708a; line-height: var(--leading-normal); }
label { display: block; margin: 14px 0 6px; font-size:var(--text-md); font-weight: 600; } input { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #b9c6d8; border-radius: 8px; font: inherit; }
input:focus { outline: 3px solid rgba(31, 94, 234, .18); border-color: #1f5eea; } button { width: 100%; margin-top: 22px; padding: 12px; border: 0; border-radius: 8px; background: #1f5eea; color: #fff; cursor: pointer; font: inherit; font-weight: var(--weight-semibold); }
button:disabled { opacity: .65; cursor: wait; } #error { min-height: 21px; margin-top: 14px; color: #b42318; font-size:var(--text-md); }

