/* VF 2026-10-27: portal sign-in redesign (Option C · route map). Shared by the client, sales, admin and manufacturer login pages. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@600;700&display=swap');

body.vfc-on{margin:0 !important;padding:0 !important;background:#0B2236 !important;background-image:none !important;min-height:100vh;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif !important;color:#fff}
body.vfc-on *{box-sizing:border-box}

.vfc{position:relative;min-height:100vh;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 440px;grid-template-rows:auto 1fr;column-gap:64px;padding:0 96px 64px 56px}
.vfc-map{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

.vfc-top{grid-column:1 / -1;position:relative;display:flex;align-items:center;justify-content:space-between;height:96px}
.vfc-logo{display:inline-flex;align-items:center;background:#fff;border-radius:12px;padding:8px 14px;max-width:260px}
.vfc-logo img{display:block;max-height:44px;max-width:230px;width:auto;height:auto}
.vfc-switch{display:flex;gap:4px;font-size:14px}
.vfc-switch a{color:#C3D1DD;text-decoration:none;padding:8px 12px;border-radius:8px;min-height:36px;display:inline-flex;align-items:center}
.vfc-switch a:hover{color:#fff;background:rgba(255,255,255,.08)}
.vfc-switch a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.14);font-weight:600}

.vfc-hero{position:relative;align-self:end;display:flex;flex-direction:column;gap:18px;max-width:600px;padding-bottom:8px}
.vfc-kicker{font-size:14px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--vfc-line)}
.vfc-hero h1{margin:0;font-family:"Inter Tight",Inter,sans-serif;font-weight:700;font-size:56px;line-height:1.05;letter-spacing:-1px;color:#fff}
.vfc-hero p{margin:0;font-size:18px;line-height:1.5;color:#C3D1DD;max-width:520px}
.vfc-powered{margin-top:14px;font-size:13px;color:#9FB3C4}
.vfc-powered b{color:#fff;font-weight:600}

.vfc-card{position:relative;align-self:center;background:#fff;color:#14212B;border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.35);padding:36px 40px;display:flex;flex-direction:column;gap:18px}
.vfc-head{display:flex;align-items:center;gap:12px}
.vfc-ic{width:44px;height:44px;flex:none;border-radius:12px;background:var(--vfc-tint);display:flex;align-items:center;justify-content:center}
.vfc-head h2{margin:0;font-family:"Inter Tight",Inter,sans-serif;font-size:26px;font-weight:700;letter-spacing:-.3px;color:#14212B}
.vfc-sub{font-size:14px;color:#4A5764}

.vfc-msg:empty{display:none}
.vfc-msg{margin:0 !important;padding:10px 12px;border-radius:10px;background:#FDECEC;color:#9B1C1C !important;font-size:14px}

.vfc-card form ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.vfc-card form li{margin:0;padding:0;width:auto;float:none;display:flex;flex-direction:column;gap:6px}
.vfc-card label.vfc-lbl{font-size:14px;font-weight:600;color:#26343F}
.vfc-card input[type=text],.vfc-card input[type=password]{width:100% !important;height:48px !important;padding:0 14px !important;margin:0 !important;border:1px solid #C9D3DB !important;border-radius:10px !important;font:inherit !important;font-size:16px !important;color:#14212B !important;background:#fff !important;box-shadow:none !important}
.vfc-card input[type=text]:focus,.vfc-card input[type=password]:focus{outline:none;border-color:var(--vfc-accent) !important;box-shadow:0 0 0 3px var(--vfc-tint) !important}
.vfc-card .error_msg{font-size:13px;color:#B42318;text-align:left !important}
.vfc-card .error_msg:empty{display:none}
.vfc-card li.vfc-row{flex-direction:row;justify-content:space-between;align-items:center;min-height:44px}
.vfc-card li.vfc-row br{display:none}
.vfc-card .remember{display:flex;align-items:center;gap:10px;font-size:15px;color:#26343F;float:none;margin:0}
.vfc-card .remember input{width:18px;height:18px;margin:0;accent-color:var(--vfc-accent)}
.vfc-card a{color:#1F5FAF;font-weight:600;text-decoration:none}
.vfc-card a:hover{color:#0F3E78;text-decoration:underline}
.vfc-card .forgot-pw{float:none;font-size:14px;margin:0}
.vfc-card input[type=submit]{width:100% !important;height:52px !important;margin:0 !important;border:none !important;border-radius:10px !important;background:var(--vfc-accent) !important;color:#fff !important;font:inherit !important;font-size:16px !important;font-weight:600 !important;cursor:pointer;text-transform:none !important;box-shadow:none !important}
.vfc-card input[type=submit]:hover{filter:brightness(1.1)}
.vfc-card input[type=submit]:focus-visible{outline:3px solid #F3AE63;outline-offset:2px}
.vfc-card li.vfc-reg{flex-direction:row;justify-content:center;align-items:center;gap:6px;font-size:15px;color:#4A5764}
.vfc-terms{margin:0;font-size:13px;line-height:1.5;color:#5A6773;text-align:center}
.vfc-terms a{font-weight:500;text-decoration:underline}

@media (max-width:1100px){
  .vfc{grid-template-columns:minmax(0,1fr) 400px;padding:0 40px 48px 40px;column-gap:40px}
  .vfc-hero h1{font-size:44px}
}
@media (max-width:860px){
  .vfc{display:flex;flex-direction:column;gap:28px;padding:0 16px 32px}
  .vfc-top{height:auto;padding-top:16px;flex-wrap:wrap;gap:12px}
  .vfc-card{order:2;padding:28px 22px;align-self:stretch}
  .vfc-hero{order:3;max-width:none}
  .vfc-hero h1{font-size:32px}
  .vfc-hero p{font-size:16px}
}
