.login-mask {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99;
}

.login-modal {
    display: none;
    width: 400px;
    height: 400px;
    padding: 50px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    z-index: 100;
    border-radius: 7px;
}

.header-title {
    font-size: 24px;
    font-weight: 500;
}

.header-phone-btn, .header-code-btn {
    cursor: pointer;
    color: #7a46fc;
}

.scan-code-login {
    display: block;
}

.qrcode {
    text-align: center;
    margin: 67px 0;
}

.qrcode img {
    width: 180px;
    height: 180px;
}

.phone-login {
    display: none;
}

.header-sub-title {
    font-size: 14px;
    margin-top: 5px;
    color: #999;
}

.phone {
    font-size: 14px;
    margin-top: 55px;
}

.phone-input {
    width: 315px;
    height: 30px;
    margin-left: 5px;
    padding: 5px 10px;
    font-size: 15px;
    border: 0;
    border-bottom: 1px solid #f1f1f1;
}
.phone-input:focus-visible {
    outline: none!important;
}

.phone-code {
    display: flex;
    margin-top: 30px;
    border-bottom: 1px solid #f1f1f1;
}

.code-input {
    width: 260px;
    height: 30px;
    padding: 5px 10px;
    border: 0;
    font-size: 15px;
}

.code-input:focus-visible {
    outline: none!important;
}

.phone-pwd {
    display: none;
    margin-top: 30px;
    border-bottom: 1px solid #f1f1f1;
}

.pwd-input {
    width: 400px;
    height: 30px;
    padding: 5px 10px;
    border: 0;
    font-size: 15px;
}

.pwd-input:focus-visible {
    outline: none!important;
}

.phone-code-btn {
    color : rgba(0, 0, 0, .25);
    cursor: not-allowed;
}

.phone-change {
    margin-top: 10px;
    cursor: pointer;
}

.phone-code-change {
    margin-top: 10px;
    cursor: pointer
}

.phone-pwd-change {
    display: none;
    margin-top: 10px;
    cursor: pointer
}

.agreement {
    margin-top: 60px;
    font-size: 15px;
}

.agreement label{
    cursor: pointer;
}

.user-agreement {
    cursor: pointer;
}

.privacy-agreement {
    cursor: pointer;
}

.agree-mask {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.user-agree-modal, .privacy-agree-modal {
    display: none;
    width: 800px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    z-index: 10000;
    border-radius: 7px;
}

.modal-title {
    font-weight: bold;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 16px 20px;
}

.modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 10px 16px;
}

.footer-btn {
    cursor: pointer;
    background-color: #7a46fc;
    color: #FFFFFF;
    width: 90px;
    height: 32px;
    line-height: 30px;
    font-size: 14px;
    text-align: center;
    border-radius: 7px;
}

.code-sure-btn, .login-btn {
    margin-top: 20px;
    border-radius: 31px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: rgba(0, 0, 0, .25);
    background: #f5f5f5;
    border-color: #d9d9d9;
    text-shadow: none;
    box-shadow: none;
    cursor: not-allowed;
}

.code-mask {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.code-modal {
    display: none;
    width: 370px;
    padding: 50px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    z-index: 1000;
    border-radius: 7px;
}

.checked-code-input {
    width: 120px;
    height: 30px;
    padding: 5px 10px;
    border: 0;
    font-size: 14px;
}

.checked-code-input:focus-visible {
    outline: none!important;
}

.checked-code-img {
    width: 117px;
    height: 36px;
}


/* 隐藏默认的复选框 */
input[type="checkbox"] {
    display: none;
}
/* 自定义复选框 */
.custom-checkbox {
    width: 12px;
    height: 12px;
    border: 2px solid #ccc;
    display: inline-block;
    position: relative;
    cursor: pointer;
}
/* 选中状态的背景色 */
input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #7a46fc; /* 选中时的背景色 */
    border-color: #7a46fc; /* 选中时的边框颜色 */
}
/* 选中状态的勾选标记 */
input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.switch-type {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.switch-type-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: -50px -50px 0 0;
}

.switch-type-tip {
    background-color: #7a46fc;
    color: #FFF;
    border-radius: 4px;
    width: 150px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -45px;
    right: 0;
}

.switch-type-tip::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 15px;
    transform: translateX(-50%) rotate(45deg);
    border: 1px solid #7a46fc;
    background: #7a46fc;
    width: 8px;
    height: 8px;
    border-left: 0;
    border-bottom: 0;
}