/* 客户端登录页（view / view2，含 Safari 窄屏） */
body.customer-login-page {
    display: flex;
    flex-direction: column;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    background: #eef3f8;
}

body.customer-login-page .topbj {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 12px 12px !important;
    box-sizing: border-box;
    background-color: #eef3f8 !important;
    background-image: none !important;
    overflow: hidden;
}

/* view2：隐藏桌面装饰（横幅图、占位块） */
body.customer-login-page .logo_go,
body.customer-login-page .new_login > .login1,
body.customer-login-page .login > .login1 {
    display: none !important;
}

body.customer-login-page .new_top {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 4px 0 8px !important;
    margin: 0 !important;
    position: static !important;
    flex-shrink: 0;
}

body.customer-login-page .new_dh,
body.customer-login-page .new_tel {
    float: none !important;
    width: 100% !important;
    text-align: center;
}

body.customer-login-page .new_tel font {
    font-size: 16px !important;
}

body.customer-login-page .new_logo {
    text-align: center;
}

body.customer-login-page .new_logo img {
    max-width: 140px !important;
    width: auto !important;
    height: auto !important;
}

/* view 顶栏 */
body.customer-login-page .top {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    flex-shrink: 0;
}

body.customer-login-page .logo {
    float: none !important;
    width: auto !important;
    text-align: center;
    margin: 0 auto 4px;
}

body.customer-login-page .logo img {
    max-width: 140px !important;
    height: auto !important;
}

body.customer-login-page .dh {
    float: none !important;
    width: 100% !important;
    display: none;
}

body.customer-login-page .new_login,
body.customer-login-page .login {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    background: transparent !important;
    box-sizing: border-box;
    flex-shrink: 0;
}

body.customer-login-page .new_login2,
body.customer-login-page .login2,
body.customer-login-page .login2_new,
body.customer-login-page .login2au {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 0 16px !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.customer-login-page .new_login2_1,
body.customer-login-page .login2_1 {
    height: auto !important;
    min-height: 72px;
    line-height: 1.35 !important;
    padding: 18px 12px !important;
    font-size: 18px !important;
    background-size: cover !important;
    word-break: break-word;
}

body.customer-login-page .login2_1 {
    padding-left: 12px !important;
    text-align: center;
}

body.customer-login-page .loginr {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 8px !important;
    padding: 0 !important;
    box-sizing: border-box;
}

body.customer-login-page .loginr ul,
body.customer-login-page .loginr form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 14px 6px !important;
    box-sizing: border-box;
    list-style: none;
}

body.customer-login-page .loginr li {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    box-sizing: border-box;
    list-style: none;
    float: none !important;
}

body.customer-login-page .loginr li > span:empty {
    display: none !important;
}

body.customer-login-page li.pass1,
body.customer-login-page li.new_pass2,
body.customer-login-page li.pass2 {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

body.customer-login-page li.new_pass2 > span,
body.customer-login-page li.pass2 > span {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box;
    min-height: 44px;
    height: 44px;
}

body.customer-login-page .new_pass1_1,
body.customer-login-page .new_pass2_1,
body.customer-login-page .pass1_1,
body.customer-login-page .pass2_1 {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 22px !important;
    height: 22px !important;
    z-index: 2;
    pointer-events: none;
}

body.customer-login-page .new_pass1_1 img,
body.customer-login-page .new_pass2_1 img,
body.customer-login-page .pass1_1 img,
body.customer-login-page .pass2_1 img {
    width: 22px !important;
    height: 22px !important;
}

body.customer-login-page input.new_pass1_2,
body.customer-login-page input.new_pass2_2,
body.customer-login-page input.pass1_2,
body.customer-login-page input.pass2_2,
body.customer-login-page .login_code input[type="text"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    line-height: normal !important;
    height: 44px !important;
    padding: 0 12px 0 44px !important;
    margin: 0 !important;
    border: 1px solid #dcdfe6 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #333 !important;
    -webkit-appearance: none;
    appearance: none;
}

/* 密码框叠放：同一位置切换，尊重 JS 的 display:none */
body.customer-login-page li.new_pass2 > span > input.new_pass2_2,
body.customer-login-page li.pass2 > span > input.pass2_2 {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

body.customer-login-page #cy_pwd[style*="display: none"],
body.customer-login-page #cy_pwd[style*="display:none"],
body.customer-login-page #cy_pwdView[style*="display: none"],
body.customer-login-page #cy_pwdView[style*="display:none"] {
    display: none !important;
}

/* li.inpl 是历史类名，勿套用输入框边框 */
body.customer-login-page li.new_pass4,
body.customer-login-page li.new_pass4.inpl,
body.customer-login-page li.pass4,
body.customer-login-page li.pass4.inpl {
    border: none !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
}

body.customer-login-page .login_code {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    box-sizing: border-box;
}

body.customer-login-page .login_code input {
    flex: 1 1 120px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    font-size: 16px !important;
    padding: 0 12px !important;
    box-sizing: border-box;
    border: 1px solid #dcdfe6 !important;
    border-radius: 4px !important;
    background: #fff !important;
}

body.customer-login-page .login_code img {
    margin-left: 0 !important;
    max-height: 44px;
    width: auto;
    flex-shrink: 0;
}

body.customer-login-page .new_pass4,
body.customer-login-page .pass4,
body.customer-login-page li.new_pass4 {
    width: 100% !important;
    padding: 4px 14px 0 !important;
    box-sizing: border-box;
    margin-top: 4px !important;
}

body.customer-login-page .new_pass4 input,
body.customer-login-page .pass4 input,
body.customer-login-page .pass4 .ajax-loginpost,
body.customer-login-page .ajax-loginpost,
body.customer-login-page #chosece1 {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box;
    border: none !important;
    border-radius: 4px !important;
    background: var(--dl-color-primary-dark, #005784) !important;
    color: #fff !important;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

body.customer-login-page li[style*="margin-top: 30px"] {
    padding: 4px 14px 8px !important;
    margin-top: 4px !important;
}

body.customer-login-page .checkPass,
body.customer-login-page label[for="isSavePwd"] {
    font-size: 15px !important;
}

body.customer-login-page .new_foot,
body.customer-login-page .foot {
    flex-shrink: 0;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) !important;
    font-size: 12px !important;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
}

body.customer-login-page .foot a {
    display: inline-block;
    margin: 4px 8px;
}

body.customer-login-page .login {
    background: transparent !important;
    background-image: none !important;
    min-width: 0 !important;
    height: auto !important;
}

body.customer-login-page .new_login2,
body.customer-login-page .login2 {
    background: #fff !important;
    background-image: none !important;
}

body.customer-login-page .new_login2_1 {
    background-color: var(--dl-color-primary-dark, #273cb0) !important;
    background-image: none !important;
    color: #fff !important;
    text-align: center !important;
    line-height: 1.35 !important;
}

body.customer-login-page .ajax-loginpost.hidden,
body.customer-login-page #chosece1.hidden {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
