/*
Copyright 2006-2026 FVN Alliance, Inc. Toronto, Canada.
www.FVN-Alliance.com / 647-288-0505 / fax 647-288-0500
(for distribution via FVN network www.fvn-net.org)
Created By: Valery Donchenko
Created On: Sep 30, 2026
Description: Sign-in page styles reusing the public InfoPage landing-page design.
Modifications:
2026-09-30: Match the sign-in card, fields, notices, and header to the public landing page palette.
*/
:root {
  --blue-900: #0a2b71;
  --blue-800: #0d47a1;
  --blue-700: #155be9;
  --blue-600: #1e6bff;
  --blue-100: #eef5ff;
  --text-900: #16233d;
  --text-700: #51617d;
  --text-500: #7687a6;
  --line: #dbe7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 42, 99, 0.12);
  --error: #b3261e;
  --error-bg: #fdecea;
  --error-line: #f5c6c2;
  --container: 1180px;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: Arial, Helvetica, sans-serif; color: var(--text-900); background: #f4f8ff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #f2bf32; outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(219,231,251,.9);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-icon { width: 72px; height: 72px; object-fit: cover; border-radius: 20px; box-shadow: 0 10px 24px rgba(17,54,123,.18); }
.brand-title { font-size: 2.15rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue-600); }
.brand-title span { color: var(--blue-900); }
.brand-subtitle { margin-top: 6px; color: var(--text-500); font-size: 1.05rem; }
.back-link { color: var(--text-700); font-weight: 600; font-size: 1.05rem; }
.back-link:hover { color: var(--blue-700); }
.signin { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 46px 16px; }
.card {
  width: 100%; max-width: 470px; padding: 40px 38px 32px; text-align: center;
  background: var(--white); border: 1px solid rgba(219,231,251,.95);
  border-radius: 24px; box-shadow: var(--shadow);
}
.logo { font-size: 2.15rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue-600); }
.logo span { color: var(--blue-900); }
.sub {
  display: inline-block; margin: 16px 0 26px; padding: 8px 14px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-900);
  font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
form { display: block; text-align: left; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 8px; color: var(--text-700); font-size: .95rem; font-weight: 700; }
input {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--blue-100); color: var(--text-900);
  font-family: inherit; font-size: 1rem; outline: none;
  transition: border-color .2s ease, background .2s ease;
}
input::placeholder { color: var(--text-500); }
input:focus { border-color: var(--blue-700); background: var(--white); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 88px; }
.password-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: auto; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--blue-900);
  font-family: inherit; font-size: .85rem; font-weight: 700;
  cursor: pointer; transition: border-color .2s ease, color .2s ease;
}
.password-toggle:hover { border-color: var(--blue-700); color: var(--blue-700); }
button[type="submit"] {
  width: 100%; min-height: 52px; margin-top: 4px; padding: 0 24px; border: 0;
  border-radius: 16px; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 1.02rem;
  letter-spacing: .02em; color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  box-shadow: 0 12px 30px rgba(21,91,233,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(21,91,233,.28); }
.return-web-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; margin-top: 12px; padding: 0 24px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--white); color: var(--blue-900); font-weight: 700;
  transition: border-color .2s ease, transform .2s ease;
}
.return-web-button:hover { border-color: var(--blue-700); transform: translateY(-1px); }
.error, .notice {
  margin: 0 0 20px; padding: 14px 16px; border-radius: 16px;
  font-size: .96rem; line-height: 1.55; text-align: left;
}
.error { background: var(--error-bg); border: 1px solid var(--error-line); color: var(--error); }
.notice { background: var(--blue-100); border: 1px solid var(--line); color: var(--blue-900); }
.foot { margin-top: 24px; color: var(--text-500); font-size: .875rem; }
.site-footer { flex-shrink: 0; border-top: 1px solid rgba(219,231,251,.95); background: #fff; }
.footer-wrap {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; color: var(--text-700);
}
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--blue-700); }
@media (max-width: 640px) {
  .nav-wrap { min-height: 76px; }
  .brand-icon { width: 58px; height: 58px; border-radius: 16px; }
  .brand-title, .logo { font-size: 1.65rem; }
  .brand-subtitle { font-size: .95rem; }
  .signin { padding: 26px 16px; }
  .card { padding: 28px 20px 24px; border-radius: 20px; }
  .footer-wrap, .footer-links { flex-direction: column; align-items: flex-start; }
  .footer-wrap { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
