/* 登录和注册页面通用样式 */
.login-container,
.register-container {
    min-height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.login-box,
.register-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background-color: #fff;
    padding: 20px;
}

.login-box h2,
.register-box h2 {
    text-align: center;
    color: #333;
    margin: 20px 0 30px;
    font-size: 18px;
    font-weight: normal;
}

.form-group {
    margin-bottom: 0;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.form-group input {
    width: 100%;
    padding: 0;
    border: none;
    font-size: 14px;
    background-color: transparent;
}

.form-group input::placeholder {
    color: #999;
}

.form-group label {
    position: absolute;
    left: 0;
    top: -20px;
    color: #666;
    font-size: 14px;
}

.btn-login,
.btn-register {
    width: calc(100% - 30px);
    margin: 30px 15px;
    padding: 12px;
    background-color: #67c23a;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.register-link,
.login-link {
    text-align: center;
    margin: 15px;
    font-size: 14px;
    color: #666;
}

.register-link a,
.login-link a {
    color: #67c23a;
    text-decoration: none;
}

/* 分隔线样式 */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 15px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider span {
    padding: 0 10px;
    color: #999;
    font-size: 12px;
}

/* 微信登录按钮样式 */
.wechat-login {
    padding: 0 15px;
}

.btn-wechat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: #07c160;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.btn-wechat i {
    margin-right: 8px;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-box,
    .register-box {
        padding: 15px;
    }

    .login-box h2,
    .register-box h2 {
        font-size: 16px;
        margin: 15px 0 25px;
    }

    .form-group input {
        font-size: 14px;
    }

    .btn-login,
    .btn-register {
        font-size: 15px;
        padding: 10px;
        margin: 25px 15px;
    }

    .register-link,
    .login-link {
        font-size: 13px;
    }

    .divider span {
        font-size: 12px;
    }



    .nav-links a {
        font-size: 13px;
        margin-left: 10px;
    }
}

/* 微信登录页面样式 */
.wechat-login-container {
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

.wechat-login-box {
    width: 90%;
    max-width: 400px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.qr-code {
    margin: 20px 0;
}

.qr-code img {
    max-width: 200px;
    width: 80%;
    height: auto;
}

.instructions {
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.instructions .tip {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .wechat-login-box {
        width: 95%;
        padding: 15px;
    }

    .qr-code img {
        width: 70%;
    }

    .instructions {
        font-size: 13px;
    }
}





.nav-title {
    color: white;
    font-size: 16px;
    text-align: center;
}

.nav-links {
    position: absolute;
    right: 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
} 