body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("../../images/background2.jpg");
    display: flex;
    justify-content: center;
    align-items: center;
}

#cover {
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: black;
    z-index: 1;
}

#cover.after-load {
    animation: cover-show 0.6s forwards;
}

#title {
    position: relative;
    color: rgb(0, 0, 0);
    font-family: 'LengKu';
    font-size: 36px;
    width: 0;
    left: 45px;
    margin-top: 45px;
    margin-bottom: 20px;
    animation: fold-x 0.4s forwards;
    overflow: hidden;
    white-space: nowrap;
}

#submit_button {
    position: absolute;
    background-color: rgb(104, 217, 255);
    font-size: 36px;
    font-family: 'FengHei';
    border-style: none;
    cursor: pointer;
    width: 140px;
    height: 80px;
    border-radius: 25px;
    bottom: 25px;
    right: 25px;
}

#submit_button:hover {
    background-color: darkblue;
    color: white;
}

#status {
    position: absolute;
    color: darkblue;
    font-size: 20px;
    left: 35px;
    bottom: 10px;
}

#without_account {
    position: absolute;
    color: black;
    font-size: 20px;
    left: 35px;
    bottom: 45px;
}

#account {
    position: relative;
    width: 80%;
    height: 60px;
    border: rgb(196, 196, 196) 3px solid;
    font-size: 24px;
    border-radius: 25px;
    padding-left: 35px;
    background-color: rgba(188, 188, 188, 0.8);
    margin-bottom: 0;
    margin-top: 25px;
    box-sizing: border-box;
}

#password {
    position: relative;
    width: 80%;
    height: 60px;
    font-size: 24px;
    border: rgb(196, 196, 196) 3px solid;
    margin-top: 45px;
    border-radius: 25px;
    padding-left: 35px;
    background-color: rgba(188, 188, 188, 0.8);
    box-sizing: border-box;
}

#login_form {
    width: 480px;
    height: 45vh;
    min-height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.32);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.CenterContainer {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    right: 16%;
    z-index: 2;
}

/* 返回主页按钮样式 */
.back-home-btn {
    z-index: 10;
    font-size: 24px;
    bottom: 10%;
    left: 10%;
    position: fixed;
    padding: 20px 40px;
    background: rgba(104, 217, 255, 0.8);
    border: 1px solid rgba(104, 217, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-family: 'FengHei';
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.back-home-btn:hover {
    background: rgba(104, 217, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 - 在移动设备上居中显示 */
@media (max-width: 768px) {
    .CenterContainer {
        left: 55%;
        width: 100%;
        transform: translate(-50%, -50%);
    }

    #login_form {
        width: 90%;
        height: auto;
        min-height: 450px;
        padding: 20px 0;
    }

    #title {
        font-size: 24px;
        left: 0;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        width: auto;
    }

    #account,
    #password {
        width: 80%;
        font-size: 16px;
        margin-left: 2%;
        margin-right: 2%;
        padding-left: 20px;
    }

    #without_account {
        position: relative;
        left: 0;
        bottom: auto;
        margin-top: 70px;
        text-align: center;
        width: 100%;
    }

    #status {
        position: relative;
        left: 0;
        bottom: auto;
        margin-top: 10px;
        text-align: center;
        width: 100%;
    }

    #submit_button {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    #cover {
        display: none;
        animation: none;
    }

    .back-home-btn {
        left: 50%;
        bottom: 2%;
        transform: translateX(-50%);
        font-size: 18px;
        padding: 10px 20px;
    }
}