* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.admin-login-body {
    background:url(/static/admin/imgs/login-bg.png) no-repeat center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;      /* 改为纵向排列，便于放置顶部logo和底部版权 */
    align-items: flex-end;       /* 水平方向整体靠右 (除了logo区域需要特殊处理) */
    justify-content: space-between; /* 上下撑开：logo紧贴顶部，版权紧贴底部 */
    position: relative;
    background-size: cover;
}

.admin-logo-box {
    position: absolute;
    top: 30px;
    left: 35px;
    z-index: 10;
    display: flex;
    align-items: center;
}

.admin-logo-image {
    width: 90px;
    height: 90px;
}

.admin-login-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;    /* 让内部卡片靠右 */
    align-items: center;
    flex: 1 0 auto;               /* 占满剩余高度，配合body的space-between */
    padding-right: 8%;
    padding-left: 20px;            /* 左侧留一点空间，避免贴边 */
}

.admin-login-box {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 4px 18px 0 rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.admin-login-box:hover {
    transform: scale(1.01);
    box-shadow: 0 30px 55px -10px rgba(0, 20, 40, 0.3);
}

.login-header {
    margin-bottom: 1.2rem;
}
.login-header h1 {
    text-align: center;
    color: #0e4291;
}

.login-info-item .layui-input-wrap {
    line-height: 46px;
    margin-bottom: 1.2rem;
}


.login-info-item .layui-input-wrap .layui-input{
    height: 46px;
    font-size: 16px;
    border-radius: 10px;
}

.login-info-item .layui-input-wrap .code {
    width: calc(100% - 130px);
    float: left;
    border-radius: 10px 0 0 10px;
}

.admin-code-img {
    width: 130px;
    height: 46px;
    float: right;
    border-radius: 0 10px 10px 0;
}

.admin-login-box button {
    height: 46px;
    width: 100%;
    margin-top: 40px;
    border-radius: 6px;
    border: 0px;
    font-size: 16px;
    cursor: pointer;
    background-color: #0e4291;
}


.login-footer {
    background-color: rgba(50, 50, 50, 0.1);
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: absolute;
    bottom: 0px;
    color: #ffffff;
    padding: 0 150px;
    font-size: 16px;
    text-align: center;
}

.login-footer span {
    margin-left: 5px;
}
.login-footer a {
    color: #ffffff;
    margin-left: 10px;
}

.login-footer a:hover {
    color: #ff5722;
}

.login-footer a::before{
    height: 18px;
    content: " ";
    margin-left: -8px;
    position: absolute;
    top: 15px;
    background-color: #eee;
    width: 2px;
}


.login-footer a img {
    width: 18px;
    height: 18px;
    margin-bottom: 5px;
}