/* 产地直采智能调度平台 · 认证页独立样式 */
:root {
    --ink: #12241B;
    --leaf: #1D5C3F;
    --leaf-soft: #E7EFE3;
    --lime: #C6E05B;
    --lime-soft: #EDF4C8;
    --clay: #B9683B;
    --red: #B24A3C;
    --red-soft: #F8E5E1;
    --cream: #F4F0E4;
    --paper: #FFFCF5;
    --paper-2: #FAF6EA;
    --line: #E5DECC;
    --muted: #6F7A6D;
    --muted-2: #909A8B;
    --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Iowan Old Style", "Georgia", "Songti SC", "SimSun", serif;
    --font-num: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    min-height: 100vh; background: #0C2117; font-family: var(--font-sans); color: var(--ink);
    font-size: 14px; -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
svg.lucide, [data-lucide] { width: 18px; height: 18px; stroke-width: 1.7; flex: 0 0 auto; }
::selection { background: var(--lime); color: var(--ink); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #CFC7B3; border-radius: 8px; }

.auth-shell { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(480px, .92fr); width: 100%; min-height: 100vh; }
.auth-visual {
    position: relative; background: linear-gradient(160deg, #0B2116 0%, #123826 55%, #0A1F15 100%);
    color: #F1F4E4; padding: 42px 56px; display: flex; flex-direction: column; overflow: hidden;
}
.auth-visual::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(ellipse at 15% 20%, transparent 0 38%, rgba(198, 224, 91, .09) 38.2%, transparent 38.7%),
        radial-gradient(ellipse at 18% 24%, transparent 0 52%, rgba(198, 224, 91, .06) 52.2%, transparent 52.7%),
        radial-gradient(ellipse at 85% 80%, transparent 0 34%, rgba(255, 255, 255, .04) 34.2%, transparent 34.7%);
}
.auth-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.auth-logo {
    width: 42px; height: 42px; border: 1px solid rgba(198, 224, 91, .3); background: rgba(198, 224, 91, .07);
    border-radius: 12px; display: grid; place-items: center; color: var(--lime);
}
.auth-logo svg { width: 31px; height: 31px; }
.auth-brand div { display: flex; flex-direction: column; line-height: 1.1; }
.auth-brand b { font-family: var(--font-display); font-size: 19px; letter-spacing: .14em; color: #F7F4E6; font-weight: 600; }
.auth-brand em { font-style: normal; font-size: 8px; letter-spacing: .26em; color: rgba(241, 244, 228, .48); margin-top: 5px; }
.auth-copy { margin-top: auto; position: relative; z-index: 2; max-width: 560px; }
.auth-kicker { font-size: 10px; letter-spacing: .24em; color: var(--lime); opacity: .85; }
.auth-copy h1 {
    font-family: var(--font-display); font-size: clamp(44px, 5vw, 72px); line-height: 1.05; font-weight: 500;
    letter-spacing: .01em; margin: 16px 0 18px; color: #F8F5E7;
}
.auth-copy h1 i { font-style: italic; color: var(--lime); }
.auth-copy p { font-size: 13px; line-height: 1.9; color: rgba(241, 244, 228, .6); max-width: 430px; }
.auth-stats { display: flex; gap: 34px; margin: 34px 0 46px; position: relative; z-index: 2; }
.auth-stats div { display: flex; flex-direction: column; gap: 3px; }
.auth-stats b { font-family: var(--font-display); font-size: 25px; color: #F5F2E3; font-weight: 500; }
.auth-stats span { font-size: 9.5px; letter-spacing: .1em; color: rgba(241, 244, 228, .42); }
.auth-field { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; opacity: .9; pointer-events: none; }
.auth-visual-foot { position: relative; z-index: 2; font-size: 9.5px; letter-spacing: .1em; color: rgba(241, 244, 228, .3); margin-top: 20px; }
.auth-flow { display: flex; flex-direction: column; gap: 0; margin: 30px 0 40px; position: relative; z-index: 2; max-width: 430px; }
.auth-flow div { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.auth-flow span { grid-row: span 2; font-family: var(--font-num); font-size: 10px; color: var(--lime); opacity: .7; padding-top: 2px; }
.auth-flow b { font-size: 12.5px; font-weight: 500; color: #F1F4E4; }
.auth-flow em { font-style: normal; font-size: 10px; color: rgba(241, 244, 228, .42); }
.auth-panel { background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; padding: 34px 46px 22px; position: relative; }
.auth-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(18, 36, 27, .12), transparent); }
.auth-form-wrap { width: min(400px, 100%); margin: auto; }
.auth-form-register { width: min(430px, 100%); }
.auth-form-head { margin-bottom: 24px; }
.auth-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; background: var(--lime-soft); color: #55702b; font-size: 9.5px; letter-spacing: .1em; }
.auth-form-head h2 { font-family: var(--font-display); font-size: 29px; font-weight: 600; margin-top: 12px; letter-spacing: .01em; }
.auth-form-head p { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.auth-alert { display: flex; align-items: center; gap: 8px; background: var(--red-soft); color: #97382c; border: 1px solid #EFCDC6; border-radius: 8px; padding: 9px 11px; font-size: 11px; margin-bottom: 14px; }
.auth-alert svg { width: 15px; height: 15px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.auth-field-label { display: flex; flex-direction: column; gap: 6px; }
.auth-field-label > span { font-size: 10.5px; color: var(--muted); letter-spacing: .03em; }
.auth-input { display: flex; align-items: center; gap: 8px; height: 44px; border: 1px solid var(--line); background: var(--paper-2); border-radius: 9px; padding: 0 12px; transition: .16s; }
.auth-input:focus-within { border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 3px rgba(29, 92, 63, .08); }
.auth-input > svg { width: 15px; height: 15px; color: var(--muted-2); }
.auth-input input { flex: 1; border: 0; background: none; outline: 0; font-size: 12.5px; height: 100%; min-width: 0; }
.auth-input input::placeholder { color: #A9AF9F; }
.pw-toggle { border: 0; background: none; color: var(--muted-2); cursor: pointer; display: grid; place-items: center; padding: 2px; }
.pw-toggle svg { width: 15px; height: 15px; }
.pw-toggle.is-on { color: var(--leaf); }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; }
.auth-check { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10.5px; cursor: pointer; }
.auth-check input { accent-color: var(--leaf); width: 13px; height: 13px; }
.auth-check-wide { grid-column: span 2; margin-top: 2px; }
.auth-link { color: var(--leaf); }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 8px; height: 45px; border: 0; border-radius: 9px; background: var(--ink); color: #F4F7E6; font-size: 13px; font-weight: 500; cursor: pointer; margin-top: 3px; transition: .18s; }
.auth-submit:hover { background: var(--leaf); transform: translateY(-1px); box-shadow: 0 14px 24px -16px rgba(29, 92, 63, .8); }
.auth-submit svg { width: 16px; height: 16px; color: var(--lime); }
.auth-submit-wide { grid-column: span 2; margin-top: 5px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 11px; color: var(--muted); }
.auth-switch a { color: var(--leaf); font-weight: 500; margin-left: 4px; border-bottom: 1px solid rgba(29, 92, 63, .3); }
.auth-trust { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 22px; font-size: 9.5px; color: var(--muted-2); }
.auth-trust svg { width: 12px; height: 12px; }
.auth-panel-foot { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted-2); letter-spacing: .04em; margin-top: 24px; }

@media (max-width: 1080px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-panel { min-height: 100vh; }
}
@media (max-width: 560px) {
    .auth-panel { padding: 26px 20px; }
    .auth-form-grid { grid-template-columns: 1fr; }
    .auth-check-wide, .auth-submit-wide { grid-column: auto; }
}
