/* Vozua Finance Login V17
   Single-source login stylesheet. No legacy login CSS is loaded on the login route. */
:root{
  --vf-navy:#071a33;
  --vf-navy-2:#0b2e6d;
  --vf-link:#1456c0;
  --vf-white:#ffffff;
  --vf-line:#d9e2ec;
  --vf-muted:#607089;
  --vf-soft:#f6f8fb;
}
*{box-sizing:border-box}
html,body{margin:0;min-width:320px;min-height:100%;background:#fff}
body.vf-login-page{
  min-height:100dvh;
  color:var(--vf-navy);
  background:#fff;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit}
button,input{font:inherit}

.vf-login-shell{
  min-height:100dvh;
  width:100%;
  display:grid;
  grid-template-columns:minmax(360px,46%) minmax(440px,54%);
  background:#fff;
}

/* Approved desktop left panel */
.vf-login-showcase{
  position:relative;
  min-width:0;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:clamp(34px,4.4vw,72px);
  overflow:hidden;
  color:#fff;
  background:linear-gradient(145deg,#061a3a 0%,#0b2d67 52%,#071a33 100%);
}
.vf-login-brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:48px;
}
.vf-login-brand img{
  width:46px;
  height:46px;
  flex:0 0 46px;
  padding:7px;
  object-fit:contain;
  border:0;
  border-radius:14px;
  background:#fff;
}
.vf-login-brand span{
  color:#fff;
  font-size:20px;
  line-height:1.2;
  font-weight:650;
  letter-spacing:-.025em;
}
.vf-login-copy{
  width:min(460px,100%);
  margin:auto 0;
  padding:42px 0;
}
.vf-login-eyebrow{
  display:block;
  margin:0 0 24px;
  color:rgba(255,255,255,.78);
  font-size:10px;
  line-height:1.2;
  letter-spacing:.25em;
  font-weight:650;
  text-transform:uppercase;
}
.vf-login-copy h1{
  max-width:440px;
  margin:0;
  color:#fff;
  font-size:clamp(38px,4vw,58px);
  line-height:1.03;
  letter-spacing:-.05em;
  font-weight:650;
}
.vf-login-copy p{
  max-width:390px;
  margin:22px 0 0;
  color:rgba(255,255,255,.78);
  font-size:15px;
  line-height:1.7;
  font-weight:400;
}
.vf-login-showcase-footer{
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.45;
}

/* Approved desktop right panel */
.vf-login-main{
  min-width:0;
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:40px clamp(28px,5vw,88px);
  background:#fff;
}
.vf-login-form{
  width:min(430px,100%);
  margin:0;
}
.vf-login-mobile-brand{display:none}
.vf-secure-label{
  display:block;
  margin:0 0 10px;
  color:#667b9a;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.24em;
  font-weight:700;
  text-transform:uppercase;
}
.vf-login-title{
  margin:0 0 8px;
  color:var(--vf-navy);
  font-family:Georgia,"Times New Roman",serif;
  font-size:48px;
  line-height:1.02;
  letter-spacing:-.035em;
  font-weight:600;
}
.vf-login-subtitle{
  margin:0 0 24px;
  color:var(--vf-muted);
  font-size:15px;
  line-height:1.55;
  font-weight:400;
}
.vf-login-alert{
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid #efcfd5;
  border-radius:10px;
  background:#fff5f6;
  color:#8d3340;
  font-size:13px;
  line-height:1.45;
}
.vf-login-label{
  display:block;
  margin:16px 0 7px;
  color:var(--vf-navy);
  font-size:12px;
  line-height:1.35;
  font-weight:650;
}
.vf-field-wrap{position:relative;width:100%}
.vf-field-icon{
  position:absolute;
  z-index:2;
  left:15px;
  top:50%;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  color:#647895;
  pointer-events:none;
}
.vf-field-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vf-login-input{
  display:block;
  width:100%;
  height:52px;
  min-height:52px;
  padding:0 16px 0 48px;
  border:1px solid var(--vf-line);
  border-radius:10px;
  outline:0;
  background:#fff;
  color:var(--vf-navy);
  box-shadow:none;
  font-size:15px;
  line-height:52px;
  font-weight:400;
  transition:border-color .14s ease,box-shadow .14s ease;
}
.vf-login-input::placeholder{color:#98a4b4}
.vf-login-input:hover{border-color:#c6d2df}
.vf-login-input:focus{border-color:#9caec4;box-shadow:0 0 0 3px rgba(7,26,51,.055)}
.vf-password .vf-login-input{padding-right:76px}
.vf-password-toggle{
  position:absolute;
  z-index:3;
  top:50%;
  right:9px;
  transform:translateY(-50%);
  height:34px;
  min-width:50px;
  padding:0 8px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--vf-link);
  cursor:pointer;
  font-size:12px;
  line-height:34px;
  font-weight:600;
}
.vf-password-toggle:hover{background:#f5f8fc}
.vf-login-submit{
  position:relative;
  width:100%;
  height:52px;
  min-height:52px;
  margin:18px 0 0;
  padding:0 18px;
  border:1px solid var(--vf-navy-2);
  border-radius:10px;
  background:var(--vf-navy-2);
  color:#fff;
  cursor:pointer;
  box-shadow:none;
  font-size:14px;
  line-height:50px;
  font-weight:650;
  text-align:center;
}
.vf-login-submit:hover{filter:brightness(.97)}
.vf-login-submit:active{transform:translateY(1px)}
.vf-login-submit[aria-busy="true"]{color:transparent;pointer-events:none}
.vf-login-submit[aria-busy="true"]::after{
  content:"";
  position:absolute;
  left:50%;top:50%;
  width:18px;height:18px;
  margin:-9px 0 0 -9px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.34);
  border-top-color:#fff;
  animation:vf-btn-spin .5s linear infinite;
}
@keyframes vf-btn-spin{to{transform:rotate(360deg)}}
.vf-forgot{
  display:flex;
  justify-content:flex-end;
  margin:12px 0 0;
}
.vf-forgot a,
.vf-login-secondary a{
  color:var(--vf-link);
  text-decoration:none;
  font-size:12px;
  line-height:1.35;
  font-weight:500;
}
.vf-forgot a:hover,.vf-login-secondary a:hover{text-decoration:underline}
.vf-login-or{
  display:flex;
  align-items:center;
  gap:14px;
  margin:22px 0 0;
  color:#718199;
  font-size:10px;
  font-weight:650;
  letter-spacing:.15em;
}
.vf-login-or::before,.vf-login-or::after{content:"";flex:1;height:1px;background:#dce4ed}
.vf-login-secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:14px 0 0;
  flex-wrap:wrap;
}
.vf-login-secondary i{display:block;width:1px;height:14px;background:#d3dce7}
.vf-login-copyright{
  display:block;
  margin-top:18px;
  text-align:center;
  color:#91a0b2;
  font-size:10px;
  line-height:1.45;
  font-weight:400;
}

/* Loading state: compact and smooth; appears only during an actual transition. */
.vf-login-loader{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(255,255,255,.74);
  backdrop-filter:blur(2px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .1s ease,visibility 0s linear .1s;
}
html.vf-login-loading .vf-login-loader{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .08s ease}
.vf-login-loader-card{
  width:142px;
  min-height:112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:18px 16px;
  border:1px solid #e0e7ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 36px rgba(7,26,51,.08);
  text-align:center;
}
.vf-segment-spinner{
  width:30px;height:30px;
  margin-bottom:12px;
  border-radius:50%;
  background:repeating-conic-gradient(from 0deg,#1a62d0 0deg 12deg,#cbd7e8 12deg 27deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));
  animation:vf-segment-spin .58s linear infinite;
}
@keyframes vf-segment-spin{to{transform:rotate(360deg)}}
.vf-login-loader-card strong{color:var(--vf-navy);font-size:13px;font-weight:600;line-height:1.3}
.vf-login-loader-card small{margin-top:4px;color:#75849a;font-size:10px;line-height:1.3}

/* Important: desktop split starts early enough for normal laptop/browser widths. */
@media (max-width:900px) and (min-width:761px){
  .vf-login-shell{grid-template-columns:minmax(330px,43%) minmax(430px,57%)}
  .vf-login-showcase{padding:34px}
  .vf-login-brand img{width:42px;height:42px;flex-basis:42px}
  .vf-login-brand span{font-size:18px}
  .vf-login-copy h1{font-size:38px}
  .vf-login-copy p{font-size:13px;line-height:1.6}
  .vf-login-main{padding:28px 26px}
  .vf-login-title{font-size:42px}
}

/* Approved mobile: white page, no navy background behind brand, navy brand text. */
@media (max-width:760px){
  body.vf-login-page{background:#fff}
  .vf-login-shell{display:block;min-height:100dvh;background:#fff}
  .vf-login-showcase{display:none}
  .vf-login-main{
    display:block;
    min-height:100dvh;
    padding:max(20px,env(safe-area-inset-top)) 20px max(30px,env(safe-area-inset-bottom));
    background:#fff;
  }
  .vf-login-form{width:min(100%,430px);margin:0 auto}
  .vf-login-mobile-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 28px;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .vf-login-mobile-brand img{
    width:44px;height:44px;flex:0 0 44px;
    padding:6px;
    border:1px solid #e1e8f0;
    border-radius:12px;
    background:#fff;
    object-fit:contain;
    box-shadow:0 2px 8px rgba(7,26,51,.035);
  }
  .vf-login-mobile-brand span{
    color:var(--vf-navy);
    font-size:20px;
    line-height:1.2;
    font-weight:650;
    letter-spacing:-.025em;
  }
  .vf-secure-label{margin-bottom:9px;font-size:9px}
  .vf-login-title{font-size:38px;margin-bottom:6px}
  .vf-login-subtitle{font-size:14px;margin-bottom:22px}
  .vf-login-label{margin-top:15px}
  .vf-login-input{height:50px;min-height:50px;line-height:50px;font-size:16px}
  .vf-login-submit{height:50px;min-height:50px;line-height:48px;margin-top:17px}
  .vf-forgot{margin-top:10px}
  .vf-login-or{margin-top:20px}
  .vf-login-secondary{margin-top:13px}
}
@media (max-width:390px){
  .vf-login-main{padding-left:16px;padding-right:16px}
  .vf-login-mobile-brand{margin-bottom:24px}
  .vf-login-mobile-brand span{font-size:18px}
  .vf-login-title{font-size:35px}
  .vf-login-secondary{gap:10px}
}
@media (max-width:340px){
  .vf-login-secondary{flex-direction:column;gap:8px}
  .vf-login-secondary i{display:none}
}
@media (max-height:700px) and (min-width:761px){
  .vf-login-showcase{padding-top:28px;padding-bottom:28px}
  .vf-login-copy{padding:24px 0}
  .vf-login-copy h1{font-size:36px}
  .vf-login-copy p{margin-top:14px;font-size:12px}
  .vf-login-main{padding-top:22px;padding-bottom:22px}
  .vf-login-title{font-size:40px}
  .vf-login-subtitle{margin-bottom:16px}
  .vf-login-label{margin-top:12px}
  .vf-login-input{height:46px;min-height:46px;line-height:46px}
  .vf-login-submit{height:46px;min-height:46px;line-height:44px;margin-top:15px}
  .vf-login-or{margin-top:16px}
  .vf-login-copyright{margin-top:12px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
  .vf-segment-spinner,.vf-login-submit[aria-busy="true"]::after{animation-duration:1s!important}
}
