/*
    * +----------------------------------------------------------------------
    * | 登陆页面
    * +----------------------------------------------------------------------
*/
html,
body {
    height: 100%;
}

body {
    min-width: 1000px;
    color: #888;
    font-size: 12px;
    font-family: Arial, "Microsoft Yahei", "Helvetica Neue", Helvetica, sans-serif;
}

a {
    color: #888;
}

@-webkit-keyframes scale-bg {
    0% {
        background-size: 150%
    }

    50% {
        background-size: 100%
    }

    100% {
        background-size: 150%
    }
}

@keyframes scale-bg {
    0% {
        background-size: 150%
    }

    50% {
        background-size: 100%
    }

    100% {
        background-size: 150%
    }
}

/*
    * +----------------------------------------------------------------------
    * | 登陆框
    * +----------------------------------------------------------------------
*/
.login-container {
    background: url(../images/login-bg.jpg) #525969 center no-repeat;
    background-size: cover;
    -webkit-animation: scale-bg linear 30s infinite forwards;
    animation: scale-bg linear 30s infinite forwards;
    height: 100%
}
/* ==================== LOGO样式 ==================== */
.royal-logo {
     width: 180px!important;
}

.royal-logo span {
    font-size: 18px;
    background: linear-gradient(to right, #16baaa, #764ba2, #f093fb, #f5576c);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    color: #fff;
    font-family: 'Poppins', -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    
    /* 添加动画效果 */
    animation: gradientMove 3s ease infinite;
}

.royal-logo img {
    width: 36px;
}

/* 定义渐变动画 */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 兼容性处理 */
@-webkit-keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.login-form {
    background: #33384C;
    position: fixed;
    left: 50%;
    margin-left: -185px;
    top: 50%;
    margin-top: -150px;
    padding: 90px 60px;
    width: 250px;
    height: 200px;
    border-radius: 16px;
    box-shadow: 2px 0 8px 0 rgb(29 35 41 / 5%);
}

.login-form .layui-form-item {
    position: relative
}

.login-form .layui-icon {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 38px;
    line-height: 38px;
    text-align: center;
}
.layui-btn{
    border-radius: 4px;
}
.login-form .layui-input {
    text-indent: 2em;
    border-radius: 4px;
}

.login-form .login-codeimg {
    overflow: hidden;
    margin-left: 5px;
    border-radius: 2px;
}

.login-form .login-codeimg img {
    width: 100%;
    cursor: pointer;
}
.layui-layer{
    border-radius: 8px;   
}