/* Perspective sign-in in the website theme (UI, 16 Nov 2026; Ben, 15 Nov:
   every Portrait application matches the website). The page was the last
   pale one staff saw: white card on pale blue, system font, navy button.
   This file is loaded by login.html only and changes colour, type and
   spacing. Fields, wording, the form and where it posts are untouched. */
@font-face { font-family: 'Bariol'; src: url('/static/fonts/bariol-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
/* Portrait UI 2 (Ben, 16 Nov 2026: the applications should look like a modern
   large-company product, not merely carry the website colours). Same palette
   and shapes as pos_modern.css: deeper page, borderless card with a soft
   shadow, filled fields, a pill button and an amber focus glow. */
body.login-body {
  background: #071B2C; color: #EEF4F8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.login-body .login-card {
  background: #10293F; border: 0; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 18px 48px rgba(0, 0, 0, 0.35); color: #EEF4F8;
}
body.login-body .login-card h1 { font-family: 'Bariol', 'Inter', sans-serif; font-weight: 700; color: #FFFFFF; letter-spacing: 0; }
body.login-body .login-card .muted { color: #A9BDCF; }
body.login-body .login-card label { color: #D3DEE8; font-weight: 600; }
body.login-body .login-card input[type="email"],
body.login-body .login-card input[type="password"] {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; color: #FFFFFF;
  min-height: 50px; font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
body.login-body .login-card input:focus-visible { outline: 0; border-color: #FFBF00; background: rgba(255, 255, 255, 0.09); box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.22); }
body.login-body .login-card .primary-button {
  background: #FFBF00; border: 0; color: #081527; border-radius: 999px;
  min-height: 52px; font-weight: 700; font-size: 16px;
  transition: background-color .15s ease, transform .15s ease;
}
body.login-body .login-card .primary-button:hover { background: #FFCC33; transform: translateY(-1px); }
body.login-body .login-card .primary-button:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
body.login-body .login-card .alert.error { background: rgba(255, 107, 107, 0.14); border: 0; color: #FF8E8E; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) {
  body.login-body .login-card input, body.login-body .login-card .primary-button { transition: none; }
  body.login-body .login-card .primary-button:hover { transform: none; }
}
