body {
    background-color: #ffffff;
    /*换成蓝渐变色。*/
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 40px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.content h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 10px 0;
}

.content ul {
    padding-left: 20px;
}

.content li {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 8px 0;
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
}

.back-link a:hover {
    text-decoration: underline;
}

.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.logo-container {
    text-align: center;
}

.logo {
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.login-box {
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
}

.login-form-section {
    flex: 1;
    padding: 40px;
    border-right: 1px solid #f0f0f0;
}

.login-qrcode-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

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

.login-tab {
    padding: 10px 0;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    margin-right: 30px;
    transition: all 0.3s;
    position: relative;
}

.login-tab.active {
    color: #4a90e2;
    font-weight: 500;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4a90e2;
}

.login-area-tip {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.login-form-item {
    position: relative;
    margin-bottom: 20px;
}

.login-form-item .input-prefix {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.login-form-item input {
    padding-left: 40px;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid #e8e8e8;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.login-form-item input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.login-form-item input::placeholder {
    color: #999;
}

.phone-input {
    padding-left: 70px !important;
}

.verification-code {
    display: flex;
    gap: 12px;
}

.verification-code .layui-input {
    flex: 1;
}

.get-sms-btn {
    width: 120px;
    height: 48px;
    line-height: 48px;
    padding: 0;
    font-size: 14px;
    border-radius: 8px;
    background-color: #f0f7ff;
    color: #4a90e2;
    border: 1px solid #e0efff;
}

.get-sms-btn:hover {
    background-color: #e0efff;
}

.get-sms-btn:disabled {
    background-color: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
}

.login-submit-btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    background-color: #4a90e2;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.login-submit-btn:hover {
    background-color: #3a7bc8;
}

.agreement-text {
    font-size: 12px;
    line-height: 1.5;
    color: #999;
    margin-top: 15px;
}

.agreement-text a {
    color: #4a90e2;
    text-decoration: none;
}

.agreement-text a:hover {
    text-decoration: underline;
}

.qrcode-container {
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qrcode-container iframe {
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    background-color: white;
}

.qrcode-tip {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 15px;
    text-align: center;
}

.qrcode-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.qrcode-app svg {
    width: 24px;
    height: 24px;
    color: #07c160;
}

.qrcode-app span {
    font-size: 14px;
    color: #666;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 16px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
    font-size: 12px;
    color: #fff;
}

@media (max-width: 768px) {
    .login-box {
        flex-direction: column;
        max-width: 400px;
        box-shadow: none;
    }

    .login-form-section {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px;
    }

    .login-qrcode-section {
        padding: 30px 20px;
    }

    .qrcode-container iframe {
        width: 100% !important;
        max-width: 280px;
        height: 350px !important;
    }

    .logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}