/* ============================================================
   登录 / 注册页样式
   颜色与字体复用 member.css 的设计变量，保证和问卷大厅同一套语言。
   ============================================================ */

body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(1100px 520px at 12% -10%, #DCE6FF 0%, rgba(220, 230, 255, 0) 62%),
        radial-gradient(900px 480px at 100% 100%, #E4EBFF 0%, rgba(228, 235, 255, 0) 60%),
        var(--page);
    -webkit-font-smoothing: antialiased;
}

.auth-wrap {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 56px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.4px;
    color: var(--ink);
    text-decoration: none;
}

.auth-brand-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 16px rgba(48, 96, 252, .28);
}

.auth-brand-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.auth-card {
    width: 100%;
    max-width: 416px;
    box-sizing: border-box;
    padding: 32px 34px 28px;
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 12px 44px rgba(30, 48, 100, .09);
}

.auth-card h1 {
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.6px;
}

.auth-sub {
    margin: 0 0 24px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ink-3);
}

.auth-field { margin-bottom: 16px; }

.auth-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
}

.auth-field label .opt { font-weight: 400; color: var(--ink-3); }

.auth-input {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--line-2);
    border-radius: 9px;
    outline: 0;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}

.auth-input::placeholder { color: #AEB6C4; }
.auth-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(48, 96, 252, .11); }

.auth-hint { margin-top: 6px; font-size: 12px; color: var(--ink-3); }

.auth-msg {
    display: none;
    margin: 2px 0 16px;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.auth-msg.on { display: block; }
.auth-msg.err { background: var(--red-bg); color: var(--red); }
.auth-msg.ok { background: var(--green-bg); color: var(--green); }

.auth-submit {
    width: 100%;
    height: 45px;
    margin-top: 4px;
    border: 0;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .15s, transform .1s;
}

.auth-submit:hover { background: var(--brand-d); }
.auth-submit:active { transform: translateY(1px); }
.auth-submit[disabled] { opacity: .6; cursor: not-allowed; }

.auth-foot {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 13.5px;
    color: var(--ink-3);
}

.auth-foot a { color: var(--brand); font-weight: 600; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

.auth-back { margin-top: 22px; font-size: 13px; color: var(--ink-3); text-decoration: none; }
.auth-back:hover { color: var(--brand); }

.auth-perks {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0 0;
    font-size: 12px;
    color: var(--ink-3);
}

.auth-perks span { display: inline-flex; align-items: center; gap: 5px; }
.auth-perks b { color: var(--brand); font-weight: 600; }

@media (max-width: 480px) {
    .auth-wrap { padding: 28px 16px 40px; justify-content: flex-start; }
    .auth-card { padding: 26px 22px 22px; border-radius: 14px; }
    .auth-card h1 { font-size: 22px; }
}
