body{
    margin: 0;
    padding: 0%;
}
#login-app {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-background-img {
    width: 100%;
    height: 100%;
    background-image: url(../img/login-background-img.png);
    /*background-image: linear-gradient(to top, #e3f0ff 0%, #d0e5ff 100%);*/
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    flex-grow: 1;
}

.logo {
    width: 2vw;
    height: 1vh;
    position: absolute;
    top: 5%;
    left: 8%;
    z-index: 4;
}

.login-content{
    padding: 40px 60px;
    min-height: 92vh;
    box-sizing: border-box; /* 确保内边距和边框不增加元素的总宽度 */
    flex-grow: 1;
}

.login-container{
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 8px 1px #0003;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 58%; /* 发现当宽度设置为56%及以下时在1366*768及以下分辨率显示，高宽度比例不再生效*/
    height: auto;
    transform: translate(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
}

.login-form{
    width: 100%;
    background: #eee;
    display: flex
;
}

.login-slogan{
    padding: 160px 80px;
    flex-basis: 60%;
    -webkit-flex-basis: 60%;
    background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
    background-size: cover;
    box-sizing: border-box; /* 确保内边距和边框不增加元素的总宽度 */

}

.slogan-text{
    top: 50%;
    left: 50%;
    width: 100%;
}

.pi-alliance {
    font-size: 2.5vw;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* 添加阴影效果 */
    transform: skewX(-10deg); /* 文字向左倾斜 */
    margin-top: 20px;
    margin-bottom: 80px;
}

.slogan-text p{
    font-size: 1.3vw;
    color: #fff;
    text-align: center;
}

.login-formBox{
    flex-basis: 40%;
    -webkit-flex-basis: 40%;
    box-sizing: border-box; /* 确保内边距和边框不增加元素的总宽度 */
    padding: 30px 20px;
    background: #fff;
    box-shadow: 2px 9px 49px -17px #0000001a;
}

.formBox-title{
    padding: 30px 20px 60px;
}

.formBox-title > div {
    color: #040404;
    font-size: 1.5vw;
    font-weight: bold;
    text-align: center;
}

.formBox-form{
    width: 100%;
    margin: 0;
    padding: 0;
}

.form-inputBox{
    max-width: 100%;
    position: relative;
    padding-left: 20px;
    background-color: #fff;
    margin-top: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc; /* 下划线 */
}

.form-inputBox:hover {
    border-bottom-color: #40a9ff;
}

.icon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    left: 0;
    display: block;
    border: none;
    background-size: 20px;
    background-repeat: no-repeat;

}

.icon-code {
    background-image: url(../img/icon-shield.png);
}

.icon-password {
    background-image: url(../img/icon-lock.png);
}

.inputBox-input {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 32px;
}

.input-field {
    width: 100%;
    color: #333;
    font-size: 16px;
    text-align: left;
    margin: 0px;
    padding: 10px;
    border: none;
    outline: none;
}

.login-form-validateCode {
    position: absolute;
    right: 8px;
    bottom: 0;
    width: 115px;
    cursor: pointer;
}

.login-form-validateCode img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain; /* 保持图片比例，避免拉伸 */
}

.login-formButton{
    margin-top: 40px;
}

.login-form-button {
    width: 100%;
    font-size: 16px;
    background-color: #1890ff;
    color: white;
    border: none;
    padding: 0.7em 0;
    border-radius: 5px; /* 圆角处理 */
    cursor: pointer;
    transition: background-color 0.3s ease; /* 平滑过渡效果 */
}

.login-form-button:hover {
    background-color: #40a9ff ;
}

label.error {
    position:inherit;
}

label.error {
    position: absolute;
    right: 18px;
    top: 6px;
    color: #ef392b;
    font-size: 12px;
    z-index: 99;
}

footer{
    min-height: 5vh;
    text-align: center;
    font-size: 12px;
    line-height: 22px;
    color: #495770;
}
footer p{
    margin: 0px;
}
footer a{
    text-decoration: none;
    color: #495770;
}

footer a:hover {
    color: #1890ff; /* 悬停时的字体颜色 */
}

footer a img {
    vertical-align: middle;
    width: 14px;
    margin-right: 2px;
}