/* reg.html 样式抽取 */

        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --gray: #6c757d;
            --light-gray: #f8f9fa;
            --border-radius: 8px;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .register-container {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 450px;
            padding: 40px 30px;
        }
        
        .logo {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .logo h1 {
            color: var(--primary);
            font-size: 28px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .logo i {
            font-size: 32px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 14px;
        }
        
        .form-control {
            width: 100%;
            padding: 15px;
            border: 1px solid #e1e5e9;
            border-radius: var(--border-radius);
            font-size: 16px;
            transition: var(--transition);
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        
        .btn {
            width: 100%;
            padding: 15px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }
        
        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray);
            cursor: pointer;
        }
        
        .input-wrapper {
            position: relative;
        }
        
        /* 验证码样式 */
        .captcha-group {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .captcha-input {
            flex: 1;
        }
        
        .captcha-image {
            flex: 0 0 120px;
            height: 50px;
            background: #f0f2f5;
            border-radius: var(--border-radius);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: 1px solid #e1e5e9;
            user-select: none;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            font-size: 20px;
            letter-spacing: 2px;
            color: #333;
            position: relative;
            overflow: hidden;
        }
        
        .captcha-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
            animation: shimmer 2s infinite;
        }
        
        .captcha-image .noise {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0,0,0,0.05) 1px, transparent 1px),
                radial-gradient(circle at 80% 60%, rgba(0,0,0,0.05) 1px, transparent 1px),
                radial-gradient(circle at 40% 80%, rgba(0,0,0,0.05) 1px, transparent 1px);
            background-size: 50px 50px;
        }
        
        .captcha-image .lines {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 4px),
                repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 4px);
        }
        
        .captcha-image .text {
            position: relative;
            z-index: 2;
            transform: skew(-5deg);
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
        }
        
        .refresh-captcha {
            background: none;
            border: none;
            color: var(--primary);
            cursor: pointer;
            font-size: 14px;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .refresh-captcha:hover {
            text-decoration: underline;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .captcha-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        /* 密码强度指示器 */
        .password-strength {
            margin-top: 5px;
            height: 4px;
            background: #e9ecef;
            border-radius: 2px;
            overflow: hidden;
        }
        
        .strength-bar {
            height: 100%;
            width: 0%;
            transition: var(--transition);
        }
        
        .strength-weak { background: #dc3545; width: 25%; }
        .strength-fair { background: #fd7e14; width: 50%; }
        .strength-good { background: #ffc107; width: 75%; }
        .strength-strong { background: #28a745; width: 100%; }
        
        .strength-text {
            font-size: 0.8rem;
            margin-top: 5px;
            color: var(--gray);
        }
        
        /* 条款同意 */
        .terms-agreement {
            margin: 20px 0;
            font-size: 0.9rem;
            display: flex;
            align-items: flex-start;
        }
        
        .terms-agreement input {
            margin-right: 8px;
            margin-top: 3px;
        }
        
        .terms-agreement a {
            color: var(--primary);
        }
        
        .terms-agreement a:hover {
            text-decoration: underline;
        }
        
        .login-link {
            text-align: center;
            margin-top: 25px;
            font-size: 14px;
            color: var(--gray);
        }
        
        .login-link a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
        }
        
        .login-link a:hover {
            text-decoration: underline;
        }
        
        /* 响应式设计 */
        @media (max-width: 480px) {
            .register-container {
                padding: 30px 20px;
            }
            
            .captcha-group {
                flex-direction: column;
            }
            
            .captcha-image {
                width: 100%;
                margin-top: 10px;
            }
        }
    

        a{
            text-decoration: none;
        }
    