/* 登录页面基础样式 */
body {
    background: #000;
    min-height: 100vh;
    font-family: 'PingFang TC', sans-serif;
}

.layui-layer-purple {
            background-color: #D0006E;
            border-color: #7b1fa2;
        }
        .layui-layer-purple .layui-layer-title {
            background: #D0006E;
            color: #fff;
            border-bottom: none;
        }
        .layui-layer-purple .layui-layer-btn a {
            background-color: #D0006E;
            color: #fff;
        }

.register-page {
    background: url('../images/bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    overflow-y: auto;
}

.logo-container {
    margin-bottom: 13px;
}

.sub-body .logo-container{
	display:none;
}

.sub-body.register-page{
	min-height:auto; max-height:100%; background:#191919;
}


.sub-body .login-form{
	background:none; box-shadow:none; padding-left:0px; padding-right:0px;
}

.logo {
    width: 120px;
    height: auto;
}

.login-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.login-form {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.login-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.login-tabs.none .tab-item:first-child,.login-tabs.none .tab-item:nth-child(2){
    display: none;
}

.tab-item {
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    cursor: pointer;
    position: relative;
    padding-bottom: 9px;
    transition: color 0.3s;
}

.login-tabs .tab-item:last-child{
    display: none;
}

.login-tabs.none .tab-item:last-child{
    display:inline-block;
}

.tab-item.active {
    color: #D0006E;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: #D0006E;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.layui-input {
    width: 100%;
    height: 46px;
    background: rgba(51, 51, 51, 0.8);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    padding: 0 15px;
    box-sizing: border-box;
}

.layui-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.layui-input:focus {
    outline: none;
    background: rgba(51, 51, 51, 0.9);
}

.forget-pwd,.back-login{
    color: #D0006E;
    text-align: right;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
}

.verification-group {
    margin-bottom: 20px;
}

.verification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.verification-header label {
    margin-bottom: 0;
}

.verification-input {
    display: flex;
    gap: 15px;
}

.verification-input .layui-input {
    flex: 1;
}

.get-code-btn {
    height: 36px;
    color: #D0006E;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    transition: all 0.3s;
    background: none;
    outline: none;
    border: none;
}

.get-code-btn span{
    color: white; display: inline-block; margin-right: 5px;
}

.get-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn {
    display: block;
    width: 50%;
    height: 50px;
    background: #D0006E;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    margin: 0 auto;
    transition: background 0.3s;
    margin-top: 30px;
    margin-bottom: 20px;
}

.submit-btn:hover {
    background: #ff0088;
}

.register-link {
    color: #D0006E;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s;
}

.register-link:hover {
    color: #ff0088;
}

@media screen and (min-width: 769px) {

.login-form{
    padding-left: 100px;
    padding-right: 100px;
}

}


@media screen and (min-width: 769px) and (max-width: 1600px) {
    .layui-input {
        height: 42px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .login-form{
        padding-top: 40px; padding-bottom: 40px;
    }
}






/* 移动端样式 */
@media screen and (max-width: 768px) {
    .register-page {
        padding: 0;
    }

    .logo-container {
        margin-bottom: 0;
        background: rgba(0, 0, 0, 0.75);
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    .logo {
        width: 80px;
    }

    .login-container {
        max-width: 100%;
    }
	
	.sub-body .login-container {
		max-width: 90%;
	}

    .login-form {
        padding: 20px;
        border-radius: 0;
        min-height: calc(100vh - 110px);
        box-shadow: none;
    }

    .login-tabs {
        gap: 20px;
        margin-bottom: 25px;
    }

    .tab-item {
        font-size: 20px;
    }

    .tab-item.active::after {
        width: 70%;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 14px;
    }

    .layui-input {
        height: 44px;
        font-size: 14px;
    }

    .verification-input {
        flex-direction: column;
        gap: 10px;
    }

    .verification-header {
        justify-content: space-between;
    }

    .get-code-btn {
        font-size: 14px;
    }

    .submit-btn {
        height: 44px;
        font-size: 16px;
        margin-bottom: 25px;
        margin-top: 25px;
    }

    .forget-pwd,
    .register-link {
        font-size: 12px;
    }

    .verification-input .layui-input{
        flex: none;
    }
}
