
html,body{
    width:100%;
    height:100%;
    background:#eee;
    overflow:hidden;
    margin:0;
    padding:0;
    position: absolute;
}
html{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body{
    width:100%;
    height:100%;
    background-size: cover!important;
    height: 100vh; /* 使用视口高度来使容器高度充满整个屏幕 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    background: url(../images/login-bg.jpg) no-repeat center center/cover;
    overflow: auto;
}
.login-main {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 750px;
    padding: 0 40px;
}
.main-cont {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1540px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: left;
    height: 16%;
    max-height: 194px;
    display: flex;
    align-items: center;
    justify-content: left;
}
.main-header .header-logo {
    height: 54px;
}
.login-form .panel-header {
    margin-bottom: 40px;
    border: 0;
    padding: 0;
    background: transparent;
}
.login-form .panel-title {
    height: auto;
    color:#333;
    font-size: 24px;
    line-height: 30px;
    font-weight: bolder;
    text-align: center;
}
#loginBtn{
    padding: 0px!important;
    background: #43A5F7;
    border: none;
    color: #fff;
    line-height: 52px;
}
#loginBtn .l-btn-text {
    margin: 0 0 0 10px;
    line-height: 52px;
    font-size: 16px;
    letter-spacing: 10px;
}
#loginBtn:hover {
    opacity: .9;
}
.logo {
    width: 1.49rem;
    height: 1.08rem;
    position: absolute;
    left: 5%;
    top: 5%;
}
.logo img {
    max-width: 115px;
}
.error-message{
    margin: 4px 0 0 0;
    padding: 0;
    color: #ff4d4f;
    text-align: left;
    font-size: 14px;
}
.login-form {
    width: 100%;
    max-width: 1184px;
    height: 68%;
    max-height: 690px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.form-label {
    float: left;
    width: 50%;
    height: 100%;
}
.form-label .label-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.layui-form {
    float: right;
    width: 50%;
    height: calc(100% - 20px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.layui-form > .panel {
    margin-right: 1%;
    width: 70.6%;
}
.layui-form .panel-body {
    border: none;
    padding: 0;
}
#captcha {
    width:100%;
    height: 100%;
}
.captcha {
    position: absolute;
    width: 118px;
    height: 44px;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    right: 2px;
    top: 2px;
}
#login-canvas{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    position: absolute;
    width: 100%;
    /*background: linear-gradient(130deg, var(--primary-color) 40%, #2ddcd3 100%);*/
    background: #ddd;
    background-image: url(/ssirboot/easyui/images/bg.jpg)!important;
    background-size: cover; /* 背景图片覆盖整个元素 */
    background-repeat: no-repeat; /* 背景图片不重复 */
    background-position: center; /* 背景图片居中 */
}
.footer {
    display: inline-block;
    position: absolute;
    bottom: 0px;
    left: 0;
    text-align: center;
    font-size: 14px;
    color: #333;
    z-index: 99;
    width: 100%;
}

.layui-input-wrapper {
    position: relative;
}
.layui-input-wrapper .layui-icon {
    position: absolute;
    left: 10px; /* 根据需要调整 */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999; /* 图标颜色 */
}
.layui-input-wrapper .layui-icon.passwordbox-open {
    background: url(../images/icon-eye.png) no-repeat 0 -20px/100% auto;
}
.layui-input-wrapper .layui-icon.passwordbox-close {
    background: url(../images/icon-eye.png) no-repeat 0 0/100% auto;
}
.layui-input-wrapper .layui-icon:first-child {
    display: none;
}
.layui-form-item {
    margin-bottom: 24px;
}
.layui-input {
    height: 48px;
    background: #F9F9F9;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    padding: 0 18px;
}
.btn-group {
    margin: 64px 0 0;
}
.module-dialog {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #444;
    background: rgba(0, 0, 0, 0.4);
    min-width: 0;
    display: none;
}
.module-dialog .dialog-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.module-dialog .dialog-cont {
    position: relative;
    background: #fff;
    padding: 20px 25px 30px;
}
.module-dialog .dialog-head {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    line-height: 20px;
}
.module-dialog .dialog-head .head-text {
    float: left;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.module-dialog .dialog-head .head-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(../images/dialog-close-icon.png) no-repeat center center;
    background-size: 70%;
    cursor: pointer;
    opacity: 0.8;
}
.el-btn {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    padding: 0 15px;
    line-height: 42px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    font-weight: normal;
    background: #43A5F7;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}
.el-btn:hover {
    opacity: .9;
}
.el-btn.loading:after {
    content: '';
    position: relative;
    top: -1px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 3px;
    width: 16px;
    height: 16px;
    background: url(../images/loading-white.gif);
    background-size: 100%;
}
.el-ctl {
    width: 100%;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    line-height: 20px;
    font-size: 14px;
    outline: none;
}
.el-ctl:focus {
    border-color: #43A5F7;
}