/* =====================================================================
   Process Friendly — sign in / reset password (v2.4.2)
   Self-contained: no Bootstrap or old theme needed, no images except the
   two small logos, so the page renders immediately.
   ===================================================================== */
:root { --navy: #011335; --navy-2: #1B2C4D; --gold: #C59347; --gold-deep: #9A7337; --gold-tint: #F8F2E9; --cream: #F2F3F5; --line: #E5E7EA; --muted-ink: #8A8F98; --ink-2: #4A4F58; --red: #D65A42; }
*, *:before, *:after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body.pf-login { margin: 0; min-height: 100vh; background: var(--cream); color: var(--navy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.pf-login a { text-decoration: none; }
.hide { display: none !important; }

.pfl { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }

/* ---------- left: hero picture (as before) ---------- */
.pfl-hero { position: relative; overflow: hidden; background: var(--navy); border-bottom-right-radius: 64px; }
.pfl-hero picture, .pfl-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pfl-hero img.bg { object-fit: cover; display: block; }
.pfl-hero:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,19,53,.05) 30%, rgba(1,19,53,.85) 100%); }
.pfl-hero .cap { position: absolute; left: 44px; right: 44px; bottom: 44px; z-index: 2; color: #fff; }
.pfl-hero .cap img { height: 52px; width: auto; margin-bottom: 18px; display: block; }
.pfl-hero .cap h1 { font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.2; margin: 0 0 10px; color: #fff; letter-spacing: -.01em; }
.pfl-hero .cap p { font-size: 14.5px; color: rgba(255,255,255,.8); margin: 0; max-width: 460px; line-height: 1.55; }
.pfl-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pfl-hero .chips span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; }

/* ---------- right: logo + card ---------- */
.pfl-side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 28px; }
.pfl-brand { text-align: center; margin-bottom: 18px; }
.pfl-brand img { width: 128px; height: auto; display: inline-block; }
body.pf-login .login-container { width: 100%; max-width: 400px; }
body.pf-login .login-box { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 24px;
  box-shadow: 0 1px 2px rgba(1,19,53,.04), 0 24px 48px -28px rgba(1,19,53,.28); }
body.pf-login .login-box:not(.visible) { display: none; }
.pfl-title { text-align: center; font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; font-size: 22px; margin-top: 2px; letter-spacing: -.01em; color: var(--navy); }
.pfl-sub { text-align: center; font-size: 13px; color: var(--muted-ink); margin: 4px 0 24px; }

body.pf-login .form-group { margin-bottom: 14px; }
body.pf-login label.pfl-lbl { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px; }
body.pf-login .input-icon { position: relative; }
body.pf-login .input-icon > .fa { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-ink); font-size: 14px; pointer-events: none; z-index: 1; }
body.pf-login .form-control, body.pf-login #CaptchaInputText {
  display: block; width: 100%; height: 48px; padding: 0 14px 0 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #FAFBFB;
  font: 500 15px/1 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--navy); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none; }
body.pf-login #CaptchaInputText { padding-left: 14px; margin-top: 8px; }
body.pf-login .form-control::placeholder { color: #A9AEB6; }
body.pf-login .form-control:focus, body.pf-login #CaptchaInputText:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(1,19,53,.08); }
body.pf-login .pfl-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; border-radius: 10px; color: var(--muted-ink); font-size: 15px; cursor: pointer; }
body.pf-login .pfl-eye:hover { background: var(--cream); color: var(--navy); }
body.pf-login #Password { padding-right: 48px; }

body.pf-login .tcb { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
body.pf-login .tcb label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; margin: 0; font-weight: 500; }
body.pf-login .tcb input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); }
body.pf-login .tcb a, body.pf-login .login-box a { color: var(--gold-deep); font-weight: 600; font-size: 13px; }
body.pf-login .tcb a:hover, body.pf-login .login-box a:hover { color: var(--navy); }

body.pf-login .btn-login, body.pf-login .login-box .btn-primary {
  width: 100%; height: 50px; margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 13px; cursor: pointer;
  background: var(--navy); color: #fff; font: 800 15px/1 'Manrope', 'Inter', sans-serif; letter-spacing: .01em;
  box-shadow: 0 12px 24px -14px rgba(1,19,53,.7); transition: background .15s, transform .1s, box-shadow .15s; }
body.pf-login .btn-login .fa, body.pf-login .login-box .btn-primary .fa { color: #E2C08A; transition: transform .15s; }
body.pf-login .btn-login:hover, body.pf-login .login-box .btn-primary:hover { background: var(--navy-2); box-shadow: 0 16px 28px -14px rgba(1,19,53,.75); }
body.pf-login .btn-login:hover .fa-arrow-right { transform: translateX(3px); }
body.pf-login .btn-login:active { transform: translateY(1px); }
body.pf-login .btn-login:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(197,147,71,.35); }

/* reset password page: button first, back link under it */
body.pf-login .login-box form .tcb:has(#btnResetLogin) { flex-direction: column; align-items: stretch; }
body.pf-login .tcb:has(#btnResetLogin) .btnShowLogin { order: 2; text-align: center; margin-top: 4px; }
body.pf-login .tcb .clearfix { display: none; }
/* CaptchaMvc output */
body.pf-login .login-box img[id*="Captcha"], body.pf-login .login-box img[src*="Captcha"] { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 6px; }
body.pf-login .login-box .input-icon.right { font-size: 12.5px; color: var(--ink-2); }

.pfl-iso { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--muted-ink); }
.pfl-iso .fa { color: var(--gold-deep); }
.pfl-foot { margin-top: 22px; text-align: center; font-size: 12px; color: var(--muted-ink); line-height: 1.75; }
.pfl-foot a { color: var(--ink-2); font-weight: 600; }
.pfl-foot a:hover { color: var(--navy); }

/* SweetAlert buttons on this page */
body.pf-login .swal2-styled.swal2-confirm { background: var(--navy) !important; border-radius: 10px !important; }

@media (max-width: 900px) {
  .pfl { grid-template-columns: 1fr; }
  .pfl-hero { height: 240px; border-bottom-right-radius: 56px; }
  .pfl-hero .cap { left: 22px; right: 22px; bottom: 20px; }
  .pfl-hero .cap h1 { font-size: 21px; }
  .pfl-hero .cap p, .pfl-hero .chips { display: none; }
  .pfl-hero .cap img { height: 38px; margin-bottom: 10px; }
  .pfl-side { padding: 22px 16px 26px; justify-content: flex-start; }
  .pfl-brand { display: none; }
  body.pf-login .login-box { padding: 24px 20px 20px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
