/* ===== 认证页面样式 ===== */

.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}
.auth-logo svg { color: var(--accent); margin-bottom: 12px; }
.auth-logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.auth-logo p { font-size: 14px; color: var(--text-secondary); }

.auth-alert {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
}
.auth-alert-error { background: rgba(255, 103, 104, 0.15); color: #ffaaaa; border: 1px solid rgba(255,103,104,0.3); }
.auth-alert-success { background: rgba(76, 175, 80, 0.15); color: #a5d6a7; border: 1px solid rgba(76,175,80,0.3); }
.auth-alert-info { background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border); }
.auth-alert-warning { background: rgba(255, 193, 7, 0.15); color: #ffe082; border: 1px solid rgba(255,193,7,0.3); }

.auth-form { margin-bottom: 20px; }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrapper .form-input { padding-right: 40px; }

.eye-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: opacity var(--transition);
    padding: 0;
}
.eye-toggle:hover { opacity: 1; }

.form-check { display: flex; align-items: center; }
.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    user-select: none;
}
.check-label input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; }

/* 密码强度条 */
.password-strength {
    height: 3px;
    background: var(--bg-secondary);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}
.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0;
}

.auth-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.auth-link { color: var(--accent); font-weight: 500; }
.auth-link:hover { color: var(--accent-hover); }

/* 背景装饰 */
.auth-bg-decor {
    position: fixed;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 103, 104, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
