* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-only-page {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body.login-only-page::before,
body.login-only-page::after {
    content: '';
    position: fixed;
    top: 0;
    width: 50vw;
    height: 100vh;
    background-image: url('../image/login.jpg');
    background-size: 200% 100%;
    background-repeat: no-repeat;
    z-index: 0;
}

body.login-only-page::before {
    left: 0;
    background-position: left center;
    transform: translateX(-100%);
    animation: slideIn 1.6s ease forwards;
}

body.login-only-page::after {
    right: 0;
    background-position: right center;
    transform: translateX(100%);
    animation: slideIn 1.6s ease forwards;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

.login-bg-logo-link {
    position: fixed;
    left: 80px;
    top: 180px;
    width: 480px;
    height: 200px;
    z-index: 5;
    cursor: pointer;
}

.login-only-page .cs-prifile_wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    animation: fadeIn 0.6s ease 0.8s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-only-page .cs-profile_right {
    width: 100%;
}

.login-only-page .cs-form_card {
    background: #ffffff;
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #1E90FF;
}

.login-only-page .cs-form_card_in {
    width: 100%;
}

.login-only-page .cs-form_title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.login-only-page .title-main {
    color: #1E90FF;
    font-size: 26px;
    font-weight: 700;
}

.login-only-page .title-divider {
    color: #cccccc;
    font-size: 22px;
    font-weight: 300;
    margin: 0 6px;
}

.login-only-page .title-register {
    color: #888888;
    font-size: 19px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.login-only-page .title-register::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: #1E90FF;
    transition: width 0.3s ease;
}

.login-only-page .title-register:hover {
    color: #1E90FF;
}

.login-only-page .title-register:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.login-only-page .cs-form_field_wrap {
    position: relative;
    margin-bottom: 18px;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.login-only-page .cs-form_field_wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaaaaa;
    font-size: 16px;
    z-index: 1;
}

.login-only-page .cs-form_field {
    width: 100%;
    height: 46px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 0 15px 0 45px;
    font-size: 14px;
    color: #333333;
    transition: border-color 0.3s ease;
    outline: none;
}

.login-only-page input.cs-form_field,
.login-only-page input#username,
.login-only-page input#password {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

.login-only-page .cs-form_field::placeholder {
    color: #bbbbbb;
}

.login-only-page .cs-form_field:focus {
    border-color: #1E90FF;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
}

.login-only-page .cs-form_field:hover {
    background: #fff !important;
    background-color: #fff !important;
}

.login-only-page input:-webkit-autofill,
.login-only-page input:-webkit-autofill:hover,
.login-only-page input:-webkit-autofill:focus,
.login-only-page input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #333333 !important;
    box-shadow: 0 0 0 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.login-only-page .cs-form_options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 20px 0;
}

.login-only-page .cs-remember_me {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666666;
    cursor: pointer;
    margin: 0;
}

.login-only-page .cs-remember_me input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
}

.login-only-page .cs-remember_me span {
    user-select: none;
}

.login-only-page .cs-forgot_password {
    font-size: 13px;
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-only-page .cs-forgot_password:hover {
    color: #1E90FF;
}

.login-only-page button.cs-btn.cs-style1.cs-btn_lg,
.login-only-page .cs-btn.cs-style1.cs-btn_lg {
    width: 100%;
    height: 48px;
    background: #1E90FF;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.login-only-page button.cs-btn.cs-style1.cs-btn_lg::after,
.login-only-page .cs-btn.cs-style1.cs-btn_lg::after {
    display: none !important;
    opacity: 0 !important;
}

.login-only-page button.cs-btn.cs-style1.cs-btn_lg::before,
.login-only-page .cs-btn.cs-style1.cs-btn_lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transition: left 0.4s ease;
    pointer-events: none;
}

.login-only-page button.cs-btn.cs-style1.cs-btn_lg:hover,
.login-only-page .cs-btn.cs-style1.cs-btn_lg:hover {
    background: #1E90FF !important;
    color: #ffffff !important;
}

.login-only-page button.cs-btn.cs-style1.cs-btn_lg:hover::before,
.login-only-page .cs-btn.cs-style1.cs-btn_lg:hover::before {
    left: 100%;
}

.login-only-page .cs-form_footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.login-only-page .cs-footer_text {
    font-size: 13px;
    color: #999999;
    margin-bottom: 15px;
}

.login-only-page .cs-social_btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.login-only-page .cs-social_btns a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666666;
    text-decoration: none !important;
    transition: background 0.3s ease, color 0.3s ease;
}

.login-only-page .cs-social_btns a:hover {
    background: #1E90FF;
    color: #ffffff;
    text-decoration: none !important;
}

@media screen and (max-width: 768px) {
    .login-only-page .cs-prifile_wrap {
        max-width: 100%;
        padding: 15px;
    }
    
    .login-only-page .cs-form_card {
        padding: 40px 30px;
        border-radius: 16px;
    }
    
    .login-only-page .cs-form_title {
        font-size: 26px;
    }
}

@media screen and (max-width: 480px) {
    .login-only-page .cs-form_card {
        padding: 35px 25px;
    }
    
    .login-only-page .cs-form_title {
        font-size: 24px;
    }
    
    .login-only-page .title-divider {
        font-size: 20px;
    }
    
    .login-only-page .title-register {
        font-size: 18px;
    }
}
.layui-layer-prompt .layui-layer-content {
    padding: 20px !important;
}
.layui-layer-prompt #chkcode_img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: 0 auto 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.layui-layer-prompt #chkcode_img:hover {
    border-color: #1E90FF;
}
.layui-layer-prompt input.layui-layer-input {
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}
.layui-layer-prompt input.layui-layer-input:focus {
    border-color: #1E90FF;
    outline: none;
}
.layui-layer-btn a {
    height: 38px;
    line-height: 38px;
    padding: 0 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}
.layui-layer-btn .layui-layer-btn0 {
    background: #1E90FF !important;
    border-color: #1E90FF !important;
}
.layui-layer-btn .layui-layer-btn0:hover {
    background: #1873CC !important;
    border-color: #1873CC !important;
}
