:root { --navy: #081a30; --blue: #2563eb; --teal: #14b8a6; --ink: #17243a; --muted: #728096; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.visitor-login { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; margin: 0; padding: 42px 24px 24px; overflow-x: hidden; color: var(--ink); background: #eef3f8; font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
body.visitor-login:before { content: ""; position: fixed; inset: 0 50% 0 0; background: linear-gradient(145deg, #081a30 0%, #103b61 62%, #0b6b69 130%); }
body.visitor-login:after { content: ""; position: fixed; left: -130px; bottom: -210px; width: 520px; height: 520px; border: 70px solid rgba(255,255,255,.045); border-radius: 50%; }
.login-shell { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; width: min(1040px, 100%); min-height: 620px; margin: auto; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 28px 70px rgba(8, 26, 48, .22); }
.brand-panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 70px 64px; overflow: hidden; color: #fff; background: linear-gradient(145deg, #0a203b 0%, #103b61 62%, #0b6b69 130%); }
.brand-panel:after { content: ""; position: absolute; right: -100px; top: -100px; width: 310px; height: 310px; border: 45px solid rgba(255,255,255,.05); border-radius: 50%; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 15px; color: #99f6e4; background: rgba(255,255,255,.08); font-size: 22px; }
.brand-name { color: #ccfbf1; font-size: 20px; font-weight: 600; letter-spacing: 5px; }
.brand-panel h1 { margin: 46px 0 20px; font-size: 36px; line-height: 1.45; font-weight: 650; letter-spacing: 2px; }
.brand-panel h1 span { color: #5eead4; }
.brand-panel p { max-width: 390px; margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.85; }
.brand-features { display: grid; gap: 13px; margin-top: 38px; color: rgba(255,255,255,.82); font-size: 14px; }
.brand-features i { width: 22px; margin-right: 5px; color: #5eead4; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 64px 72px; background: #fff; }
.login-panel form { width: 100%; max-width: 350px; }
.form-kicker { margin-bottom: 10px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.login-panel h2 { margin: 0; color: #10213a; font-size: 28px; font-weight: 650; }
.form-tip { margin: 10px 0 34px; color: var(--muted); font-size: 14px; }
.field-group { margin-bottom: 21px; }
.field-group label { display: block; margin-bottom: 9px; color: #34445c; font-size: 14px; font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap i { position: absolute; z-index: 2; left: 15px; top: 50%; color: #9aa8bb; transform: translateY(-50%); }
.login-panel .form-control { height: 48px !important; padding: 10px 15px 10px 43px !important; border: 1px solid #dce3ec; border-radius: 10px !important; background: #f9fbfd !important; color: var(--ink); font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.login-panel .form-control:focus { border-color: var(--blue) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(37,99,235,.1) !important; }
.captcha-row { display: grid; grid-template-columns: 1fr 118px; gap: 12px; align-items: end; }
.captcha-field { margin-bottom: 0; }
.captcha-image { display: flex; align-items: center; justify-content: center; height: 48px; margin-bottom: 21px; overflow: hidden; border: 1px solid #dce3ec; border-radius: 10px; background: #f8fafc; }
.captcha-image img { max-width: 100%; height: 40px; object-fit: contain; }
.login-options { display: flex; align-items: center; justify-content: space-between; margin: -3px 0 18px; }
.options-spaced { margin-top: 4px; }
.remember { display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 400; cursor: pointer; }
.remember input { position: absolute; opacity: 0; }
.remember span { display: inline-block; width: 18px; height: 18px; margin-right: 8px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; }
.remember input:checked + span { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px #fff; }
.login-button { width: 100%; height: 50px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(100deg, #2563eb, #0891b2); box-shadow: 0 10px 20px rgba(37,99,235,.2); font-size: 15px; font-weight: 600; letter-spacing: 4px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.login-button i { margin-left: 8px; font-size: 12px; }
.login-button:hover { transform: translateY(-1px); box-shadow: 0 13px 24px rgba(37,99,235,.27); }
.security-note { margin-top: 22px; color: #94a3b8; font-size: 12px; text-align: center; }
.security-note i { margin-right: 5px; }
.login-panel label.error { position: static; display: block; margin-top: 6px; color: #dc2626; font-size: 12px; font-weight: 400; }
body.visitor-login > footer { position: relative; z-index: 1; margin-top: 22px; color: #8390a2; font-size: 12px; text-align: center; }
@media (max-width: 840px) { body.visitor-login:before { right: 0; } .login-shell { grid-template-columns: 1fr; max-width: 520px; } .brand-panel { min-height: 230px; padding: 38px 42px; } .brand-panel h1 { margin: 25px 0 12px; font-size: 27px; } .brand-panel p, .brand-features { display: none; } .login-panel { padding: 48px 42px; } }
@media (max-width: 480px) { body.visitor-login { padding: 18px 14px; } .brand-panel { min-height: 190px; padding: 30px; } .brand-panel h1 { font-size: 23px; } .login-panel { padding: 38px 26px; } .captcha-row { grid-template-columns: 1fr 104px; } }
