*{
    margin: 0;
    padding: 0;
}
.login_box {
    width: 100%; /* 设置宽度为 100% 以占满整个页面 */
    height: 100vh; /* 设置高度为 100vh 以占满整个视口 */
    background-image: url("/static/img/login_back.png"); /* 设置背景图片路径 */
    background-position: center; /* 设置背景图片位置为居中 */
    background-repeat: no-repeat; /* 设置背景图片不重复 */
    background-attachment: fixed; /* 设置背景图片固定不随滚动条滚动 */
    background-size: cover; /* 设置背景图片大小自动填充容器 */
    display: flex; /* 设置为 Flexbox 布局 */
    justify-content: flex-end; /* 设置内容靠右对齐 */
    align-items: center;
}
.login_logo {
    width: 400px;
    height: 470px;
    margin-right: 10vw;
    padding: 30px 20px;
    background-color: #fff;
    box-sizing: border-box;
}
.register_logo {
    width: 400px;
    height: 610px;
    margin-right: 10vw;
    padding: 30px 20px;
    background-color: #fff;
    box-sizing: border-box;
}
h1 {
    color: #7d6744;
    text-align: center;
    margin-bottom: 60px;
}
.login_input_box {
    width: 300px;
    height: 50px;
    margin: 20px auto 0 auto;
    display: flex;
    flex-direction: column;
}
.login_input_box label {
    font-weight: 700;
}
.login_input_box input {
    width: 100%;
    height: 30px;
    line-height: 40px;
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 10px;
    outline: none;
}
.login_submit_box {
    width: 300px;
    height: 40px;
    margin: 30px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login_canvas_box {
    width: 300px;
    height: 50px;
    margin: 20px auto 0 auto;
    display: flex;
    justify-content: space-between;
}
.login_canvas {
    width: 100px;
}
.login_canvas_box input {
    width: 100px;
    height: 30px;
    line-height: 40px;
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 10px;
    outline: none;
}
.error {
    color: red;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 4px;
}
.login_submit {
    width: 100%;
    padding: 12px 60px;
    border: none;
    border-radius: 5px;
    background-color: #7d6744;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.login_switch {
    display: flex;
    justify-content: center;
}
.login_switch a {
    font-size: 12px;
    color: #808080;
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
}
.login_switch a:hover {
    color: #7d6744;
}