html, body {
    width: 100%;
    height: 100%;
}

body {
    background: rgb(204, 0, 153);
    background: -moz-linear-gradient(90deg, rgba(204, 0, 153, 1) 0%, rgba(144, 51, 204, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(204, 0, 153, 1) 0%, rgba(144, 51, 204, 1) 100%);
    background: linear-gradient(90deg, rgba(204, 0, 153, 1) 0%, rgba(144, 51, 204, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cc0099", endColorstr="#9033cc", GradientType=1);
}

.layui-container {
    background: url(../img/login/youjiu_bg.png) fixed;
}


.layui-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
}

.layui-container .login-logo {
    padding-left: 250px;
    display: inline-block;
    transform: translateY(-50%);
    top: 50%;
    position: relative;
    text-align: center;
    height: 380px;
}


.login-form {
    text-align: center;
    min-width: 500px;
    min-height: 500px;
    padding: 0;
    display: inline-block;
    width: 420px;
    height: 420px;
    box-sizing: border-box;
    background: rgb(204, 0, 153);
    background: -moz-linear-gradient(90deg, rgba(204, 0, 153, 1) 51%, rgba(153, 0, 153, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(204, 0, 153, 1) 51%, rgba(153, 0, 153, 1) 100%);
    background: linear-gradient(90deg, rgba(204, 0, 153, 1) 51%, rgba(153, 0, 153, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cc0099", endColorstr="#990099", GradientType=1);
    box-shadow: 3px -2px 1px #0d73f90a;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.45);
    top: 50%;
    border-radius: 20px;
    transform: translateY(-50%);
}

.ns-login-logo {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
}


.layui-form-title h1 {
    color: #FFFFFF;
    font-size: 35px;
    font-weight: 600;
    padding: 50px 0 0 0;
    letter-spacing: 3px
}


.layui-form-title h2 {
    color: #FFFFFF;
    font-size: 37px;
    font-weight: 500;
    padding: 8px 0;
}

.layui-form-title h5 {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    padding-left: 0px;
    padding-bottom: 10px;
}

.layui-form-item {
    width: 360px;
    height: 48px;
    margin: 0 auto 15px;
    position: relative;
}

.ns-login-btn .layui-btn {
    height: 40px !important;
    width: 150px;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.19);
    border: rgba(255, 255, 255, 0.56) 1px solid;
    background-color: #ac40a4 !important;
}

.ns-login-btn .layui-btn {
    width: 150px;
    font-size: 23px !important;
    font-weight: 400 !important;
    height: 40px !important;
    border-radius: 20px !important;
    background-color: rgba(133, 121, 96, 0.15);
}

.layui-form-item > input {
    width: 100%;
    height: 40px;
    padding-left: 60px;
    box-sizing: border-box;
    background-color: rgba(203, 155, 155, 0.2);
    border-width: 1px;
    color: #FFFFFF;
    border-radius: 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.59);
    overflow: hidden;

}

input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .6);
}

input:-moz-placeholder {
    color: rgba(255, 255, 255, .6);
}

input::-moz-placeholder {
    color: rgba(255, 255, 255, .6);
}

input:-ms-input-placeholder {
    color: rgba(255, 255, 255, .6);
}

.layui-input:focus {
    border-width: 1px !important;
    border-color: rgba(255, 255, 255) !important;
    box-shadow: 0 0 6px 3px rgba(255, 255, 255, .1);
}


input:-webkit-autofill {
    /*box-shadow: 0 0 0px 1000px rgba(255, 255, 0, 0.5) inset !important;*/
    /*-webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.5) inset !important;*/
    /*text-fill-color: rgba(255,255,255,1);*/
    /*-webkit-text-fill-color: rgba(255,255,255,1);*/

    -webkit-text-fill-color: #fff !important;
    transition: background-color 9999s ease-in-out 0s;
    -webkit-transition-delay: 9999s;
}

.ns-input-icon {
    position: absolute;
    top: 10px;
    left: 11px;
    color: #fff;
    font-size: 15px;
}

.layui-form-forget {
    display: block;
    margin: 0 auto;
    width: 80%;
    text-align: right;
    font-size: 13px;
    color: #C2C2C2;
    margin-top: 10px;
}

.layui-btn {
    height: 50px;
    border-radius: 3px;
    font-size: 16px;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, .15);
}


.verify-code-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 120px;
    height: 40px;
    overflow: hidden;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.verify-code-box .verify-code-img {
    text-align: right;
}

.verify-code-img img {
    height: 100%;
    opacity: 0.3;
}


.ns-login-bottom {
    color: #fff;
    box-sizing: border-box;
    text-align: center;
    padding-bottom: 50px;
    padding-top: 50px;
    line-height: 1.8;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ns-login-bottom a {
    color: #FFFFFF;
}

.ns-login-bottom .gov-box img {
    max-width: 20px;
    max-height: 20px;
    margin-right: 5px;
}

.ns-footer-img {
    margin-bottom: 18px;
}

.ns-footer-img img {
    max-width: 100px;
    max-height: 27px;
}