/* 登录页面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '宋体', SimSun, serif;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1, p, span {
    font-family: '宋体', KaiTi, serif;
}
a{
    text-decoration: none;
    color: #fff;
}

/* 登录容器 */
.denlu, .zhuce {
    display: flex;
    width: 60%;
    height: 70%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tp {
    flex: 1;
    overflow: hidden;
}

.tp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.log, .register-form {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.log h1, .register-form h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: '宋体', SimSun, serif;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
}

button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: '楷体', KaiTi, serif;
}

button:hover {
    transform: translateY(-2px);
}

.switch-link {
    text-align: center;
    margin-top: 1rem;
    color: #667eea;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.switch-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .denlu, .zhuce {
        width: 90%;
        height: auto;
        flex-direction: column;
    }
    
    .tp {
        height: 200px;
    }
    
    .log, .register-form {
        padding: 2rem;
    }
}