* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #0052d8, white);
    background-size: 100% 100%;
}

.login-main {
    width: 900px;
    height: 520px;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.left {
    width: 45%;
    height: 100%;
    background: linear-gradient(to bottom right, #1a2a6c, #2a5298);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    left: -100px;
}

.left::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    bottom: -80px;
    right: -80px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.logo img {
    max-width: 90%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.left p {
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 25px;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ai-highlight {
    color: #ffcc00;
    font-weight: 600;
}

.features {
    margin-top: 20px;
    z-index: 1;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.feature i {
    font-size: 18px;
    margin-right: 15px;
    color: #4dabf7;
}

.right {
    width: 55%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    position: relative;
    transition: all 0.3s;
}

.tab.active {
    color: #1a2a6c;
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1a2a6c;
    border-radius: 3px 3px 0 0;
}

.form-container {
    position: relative;
    height: 300px;
}

.form {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.form.active {
    opacity: 1;
    visibility: visible;
}

.form label {
    color: #555;
    display: block;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: #1a2a6c;
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
    outline: none;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #1a2a6c, #2a5298);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(26, 42, 108, 0.2);
}

.btn-login:hover {
    background: linear-gradient(to right, #2a5298, #3a62a8);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(26, 42, 108, 0.3);
}

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

.btn-login.loading {
    position: relative;
    color: transparent;
}

.btn-login.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    height: 20px;
    text-align: center;
}

.qrcode-container {
    text-align: center;
    padding: 2px;
}

.qrcode {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qrcode::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 50%, rgba(26, 42, 108, 0.1) 50%);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.qrcode-placeholder {
    width: 160px;
    height: 160px;
    background: #e9ecef;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.qrcode-placeholder i {
    font-size: 60px;
    color: #1a2a6c;
    opacity: 0.7;
}

.qrcode-text {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.split-line {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.split-line::before,
.split-line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.split-line span {
    padding: 0 15px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.platform-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f7fa;
    color: #1a2a6c;
    font-size: 22px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.platform-icons a:hover {
    background: #edc09b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 42, 108, 0.3);
}

.iconfont {
    font-size: 22px;
}

.icondingding { color: #87bfff; }
.iconqiwei { color: #418ae7; }
.iconfeishu { color: #066cf1; }
.iconzhinengti { color: #091e85; }


.version-badge {
    display: inline-block;
    background: linear-gradient(11deg, #ff00c8, #ffcc00);
    color: white;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 30px;
    font-size: 12px;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    transform: translateY(-10px);
}

@media (max-width: 850px) {
    .login-main {
        width: 90%;
        max-width: 500px;
        height: auto;
        flex-direction: column;
    }
    .features{display: none}

    .left, .right {
        width: 100%;
    }

    .left {
        padding: 30px 20px;
        border-radius: 20px 20px 0 0;
    }

    .right {
        padding: 30px 20px;
        border-radius: 0 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .login-main {
        width: 95%;
    }
    .features{display: none}
    .left p {
        font-size: 14px;
    }

    .feature {
        font-size: 13px;
    }

    .login-tabs {
        justify-content: center;
    }

    .tab {
        padding: 10px 15px;
    }
}