/* ===================================
   认证页面布局
   =================================== */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.auth-left {
    background: var(--gradient-calm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.auth-right {
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl);
    position: relative;
}

/* ===================================
   背景装饰动画
   =================================== */
.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.08);
    backdrop-filter: blur(10px);
    animation: float 8s ease-in-out infinite;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.element-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(249, 115, 22, 0.06);
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
    animation-delay: 2s;
    background: rgba(16, 185, 129, 0.06);
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    background: rgba(251, 191, 36, 0.06);
}

.element-4 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    right: 30%;
    animation-delay: 6s;
    background: rgba(251, 146, 60, 0.06);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }
}

/* ===================================
   欢迎区域样式
   =================================== */
.welcome-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 400px;
}

.logo-section {
    margin-bottom: var(--spacing-2xl);
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: rgba(249, 115, 22, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(249, 115, 22, 0.15);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
}

.logo-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.logo-text {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    text-shadow: none;
}

.logo-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    font-weight: 400;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(249, 115, 22, 0);
    }
}

/* ===================================
   欢迎插图动画
   =================================== */
.welcome-illustration {
    margin: var(--spacing-2xl) 0;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 登录页面心形动画 - Claude风格 */
.illustration-circle {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    background: rgba(249, 115, 22, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(249, 115, 22, 0.1);
    animation: breathe 3s ease-in-out infinite;
}

.heart-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.heart-animation i {
    position: absolute;
    animation: heartbeat 2s ease-in-out infinite;
}

.heart-1 {
    font-size: 2rem;
    top: -10px;
    left: -10px;
    animation-delay: 0s;
    color: var(--primary-color);
}

.heart-2 {
    font-size: 1.5rem;
    top: 10px;
    right: -15px;
    animation-delay: 0.7s;
    color: var(--secondary-color);
}

.heart-3 {
    font-size: 1.8rem;
    bottom: -5px;
    left: 15px;
    animation-delay: 1.4s;
    color: var(--accent-color);
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
    }
    50% { 
        transform: scale(1.1); 
        box-shadow: 0 0 30px rgba(249, 115, 22, 0.15);
    }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* 注册页面成长动画 */
.register-illustration .growth-animation {
    position: relative;
    height: 200px;
}

.seed {
    width: 20px;
    height: 20px;
    background: #92400e;
    border-radius: var(--radius-full);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: plantGrowth 4s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(146, 64, 14, 0.3);
}

.sprout {
    width: 4px;
    height: 60px;
    background: var(--accent-color);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--radius-sm);
    animation: sproutGrowth 4s ease-in-out infinite 0.5s;
    opacity: 0;
}

.leaves {
    position: absolute;
    width: 20px;
    height: 15px;
    background: var(--accent-color);
    border-radius: 50% 0;
    bottom: 50px;
    animation: leavesGrowth 4s ease-in-out infinite;
    opacity: 0;
}

.leaf-1 {
    left: calc(50% - 25px);
    transform: rotate(-45deg);
    animation-delay: 1s;
}

.leaf-2 {
    right: calc(50% - 25px);
    transform: rotate(45deg) scaleX(-1);
    animation-delay: 1.2s;
}

.sparkles {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.sparkles i {
    position: absolute;
    color: var(--secondary-color);
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 2s;
}

.sparkle-2 {
    top: 30%;
    right: 30%;
    animation-delay: 2.5s;
}

.sparkle-3 {
    bottom: 40%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes plantGrowth {
    0%, 100% { transform: translateX(-50%) scale(1); }
    20% { transform: translateX(-50%) scale(1.1); }
}

@keyframes sproutGrowth {
    0% { opacity: 0; height: 0; }
    30% { opacity: 1; height: 60px; }
    100% { opacity: 1; height: 60px; }
}

@keyframes leavesGrowth {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* 找回密码页面钥匙动画 */
.forgot-illustration .key-animation {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-container {
    position: relative;
}

.lock-icon {
    font-size: 4rem;
    color: var(--primary-color);
    animation: lockPulse 3s ease-in-out infinite;
}

.key-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    animation: keyGlow 2s ease-in-out infinite;
}

.restoration-particles {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: var(--radius-full);
    animation: particleFloat 3s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 30%;
    right: 25%;
    animation-delay: 0.5s;
}

.particle-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 1s;
}

.particle-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes lockPulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.2));
    }
    50% { 
        transform: scale(1.1); 
        filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.3));
    }
}

@keyframes keyGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 1; transform: translateY(-20px) scale(1); }
    100% { opacity: 0; transform: translateY(-40px) scale(0); }
}

/* ===================================
   欢迎消息样式
   =================================== */
.welcome-message {
    margin-top: var(--spacing-2xl);
}

.welcome-message h2 {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.welcome-message p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===================================
   表单容器样式
   =================================== */
.auth-form-container {
    width: 100%;
    max-width: 450px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.back-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateX(-2px);
}

.auth-header h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ===================================
   表单样式 - 修复图标居中问题
   =================================== */
.auth-form {
    margin-bottom: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    background: var(--bg-secondary);
    transition: var(--transition-normal);
    color: var(--text-primary);
    height: 48px;
    line-height: 1.5;
    box-sizing: border-box;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.input-wrapper input:focus + i {
    color: var(--primary-color);
}

.password-toggle {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    z-index: 2;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(249, 115, 22, 0.1);
}

/* ===================================
   表单选项和验证
   =================================== */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition-normal);
}

.remember-me input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.remember-me input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link {
    font-size: var(--text-sm);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.forgot-link:hover {
    text-decoration: underline;
}

/* 密码强度指示器 */
.password-strength {
    margin-top: var(--spacing-sm);
}

.strength-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.strength-fill {
    height: 100%;
    background: var(--error-color);
    width: 0%;
    transition: var(--transition-normal);
}

.strength-fill.weak { background: var(--error-color); width: 25%; }
.strength-fill.fair { background: var(--warning-color); width: 50%; }
.strength-fill.good { background: var(--info-color); width: 75%; }
.strength-fill.strong { background: var(--success-color); width: 100%; }

.strength-text {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* 验证反馈 */
.validation-feedback {
    font-size: var(--text-xs);
    margin-top: var(--spacing-xs);
    min-height: 16px;
}

.validation-feedback.valid {
    color: var(--success-color);
}

.validation-feedback.invalid {
    color: var(--error-color);
}

/* ===================================
   按钮样式
   =================================== */
.auth-btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.auth-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.auth-btn.primary:active {
    transform: translateY(0);
}

.auth-btn.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--bg-tertiary);
}

.auth-btn.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-icon {
    transition: var(--transition-fast);
}

.auth-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ===================================
   分隔符
   =================================== */
.divider {
    text-align: center;
    margin: var(--spacing-xl) 0;
    position: relative;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--bg-tertiary);
}

.divider span {
    background: var(--bg-primary);
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* ===================================
   社交登录按钮
   =================================== */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.social-btn {
    padding: var(--spacing-md);
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.wechat-btn:hover {
    border-color: var(--success-color);
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.apple-btn:hover {
    border-color: #000;
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

/* ===================================
   表单底部
   =================================== */
.auth-footer {
    text-align: center;
}

.auth-footer p {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.switch-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.switch-link:hover {
    text-decoration: underline;
}

.privacy-notice {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.4;
}

.privacy-notice input[type="checkbox"] {
    margin-right: var(--spacing-xs);
    accent-color: var(--primary-color);
}

.policy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

/* ===================================
   步骤指示器（找回密码页面）
   =================================== */
.steps-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    gap: var(--spacing-lg);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0.4;
    transition: var(--transition-normal);
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: var(--transition-normal);
}

.step.active .step-number {
    background: var(--primary-color);
    color: var(--text-white);
}

.step span {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 500;
}

.step.active span {
    color: var(--text-primary);
}

/* ===================================
   表单步骤
   =================================== */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 邮件发送成功样式 */
.step-content {
    text-align: center;
}

.email-sent-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 0.8s ease;
}

.email-sent-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: var(--text-sm);
}

.email-display {
    color: var(--primary-color);
    font-weight: 600;
}

.help-text {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.resend-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--bg-tertiary);
}

.countdown {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ===================================
   成功模态框样式
   =================================== */
.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 1s ease-in-out;
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--text-white);
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: var(--spacing-lg);
    }
    
    .auth-form-container {
        padding: var(--spacing-xl);
        max-width: 100%;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .steps-indicator {
        gap: var(--spacing-md);
    }
    
    .step span {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: var(--spacing-md);
    }
    
    .auth-form-container {
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
    }
    
    .logo-text {
        font-size: var(--text-3xl);
    }
    
    .welcome-message h2 {
        font-size: var(--text-xl);
    }
}
/* 在 static/css/auth.css 末尾添加这些基础样式 */

/* 密码强度指示器 */
.strength-fill.weak { width: 25%; background: #dc3545; }
.strength-fill.fair { width: 50%; background: #ffc107; }
.strength-fill.good { width: 75%; background: #17a2b8; }
.strength-fill.strong { width: 100%; background: #28a745; }

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 8px;
    border-left: 4px solid;
}

.notification.success .notification-header {
    border-left-color: #28a745;
    background: #d4edda;
}

.notification.error .notification-header {
    border-left-color: #dc3545;
    background: #f8d7da;
}

.notification.warning .notification-header {
    border-left-color: #ffc107;
    background: #fff3cd;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
}

.notification.success .notification-title { color: #155724; }
.notification.error .notification-title { color: #721c24; }
.notification.warning .notification-title { color: #856404; }

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
}

.notification-close:hover { opacity: 1; }

.notification-body {
    padding: 0 16px 12px;
    color: #333;
    font-size: 14px;
}

/* 加载动画 */
.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* 快捷登录提示样式 */
.quick-login-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    animation: slideInDown 0.3s ease-out;
}

.quick-login-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-login-content i {
    font-size: 1.2rem;
    opacity: 0.9;
}

.quick-login-content span {
    flex: 1;
    font-size: 0.9rem;
}

.clear-remembered {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.clear-remembered:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.clear-remembered i {
    font-size: 0.8rem;
}

/* 改进的通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    min-width: 320px;
    max-width: 420px;
    transform: translateX(500px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.notification.success::before {
    background: #4caf50;
}

.notification.error::before {
    background: #f44336;
}

.notification.warning::before {
    background: #ff9800;
}

.notification.info::before {
    background: #2196f3;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.notification-header i {
    font-size: 1.1rem;
}

.notification.success .notification-header i {
    color: #4caf50;
}

.notification.error .notification-header i {
    color: #f44336;
}

.notification.warning .notification-header i {
    color: #ff9800;
}

.notification.info .notification-header i {
    color: #2196f3;
}

.notification-title {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #f5f5f5;
    color: #666;
}

.notification-body {
    padding: 12px 16px 16px;
    color: #666;
    line-height: 1.5;
}

/* 记住我复选框增强样式 */
.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.remember-me input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remember-me:hover .checkmark {
    border-color: var(--primary-color);
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
}

/* 表单聚焦时的记住我提示 */
.form-group:focus-within ~ .form-options .remember-me {
    color: var(--primary-color);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .quick-login-notice {
        margin-top: 12px;
        padding: 10px 12px;
    }
    
    .quick-login-content {
        gap: 8px;
    }
    
    .quick-login-content span {
        font-size: 0.85rem;
    }
}

/* 动画效果 */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 协议勾选框的视觉增强 */
.privacy-notice {
    margin-top: 12px;
}

.privacy-notice input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.privacy-notice label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.policy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.policy-link:hover {
    text-decoration: underline;
}

/* 加载状态优化 */
.loading-overlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}