/* ═══════════════════════════════════════════════════════
   UAA AI写作 — 认证页（登录 / 注册）
════════════════════════════════════════════════════════ */

body.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-base);
    overflow: hidden;
}

/* 背景光晕 */
body.auth-page::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ── 登录布局（双栏）── */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    width: 920px;
    max-width: 95vw;
    background: var(--bg-login);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(139,92,246,0.15);
}

/* 左侧品牌区 */
.login-left {
    flex: 1;
    background: linear-gradient(145deg, #23273D 0%, #20243A 100%);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border-subtle);
}

.login-left::before {
    content: 'UAA';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Songti SC','STSong','SimSun','Source Han Serif SC',Georgia,serif;
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.06;
    pointer-events: none;
}

/* 渐变圆圈装饰 */
.login-left::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.login-left .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.login-left .brand-icon {
    width: 46px;
    height: 46px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    box-shadow: var(--shadow-btn);
}

.login-left .brand-name {
    font-family: 'Songti SC','STSong','SimSun','Source Han Serif SC',Georgia,serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.login-left .brand-name .brand-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-left h2 {
    font-family: 'Songti SC','STSong','SimSun','Source Han Serif SC',Georgia,serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.login-left p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(139,92,246,0.6);
}

.feature-text {
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* 右侧表单区 */
.login-right {
    width: 400px;
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-surface);
}

.login-right h3 {
    font-family: 'Songti SC','STSong','SimSun','Source Han Serif SC',Georgia,serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.login-right .subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.login-right .form-control:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

/* 主提交按钮（大圆角渐变）*/
.btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    letter-spacing: 4px;
    box-shadow: var(--shadow-btn);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(147,51,234,0.6);
}

.btn-submit:hover::before { background: rgba(255,255,255,0.1); }
.btn-submit:active { transform: translateY(0); }

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
}

.remember-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.remember-row input[type=checkbox] {
    accent-color: var(--purple);
    width: 14px;
    height: 14px;
}

.register-link, .login-link {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.register-link a, .login-link a {
    color: var(--purple-light);
    font-weight: 500;
}

.register-link a:hover, .login-link a:hover {
    color: var(--purple);
}

/* ── 注册页（单栏）── */
.register-box {
    position: relative;
    z-index: 1;
    width: 460px;
    max-width: 95vw;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 44px 48px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(139,92,246,0.1);
}

.register-box .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.register-box .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
}

.register-box .brand-name {
    font-family: 'Songti SC','STSong','SimSun','Source Han Serif SC',Georgia,serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.register-box h3 {
    font-family: 'Songti SC','STSong','SimSun','Source Han Serif SC',Georgia,serif;
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.register-box .subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.free-tip {
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.25);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--purple-light);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 6px;
}
