/* 登录/注册弹窗样式 */
        .auth-modal {
            display: none;
            position: fixed;
            z-index: 11000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
            
        }

        .auth-modal-content {
            background:#fff;
            margin: 5% auto;
            padding: 0;
            width: 90%;
            min-width: 420px;
            max-width: 640px;
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s ease;
        }

        .auth-tab {
            display: none;
            padding: 30px;
        }

        .auth-tab.active {
            display: block;
        }

        .auth-header {
            text-align: center;
            margin-bottom: 0px;
            color: black;
        }

        .auth-header h2 {
            margin: 0 0 10px;
            font-size: 28px;
            font-weight: 700;
        }

        .auth-header p {
            margin: 0;
            font-size: 16px;
            opacity: 0.9;
        }

        .auth-form {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .password-container {
            position: relative;
        }

        .form-input {
            width: 100%;
            font-size: 18px;
            font-weight: 400;
            line-height: 44px;
            padding: 0 12px;
            box-sizing: border-box;
            color: #003e6b;
            border: 1px solid #336589;
            border-radius: 5px;
        }

        .form-input:focus {
            outline: none;
            border-color: #667eea;
            background-color: white;
        }
        
        /* 表单错误样式 */
        .form-error {
            color: #F44336;
            font-size: 12px;
            margin-top: 6px;
            display: none;
        }
        
        .form-group.has-error .form-input {
            border-color: #F44336;
            box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1);
        }
        
        .form-group.has-error .password-container .form-input {
            border-color: #F44336;
        }
        
        .form-group.has-error input[type="checkbox"] {
            accent-color: #F44336;
        }

        .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 4px;
            font-size: 16px;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 14px;
            color: #666;
        }

        .checkbox-group input {
            margin-top: 4px;
        }

        .checkbox-group a {
            color: #667eea;
            text-decoration: none;
        }

        .checkbox-group a:hover {
            text-decoration: underline;
        }

        .verification-btn {
            width:150px;padding: 0 16px; background-color: #667eea; color: white; border: none; border-radius: 8px; cursor: pointer;
            font-size: 14px;
        }

        .auth-btn {
            width: 100%;
            padding: 14px;
            font-size: 16px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-bottom: 12px;
        }

        .auth2-btn {
            width: 50%;
        }

        .primary-btn {
            background-color: #667eea;
            color: white;
        }

        .primary-btn:hover {
            background-color: #5a6fd8;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .social-btn {
            background-color: #f8f9fa;
            color: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: 1px solid #e1e5e9;
        }

        .social-btn:hover {
            background-color: white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .github-btn {
            background-color: #333;
            color: white;
        }

        .github-btn:hover {
            background-color: #24292e;
        }

        .google-btn {
            background-color: white;
            color: #333;
        }

        .google-btn:hover {
            background-color: #f8f9fa;
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 24px 0;
            color: #666;
            font-size: 14px;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #e1e5e9;
        }

        .divider span {
            padding: 0 16px;
            background-color: white;
        }

        .social-login {
            margin-bottom: 20px;
        }

        .auth-footer {
            text-align: center;
            font-size: 14px;
            color: #666;
        }

        .auth-footer a {
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
        }

        .auth-footer a:hover {
            text-decoration: underline;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            font-size: 14px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: #666;
        }

        .forgot-password {
            color: #667eea;
            text-decoration: none;
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        /* 找回密码弹窗样式 */
        .reset-password-modal {
            display: none;
            position: fixed;
            z-index: 11000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
        }

        .reset-password-content {
            background-color: white;
            margin: 10% auto;
            padding: 30px;
            width: 90%;
            max-width: 420px;
            border-radius: 8px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: slideIn 0.3s ease;
        }

        .reset-close-btn {
            position: absolute;
            right: 15px;
            top: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s ease;
        }

        .reset-close-btn:hover {
            background-color: #f0f0f0;
        }

        .form-actions {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }

        .cancel-btn {
            background-color: #f8f9fa;
            color: #666;
            flex: 1;
        }

        .cancel-btn:hover {
            background-color: #e9ecef;
        }

        /* 登录方式切换按钮 */
        .login-method-toggle {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 1px solid #e0e0e0;
        }

        .login-method-btn {
            padding: 10px 15px;
            background-color: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 18px;
            color: #666;
            position: relative;
        }

        .login-method-btn.active {
            color: #000;
            font-weight: 500;
        }

        .login-method-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: #000;
        }

        .login-method-btn:hover {
            color: #000;
        }


        /* 验证码输入弹窗样式 */
        .verify-code-modal {
            display: none;
            position: fixed;
            z-index: 11000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
        }

        .verify-code-content {
            background-color: white;
            margin: 10% auto;
            padding: 30px;
            width: 90%;
            max-width: 420px;
            border-radius: 8px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: slideIn 0.3s ease;
        }

        .verify-close-btn {
            position: absolute;
            right: 15px;
            top: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s ease;
        }

        .verify-close-btn:hover {
            background-color: #f0f0f0;
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from { transform: translateY(-20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        
        /* 认证头部按钮 */
        .auth-header-buttons {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }



        .close-btn,.back-btn {
            background: none;
            border: none;
            color: #000;
            font-size: 14px;
            cursor: pointer;
            padding: 0;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-content: center;
            justify-content: center;
            align-items: center;
        }

        .close-btn:hover,.back-btn:hover {
            text-decoration: none;
        }

        .close-btn .close-icon {
            background-color: #ccd8e1;
            border: 1px;
            border-radius: 50%;
            color: #003e6b;
            display: inline-block;
            width: 18px;
            height: 18px;
            line-height: 1px;
            padding: 2px;
            margin-left: 5px;
            vertical-align: middle;
        }

        .back-btn .back-icon {
            background-color: transparent;
            border: 1px;
            border-radius: 50%;
            color: #003e6b;
            display: inline-block;
            width: 18px;
            height: 18px;
            line-height: 1px;
            padding: 2px;
            margin-right: 0px;
            vertical-align: middle;
        }

        