* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #eef4ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.login-container {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.logo-section {
    flex: 1;
    background-color: #eef4ff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo {
    width: 120px;
    margin-bottom: 20px;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    background-color: #4e7dff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.logo-section h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}

.features {
    margin-top: 30px;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: #4e7dff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
}

.feature-text {
    color: #666;
    font-size: 16px;
}

.login-form-container {
    flex: 1;
    padding: 40px;
}

.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    position: relative;
}

.tab.active {
    color: #4e7dff;
    font-weight: bold;
}

.tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4e7dff;
}

.form-content {
    display: block;
}

.form-content.hidden {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #4e7dff;
}

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.remember-password {
    display: flex;
    align-items: center;
}

.remember-password label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

.forgot-password {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    margin-left: auto;
}

.forgot-password:hover {
    color: #4e7dff;
}

.login-button, 
.register-button {
    width: 100%;
    padding: 12px;
    background-color: #4e7dff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover,
.register-button:hover {
    background-color: #3e6ae8;
}

.verification-group {
    display: flex;
}

.verification-group input {
    flex: 1;
    margin-right: 10px;
}

.send-code-button {
    padding: 0 15px;
    background-color: white;
    color: #4e7dff;
    border: 1px solid #4e7dff;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.send-code-button:hover {
    background-color: #f5f8ff;
}

.terms {
    font-size: 14px;
    color: #666;
}

.terms a {
    color: #4e7dff;
    text-decoration: none;
}

/* 媒体查询，适配手机端 */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .logo-section {
        padding: 30px 20px;
    }
    
    .login-form-container {
        padding: 30px 20px;
    }
} 