/* ============================================
   登录 / 注册
   ============================================ */

.auth-wrap {
    display: flex;
    justify-content: center;
    padding: 56px 24px;
}
.auth-box {
    width: 100%;
    max-width: 380px;
}
.auth-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
}
.auth-sub {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}
.auth-form { margin-top: 26px; }
.auth-form input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color .2s;
}
.auth-form input:focus { border-color: var(--accent); }
.auth-email-row {
    display: flex;
    gap: 8px;
}
.auth-email-row input { flex: 1; }
.auth-email-row .btn {
    flex: 0 0 auto;
    height: 46px;
    margin-bottom: 12px;
    white-space: nowrap;
}
.auth-error {
    padding: 10px 14px;
    margin-bottom: 12px;
    background: #faf0f0;
    border: 1px solid #eccfcf;
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--danger);
}
.auth-switch {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.auth-switch a { color: var(--accent); }
