/* Victory sign-in pages (admin/login.php, my/login.php) in the Victory Enterprise
   Design System v1 (owner, 2 Oct 2026): the executive navy of the sidebar / hero,
   Plus Jakarta Sans, 24px hero card, 42px inputs, the primary gradient button.
   Linked after each page's own <style>; scoped by body.vs-login. Presentation only. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}

body.vs-login {
  min-height: 100vh; margin: 0; color: #0a1222;
  font-family: 'Plus Jakarta Sans', 'Calibri', 'Segoe UI Variable', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 130% at 100% 0, rgba(113, 140, 255, .28), transparent 55%),
    linear-gradient(130deg, #07111f, #0e1c32 58%, #142540) !important;
  background-attachment: fixed !important;
}
html:has(body.vs-login) { background: #07111f; }

/* Wide screens: brand panel left, sign-in right. Phones: the card alone. */
body.vs-login main { gap: 4rem; }
.vs-login-intro { display: none; color: #e8eefa; }
@media (min-width: 992px) {
  body.vs-login main { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, 25rem); max-width: 1040px; }
  .vs-login-intro { display: block; }
  body.vs-login main > div.w-100 { justify-self: end; }
}
.vs-login-intro .vs-plate { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 20px; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.vs-login-intro .vs-plate img { height: 56px; width: auto; display: block; }
.vs-login-intro h2 { font-size: 34px; font-weight: 800; line-height: 1.08; letter-spacing: -.045em; margin: 1.6rem 0 0; color: #fff; }
.vs-login-intro h2 span { color: #9db2ff; }
.vs-login-intro p { color: #b6c3d8; font-size: 13px; line-height: 1.8; margin: 1rem 0 0; max-width: 30rem; }
.vs-login-intro ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.vs-login-intro li { display: inline-flex; gap: 6px; align-items: center; border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .07); padding: 7px 9px; border-radius: 9px; font-size: 10px; color: #dbe5f5; font-weight: 700; }
.vs-login-intro li b { flex: 0 0 auto; color: #9db2ff; font-size: 11px; }
/* On wide screens the panel shows the logo, so the column above the card drops its own. */
@media (min-width: 992px) { body.vs-login main > div.w-100 > .text-center:first-child .ct-logo { display: none; } }

/* Header above the card, on navy. */
body.vs-login main > div.w-100 > .text-center:first-child h1 { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
body.vs-login main > div.w-100 > .text-center:first-child p,
body.vs-login main > div.w-100 > p { color: #c7d2e8 !important; }
body.vs-login main > div.w-100 > p a, body.vs-login .ct-on-navy a { color: #9cc3ff; font-weight: 600; text-decoration: none; }
body.vs-login main > div.w-100 > p a:hover, body.vs-login .ct-on-navy a:hover { text-decoration: underline; }
body.vs-login .ct-logo { height: 46px; width: auto; box-sizing: content-box; background: #fff; padding: 6px 10px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .26); }

/* The card. */
body.vs-login .card { position: relative; overflow: hidden; border: 1px solid #e5eaf1 !important; border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(0, 0, 0, .36) !important; }
body.vs-login .card-body { padding: 28px 26px !important; }
body.vs-login .form-label { display: block; color: #0c1323; font-weight: 800; font-size: 11px; margin-bottom: 6px; }
body.vs-login .form-control { min-height: 44px; border: 1px solid #cbd5e1; border-radius: 10px; color: #172033; font-size: 16px; padding: 9px 12px; }
body.vs-login .form-control:focus { border-color: #2b55d4; box-shadow: 0 0 0 3px rgba(43, 85, 212, .10); }
body.vs-login .form-text, body.vs-login .card .text-body-secondary { color: #616d81 !important; font-size: 11px; }
body.vs-login .btn-primary {
  min-height: 44px; border: 0; border-radius: 10px; font-weight: 750; font-size: 13px;
  background: linear-gradient(135deg, #2b55d4, #2447bf) !important; color: #fff !important;
  box-shadow: 0 7px 18px rgba(43, 85, 212, .2); transition: transform 160ms cubic-bezier(.22,.8,.36,1);
}
body.vs-login .btn-primary:hover { transform: translateY(-1px); }
body.vs-login .btn-primary:focus-visible { outline: 3px solid #9db2ff; outline-offset: 3px; }

/* Messages above the card stay light boxes with dark text, so they read on navy. */
body.vs-login .alert { border-radius: 12px; padding: 13px 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); font-size: 12px; color: #172033; }
body.vs-login .alert-info { background: #eef6ff; border: 1px solid #d8e8fb; }
body.vs-login .alert-info .alert-link { color: #2b55d4; }
body.vs-login .alert-success { background: #e9f7f2; border: 1px solid #cfeadd; color: #0b5e47; }
body.vs-login .alert-danger { background: #fff0f1; border: 1px solid #f2ced2; color: #9b2a36; }
body.vs-login .alert-warning { background: #fff5e8; border: 1px solid #f2dfbf; color: #7a4a0c; }

@media (prefers-reduced-motion: reduce) { body.vs-login .btn-primary { transition: none; } body.vs-login .btn-primary:hover { transform: none; } }
