/* =====================================================================================
   Sign-in family — every page built on the Log in page.
   Log in ("/", .cv-login-* in 7f5279f.js) is the reference; this sheet makes Sign up, Forgot password, Check your
   inbox, Set a new password, Password updated, Verify your identity (.cv-otp-*) and Email confirmation match it:
     hero  left 50%, #1a3fbf with soft radial light, 30px/500 headline, 14px copy, brand mark
     form  460px column centred in the right half · logo 44px, 28px below · one grey line 15px, 56px below
           label 14px #4b5563, 6px below · field 60px, radius 10, #d2d2d7 border, 20px side padding, 15px text
           primary 49px, radius 12, #2343bf, 20px/600 white · footer line 15px #374151 with a #1f3fbf link, 20px above
   Pages are marked by /js/cv-auth.js (html.cv-auth + data-cv-auth, or html.cv-otp-page for Verify).
   ===================================================================================== */
:root{--cva-blue:#2343bf;--cva-blue-hover:#4865d6;--cva-link:#1f3fbf;--cva-ink:#111827;--cva-text:#4b5563;--cva-foot:#374151;--cva-line:#d2d2d7;
  --cva-font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}

html.cv-auth,html.cv-auth body{background:#fff!important;overflow:hidden!important}
.cv-auth-hero{display:none}
html.cv-auth .cv-auth-hero{position:fixed;top:0;bottom:0;left:0;width:50%;z-index:19;display:flex;flex-direction:column;justify-content:flex-end;padding:48px 52px 40px;color:#fff;overflow:hidden;font-family:var(--cva-font);background:#1a3fbf;
  background-image:radial-gradient(60% 40% at 30% 22%,rgba(110,140,220,.55),transparent 70%),radial-gradient(55% 35% at 28% 62%,rgba(100,128,220,.45),transparent 70%),radial-gradient(50% 30% at 85% 80%,rgba(90,120,215,.35),transparent 70%),linear-gradient(160deg,#1739b8 0%,#1d44c4 55%,#2a52cc 100%)}
.cv-auth-hero h2{font-size:30px;line-height:1.36;font-weight:500;margin:0 0 20px;max-width:560px;letter-spacing:-.01em;color:#fff}
.cv-auth-hero p{font-size:14px;line-height:1.4;margin:0 0 28px;max-width:540px;color:rgba(255,255,255,.88)}
.cv-auth-mark{display:flex;align-items:center;gap:4px}
.cv-auth-mark i{display:block;width:14px;height:22px;border-radius:4px;background:#fdf1c4}
.cv-auth-mark b{display:block;width:17px;height:17px;border-radius:4px;background:#d9d6ff;transform:rotate(45deg);margin-left:3px}

/* ---------- right half ---------- */
html.cv-auth .loginMain.cv-auth-panel{position:fixed!important;top:0;bottom:0;left:50%;right:0;z-index:20;margin:0!important;width:auto!important;max-width:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:48px 24px!important;overflow:auto;background:#fff;font-family:var(--cva-font);color:var(--cva-ink)}
html.cv-auth .cv-auth-box{width:100%!important;max-width:460px!important;margin:auto!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html.cv-auth .cv-auth-box :is(form,.col-md-12,.mt-5,.mb-4,.text-center,.mt-4,.mt-3){padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
html.cv-auth .cv-auth-box :is(.mt-5,.mt-4,.mt-3){margin-top:0!important}
html.cv-auth .cv-auth-box .mb-4{margin-bottom:0!important}
html.cv-auth .cv-auth-box > .text-center:first-child,html.cv-auth .cv-auth-box .text-center:first-child{margin:0!important}
html.cv-auth .cv-auth-box .text-center > a{display:flex!important;justify-content:center;height:auto!important;width:100%}
html.cv-auth .cv-auth-box img.imgStyle{display:block;height:44px!important;width:auto!important;max-width:none;margin:0 auto 28px!important}

/* Title: kept for screen readers, hidden like "Log in to Cybervergent" on Log in */
.cv-sr,html.cv-auth .cv-auth-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* One grey line under the logo (Log in: "Welcome back! Please login to your account") */
html.cv-auth .cv-auth-box .emailText{font-size:15px!important;line-height:1.5!important;color:var(--cva-text)!important;text-align:center!important;margin:0 0 56px!important;font-weight:400!important;font-family:var(--cva-font)}

/* ---------- fields (Log in: label 14px, field 60px, radius 10, #d2d2d7) ---------- */
html.cv-auth .cv-auth-box .form-group{margin:0 0 28px!important}
html.cv-auth .cv-auth-box .el-form-item{margin:0!important}
html.cv-auth .cv-auth-box .input-label{display:block;font-size:14px!important;font-weight:400!important;color:var(--cva-text)!important;margin:0 0 6px!important;line-height:1.3!important;font-family:var(--cva-font)}
html body:not(#a1):not(#a2):not(#a3) .cv-auth-box .el-input__inner{height:60px!important;border:1px solid var(--cva-line)!important;border-radius:10px!important;padding:0 20px!important;font-size:15px!important;color:#1d1d1f!important;background:#fff!important;box-shadow:none!important;font-family:var(--cva-font);transition:border-color .15s,box-shadow .15s}
html body:not(#a1):not(#a2):not(#a3) .cv-auth-box .el-input__inner::placeholder{color:#86868b!important;opacity:1}
html body:not(#a1):not(#a2):not(#a3) .cv-auth-box .el-input__inner:focus{border-color:var(--cva-link)!important;box-shadow:0 0 0 3px rgba(31,63,191,.14)!important}
html body:not(#a1):not(#a2):not(#a3) .cv-auth-box .el-form-item.is-error .el-input__inner{border-color:#dc2626!important}
html.cv-auth .cv-auth-box .el-form-item__error{font-size:13px;padding-top:6px;position:static}
html.cv-auth .cv-auth-box .el-input{position:relative}
html.cv-auth .cv-auth-box .el-input.cv-has-eye .el-input__inner{padding-right:56px!important}
/* Eye button (same as Log in's .cv-login-eye) */
.cv-auth-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:none;padding:6px;cursor:pointer;color:#7c8ce0;line-height:1;border-radius:6px;display:flex}
.cv-auth-eye:hover{color:var(--cva-link)}
.cv-auth-eye:focus-visible{outline:2px solid var(--cva-link);outline-offset:1px}
.cv-auth-eye svg{width:22px;height:22px}

/* ---------- primary button (Log in: 49px, radius 12, 20px/600) ---------- */
html body:not(#a1):not(#a2):not(#a3) .cv-auth-box .el-button,html body:not(#a1):not(#a2):not(#a3) .cv-auth-done .cv-auth-btn{width:100%!important;height:49px!important;border:0!important;border-radius:12px!important;font-size:20px!important;font-weight:600!important;padding:0!important;font-family:var(--cva-font);
  box-shadow:0 2px 8px -2px rgba(0,0,0,.08),inset 0 0 0 1px rgba(255,255,255,.6)!important}
html.cv-auth .cv-auth-box .el-button span{color:#fff!important;font-size:inherit!important;font-weight:inherit!important}
html.cv-auth .cv-auth-box .el-button.is-disabled{opacity:.75}

/* ---------- footer line (Log in: "Don't have an account? Sign up") ---------- */
.cv-auth-foot{margin:20px 0 0;font-size:15px;line-height:1.5;color:var(--cva-foot);text-align:left;font-family:var(--cva-font)}
.cv-auth-foot a,.cv-auth-foot button{color:var(--cva-link)!important;font-weight:500;text-decoration:none!important;background:none;border:0;padding:0;font:inherit;font-weight:500;cursor:pointer}
.cv-auth-foot a:hover,.cv-auth-foot button:hover{text-decoration:underline!important}
html.cv-auth .cv-auth-box .cv-auth-em{color:var(--cva-link);font-weight:500}
/* Sign up: the app puts the link before the button; show it under, as on Log in */
html.cv-auth[data-cv-auth="signup"] .cv-auth-box .d-flex.justify-content-between{display:flex!important;flex-direction:column-reverse!important;align-items:stretch!important;gap:20px;margin:0!important}
html.cv-auth[data-cv-auth="signup"] .cv-auth-box .d-flex.justify-content-between > div{margin:0!important;width:100%}
html.cv-auth[data-cv-auth="signup"] .cv-auth-box .d-flex.justify-content-between a{color:var(--cva-foot)!important;font-size:15px!important;font-weight:400!important;text-decoration:none!important}
html.cv-auth[data-cv-auth="signup"] .cv-auth-box .form-group{margin-bottom:46px!important}
/* Forgot / New password: the app's centred "Back to sign in" is replaced by a .cv-auth-foot line */
html.cv-auth .cv-auth-box a.cv-auth-back{display:none!important}
html.cv-auth:is([data-cv-auth="reset"],[data-cv-auth="new"]) .cv-auth-box .form-group{margin-bottom:46px!important}

/* ---------- password checklist (Set a new password) ---------- */
.cv-auth-rules{list-style:none;margin:-34px 0 40px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;font-size:13px;color:#6b7280;font-family:var(--cva-font)}
.cv-auth-rules li{display:flex;align-items:center;gap:8px}
.cv-auth-rules li::before{content:"";width:16px;height:16px;flex:none;border-radius:50%;border:1.5px solid #c7cbd4;box-sizing:border-box;transition:all .15s}
.cv-auth-rules li.is-ok{color:#047857}
.cv-auth-rules li.is-ok::before{border-color:#059669;background:#059669 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat}

/* ---------- result screens (Check your inbox, Password updated, Email confirmed / expired) ---------- */
html.cv-auth.cv-auth-has-done .loginMain.cv-auth-panel{visibility:hidden!important}
.cv-auth-done{display:none}
html.cv-auth .cv-auth-done{position:fixed;top:0;bottom:0;left:50%;right:0;z-index:21;display:flex;align-items:center;justify-content:center;padding:48px 24px;overflow:auto;background:#fff;font-family:var(--cva-font);color:var(--cva-ink)}
.cv-auth-done-box{width:100%;max-width:460px;text-align:center}
.cv-auth-done-box > img{display:block;height:44px;width:auto;margin:0 auto 40px}
.cv-auth-badge{width:64px;height:64px;margin:0 auto 24px;border-radius:18px;display:grid;place-items:center;background:#eef2fb;color:var(--cva-link);box-shadow:inset 0 0 0 1px rgba(31,63,191,.08)}
.cv-auth-badge svg{width:30px;height:30px}
.cv-auth-badge[data-tone="ok"]{background:#ecfdf5;color:#047857;box-shadow:inset 0 0 0 1px rgba(4,120,87,.1)}
.cv-auth-badge[data-tone="warn"]{background:#fef3f2;color:#b42318;box-shadow:inset 0 0 0 1px rgba(180,35,24,.1)}
.cv-auth-done h1{font-size:30px;line-height:1.36;font-weight:500;margin:0 0 12px;letter-spacing:-.01em;color:var(--cva-ink)}
.cv-auth-done p.cv-auth-lead{font-size:15px;line-height:1.5;color:var(--cva-text);margin:0 0 40px}
.cv-auth-done p.cv-auth-lead b{color:var(--cva-ink);font-weight:600}
html body:not(#a1):not(#a2):not(#a3) .cv-auth-done .cv-auth-btn{display:flex;align-items:center;justify-content:center;background:var(--cva-blue)!important;color:#fff!important;cursor:pointer;text-decoration:none!important;transition:background-color .15s}
html body:not(#a1):not(#a2):not(#a3) .cv-auth-done .cv-auth-btn:hover{background:var(--cva-blue-hover)!important}
.cv-auth-done .cv-auth-foot{text-align:center}
.cv-auth-note{margin:28px 0 0;padding:14px 16px;border-radius:10px;background:#f5f6fa;font-size:13px;line-height:1.5;color:#6b7280;text-align:left}
.cv-auth-spin{width:40px;height:40px;margin:0 auto 24px;border-radius:50%;border:3px solid #e5e9f5;border-top-color:var(--cva-link);animation:cv-auth-spin .9s linear infinite}
@keyframes cv-auth-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.cv-auth-spin{animation-duration:3s}}

/* ---------- Verify your identity (.cv-otp-*): same column, title hidden, one grey line, Log in fields ---------- */
html body:not(#a1):not(#a2) .cv-otp-title{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;margin:-1px!important;padding:0!important}
html body:not(#a1):not(#a2) .cv-otp-brand{margin:0 0 28px!important}
html body:not(#a1):not(#a2) .cv-otp-sub{font-size:15px!important;line-height:1.5!important;color:var(--cva-text)!important;margin:0 0 56px!important;text-align:center}
html body:not(#a1):not(#a2) .cv-otp-digits{gap:12px!important;margin:0 0 46px!important}
html body:not(#a1):not(#a2):not(#a3) .cv-otp-digits input{height:60px!important;border:1px solid var(--cva-line)!important;border-radius:10px!important;font-size:24px!important;font-weight:600!important;color:#1d1d1f!important;background:#fff!important;box-shadow:none!important;text-align:center;font-family:var(--cva-font)}
html body:not(#a1):not(#a2):not(#a3) .cv-otp-digits input:focus{border-color:var(--cva-link)!important;box-shadow:0 0 0 3px rgba(31,63,191,.14)!important;outline:none}
html body:not(#a1):not(#a2):not(#a3) .cv-otp-btn.el-button{height:49px!important;border-radius:12px!important;font-size:20px!important;font-weight:600!important;box-shadow:0 2px 8px -2px rgba(0,0,0,.08),inset 0 0 0 1px rgba(255,255,255,.6)!important}
html body:not(#a1):not(#a2) .cv-otp-foot{display:block!important;margin:20px 0 0!important;text-align:left!important}
html body:not(#a1):not(#a2) .cv-otp-foot > span:empty{display:none}
html body:not(#a1):not(#a2) .cv-otp-logout{background:none!important;border:0!important;padding:0!important;font-size:15px!important;color:var(--cva-foot)!important;font-family:var(--cva-font);cursor:pointer}
html body:not(#a1):not(#a2) .cv-otp-logout .cv-auth-em{color:var(--cva-link);font-weight:500}
html body:not(#a1):not(#a2) .cv-otp-logout:hover .cv-auth-em{text-decoration:underline}
.cv-otp-help{margin:10px 0 0;font-size:15px;color:var(--cva-foot);font-family:var(--cva-font)}
.cv-otp-help a{color:var(--cva-link)!important;font-weight:500;text-decoration:none!important}
.cv-otp-help a:hover{text-decoration:underline!important}

/* ---------- phone & tablet portrait: hero hidden, form full width (Log in does the same) ---------- */
@media (max-width:900px){
  html.cv-auth .cv-auth-hero{display:none}
  html.cv-auth .loginMain.cv-auth-panel,html.cv-auth .cv-auth-done{left:0;padding:56px 20px 40px!important;align-items:flex-start!important}
  html.cv-auth .cv-auth-box img.imgStyle,.cv-auth-done-box > img{margin-bottom:36px!important}
  html.cv-auth .cv-auth-box .emailText,html body:not(#a1):not(#a2) .cv-otp-sub{margin-bottom:40px!important}
  .cv-auth-done h1{font-size:24px}
  html body:not(#a1):not(#a2):not(#a3) .cv-otp-digits input{height:54px!important}
  .cv-auth-rules{grid-template-columns:1fr}
}
@media (max-width:380px){html body:not(#a1):not(#a2) .cv-otp-digits{gap:8px!important}}

/* Hero headline is white on every sign-in page (a global heading colour was turning it dark navy) */
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-login-hero,.cv-otp-hero,.cv-auth-hero) h2{color:#fff!important}
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-login-hero,.cv-otp-hero,.cv-auth-hero) p{color:rgba(255,255,255,.88)!important}
/* Main sign-in buttons: lighter blue on hover, text stays white */
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-otp-btn,.cv-login-btn,.cv-auth-box .el-button).el-button{background:#2343bf!important;background-image:none!important;color:#fff!important;border-color:transparent!important;transition:background-color .15s ease,box-shadow .15s ease}
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-otp-btn,.cv-login-btn,.cv-auth-box .el-button).el-button:focus:not(:hover){background:#2343bf!important}
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-otp-btn,.cv-login-btn,.cv-auth-box .el-button).el-button:hover{background:#4865d6!important;background-image:none!important;color:#fff!important;border-color:transparent!important}
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-otp-btn,.cv-login-btn,.cv-auth-box .el-button).el-button:active{background:#1f3cb0!important}
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-otp-btn,.cv-login-btn,.cv-auth-box .el-button).el-button :is(span,i,svg){color:#fff!important;fill:currentColor}
html body:not(#cvt-a):not(#cvt-b):not(#cvt-c):not(#cvt-d) :is(.cv-otp-btn,.cv-login-btn,.cv-auth-box .el-button,.cv-auth-btn):focus-visible{outline:2px solid #1f3fbf!important;outline-offset:2px!important}
/* Log in's label sits directly on its field */
html body:not(#a1):not(#a2) .cv-auth-box .input-label{margin-bottom:0!important}
/* The heading takes focus so screen readers announce the new screen; no visible ring on it */
.cv-auth-done h1:focus{outline:none}
html body:not(#a1):not(#a2):not(#a3):not(#a4):not(#a5) .cv-auth-done h1:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}
