/* 基本样式 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: #fff;

}

.login-container {
    background-image: url('../img/pc.jpg');
}

@media screen and (min-width: 768px) {
    .login-container {
        background-image: url('../img/pc.jpg');
    }
}


@media screen and (max-width: 767px) {
    .login-container {
        background-image: url('../img/me.jpg');
    }
    #form-container{
        width: 100% !important;
        text-align: center;
    }
    .form{
        position: absolute;
        top: 120px;
        
        text-align: center;
    }
    .bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100%;
       
        z-index: -1; /* 确保图像在内容后面 */
    }
    .RealnameAuthentication{
        width: 350px !important;
       
    }
}
/* 作者:不停 / my@Buting.cc */
.footer {
    text-align: center;
    font-size: 15px;
    box-sizing: border-box;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.footer>span {
    margin: 0 10px;
}

.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

#form-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 583px;
    width: 674px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 使图像覆盖整个容器 */
    z-index: -1;
    /* 确保图像在内容后面 */
}

#toggle-form {
    margin-top: 20px;
}

.form {
    position: absolute;
    top: 120px;

    width: 330px;
    text-align: center;
}

.nav-container {
    display: flex;
    align-items: center;
    font-size: 20px;

}

.nav-container>div {
    margin-right: 20px;
    cursor: pointer;
}

.inputForm {
    padding-top: 30px;
    box-sizing: border-box;
}

.inputForm .input {
    display: flex;
    align-items: center;
    border: 1px #DEF8FE solid;
    border-radius: 5px;
    margin-bottom: 20px;
}

.inputForm .input>div {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 8px;
    flex-shrink:0;
}

.inputForm .input>input {
    border: none;
    padding: 8px;
    background-color: transparent;
    max-width: 230px;
    flex-shrink:1;
}
.sendCode{
    position: absolute;
    right: 5px;
}
input::after {
    border: #DFF8FF 2px solid;
}

.button {
    padding: 10px 20px;
    background-color: #DEF8FE;
    border: none;
    border-radius: 5px;
    color: #335096;
    letter-spacing: 5px;
    text-align: center;
    max-width: 130px;
    cursor: pointer;
    font-weight: 600;
    margin: 0 auto;
}

.weight {
    font-weight: 600;
    color: #DFF8FF;
    font-size: 22px;
    border-bottom: #DFF8FF 2px solid;
}

/* 移除 input 元素的默认 outline */
input:focus {
    outline: none;
}

input {
    color: #fff;
}

/* 添加自定义的焦点样式 */
input:focus {
    box-shadow: 0 0 5px #c4dae0;
    border: 1px solid #c4dae0;
}

.agreement {
    font-size: 14px;
    color: #DFF8FF;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agreement .checkbox-no{
    border: #DEF8FE solid 2px;
    width: 10px;
    height: 10px;
    cursor: pointer;
}
.agreement .checkbox{
    border: #DEF8FE solid 2px;
    background-color: #5ECB6E;
    width: 10px;
    height: 10px;
    cursor: pointer;
}
.startGame{
    position: fixed;
    bottom: 250px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}   
/* 作者:不停 / my@Buting.cc */
.RealnameAuthentication{
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 300px;
    background-color:#345199;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    z-index: 55;
}
