* { box-sizing: border-box; }

        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #409EFF 50%, #1688f1 100%);
            background-size: 400% 400%;
            animation: gradientBG 12s ease infinite;
            overflow: hidden;
        }

        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* 装饰几何元素 */
        .bg-decoration {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .bg-decoration .shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.08;
            background: #fff;
        }

        .bg-decoration .shape-1 {
            width: 400px;
            height: 400px;
            top: -100px;
            right: -100px;
            animation: float1 8s ease-in-out infinite;
        }

        .bg-decoration .shape-2 {
            width: 300px;
            height: 300px;
            bottom: -80px;
            left: -80px;
            animation: float2 10s ease-in-out infinite;
        }

        .bg-decoration .shape-3 {
            width: 150px;
            height: 150px;
            top: 40%;
            left: 10%;
            animation: float3 6s ease-in-out infinite;
        }

        .bg-decoration .shape-4 {
            width: 200px;
            height: 200px;
            bottom: 20%;
            right: 15%;
            animation: float1 9s ease-in-out infinite reverse;
        }

        @keyframes float1 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, -30px) scale(1.05); }
        }

        @keyframes float2 {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-20px, 20px) scale(1.08); }
        }

        @keyframes float3 {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(15px, -15px); }
        }

        /* 登录容器 */
        .login-container {
            position: relative;
            z-index: 10;
            display: flex;
            width: 900px;
            max-width: 95vw;
            min-height: 520px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(64, 158, 255, 0.1);
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        /* 左侧装饰 */
        .login-left {
            flex: 1;
            background: linear-gradient(135deg, #409EFF 0%, #66B1FF 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 40px;
            position: relative;
            overflow: hidden;
        }

        .login-left::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
            animation: rotateCircle 20s linear infinite;
        }

        @keyframes rotateCircle {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .login-left .left-icon {
            font-size: 72px;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }

        .login-left .left-title {
            font-size: 26px;
            font-weight: 600;
            color: #fff;
            text-align: center;
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }

        .login-left .left-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
            line-height: 1.8;
            position: relative;
            z-index: 1;
        }

        /* 右侧表单 */
        .login-right {
            flex: 1;
            padding: 50px 48px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .login-right .form-title {
            font-size: 24px;
            font-weight: 600;
            color: #303133;
            margin-bottom: 8px;
        }

        .login-right .form-subtitle {
            font-size: 14px;
            color: #909399;
            margin-bottom: 36px;
        }

        /* 表单字段 */
        .form-field {
            margin-bottom: 24px;
            position: relative;
        }

        .form-field .field-label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #606266;
            margin-bottom: 8px;
        }

        .form-field .field-input {
            position: relative;
        }

        .form-field .field-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #C0C4CC;
            font-size: 15px;
            transition: color 0.3s;
            z-index: 2;
        }

        .form-field input[type="text"],
        .form-field input[type="password"] {
            width: 100%;
            height: 44px;
            padding: 0 14px 0 42px;
            border: 1px solid #DCDFE6;
            border-radius: 8px;
            font-size: 14px;
            color: #303133;
            background: #fff;
            transition: all 0.25s;
            outline: none;
        }

        .form-field input:focus {
            border-color: #409EFF;
            box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
        }

        .form-field input:focus + .field-icon,
        .form-field input:focus ~ .field-icon {
            color: #409EFF;
        }

        .form-field input::placeholder {
            color: #C0C4CC;
        }

        /* 密码可见切换 */
        .changeeye {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #C0C4CC;
            font-size: 15px;
            z-index: 2;
            transition: color 0.25s;
        }

        .changeeye:hover {
            color: #909399;
        }

        /* 验证码行 */
        .captcha-row {
            display: flex;
            gap: 12px;
            align-items: stretch;
        }

        .captcha-row input {
            flex: 1;
        }

        .captcha-row .captcha-img {
            height: 44px;
            border-radius: 8px;
            cursor: pointer;
            border: 1px solid #DCDFE6;
            flex-shrink: 0;
        }

        /* 登录按钮 */
        .btn-login {
            width: 100%;
            height: 44px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(135deg, #409EFF, #66B1FF);
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            letter-spacing: 2px;
        }

        .btn-login:hover {
            background: linear-gradient(135deg, #66B1FF, #409EFF);
            box-shadow: 0 4px 16px rgba(64, 158, 255, 0.4);
            transform: translateY(-1px);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .btn-login .login-icon {
            font-size: 16px;
        }

        /* 错误提示 */
        #errtips {
            padding: 10px 14px;
            margin-bottom: 20px;
            border-radius: 8px;
            background: #FEF0F0;
            color: #F56C6C;
            font-size: 13px;
            border: 1px solid #FDE2E2;
            display: none;
        }

        #errtips:not(.hide) {
            display: block;
        }

        /* toast 样式覆盖 */
        .toast-message {
            color: #fff !important;
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .login-left {
                display: none;
            }

            .login-container {
                width: 95vw;
                max-width: 420px;
                min-height: auto;
            }

            .login-right {
                padding: 40px 28px;
            }
        }

        @media (max-width: 400px) {
            .login-right {
                padding: 30px 20px;
            }

            .form-field input[type="text"],
            .form-field input[type="password"] {
                height: 40px;
                font-size: 13px;
            }

            .btn-login {
                height: 40px;
                font-size: 15px;
            }
        }