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

.login-bady {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: url('../images/bg-login.jpg') no-repeat center center;
    background-size: cover;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wraper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    z-index: 2;
}

.login-card {
    width: 800px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.illustration-wrap {
    width: 50%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbff;
}

.illustration-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}

.login-form-wrap {
    width: 50%;
    padding: 50px 40px;
}

.login {
    width: 100%;
}

.login header {
    text-align: left;
    margin-bottom: 30px;
}

.login header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.login-bar {
    width: 100%;
}

.login-bar .layui-form-item {
    position: relative;
    margin-bottom: 20px;
}

.login-bar .layui-form-item.captcha-item {
    margin-bottom: 30px;
}

.login-bar .layui-form-item .login-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    z-index: 10;
    color: #999;
    font-size: 16px;
    transition: color 0.3s ease;
    pointer-events: none;
    line-height: 1;
}

.login-bar .layui-form-item input {
    width: 100%;
    height: 40px;
    padding-left: 40px;
    padding-right: 14px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.login-bar .layui-form-item input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.1);
}

.login-bar .layui-form-item input:focus ~ .login-icon,
.login-bar .layui-form-item input:focus + .login-icon {
    color: #1890ff;
}

.login-bar .layui-form-item .captcha-wrap {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.login-bar .layui-form-item .captcha-wrap img {
    height: 32px;
    display: block;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 4px;
    background: #1890ff;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-submit:hover {
    background: #40a9ff;
}

.btn-submit:active {
    background: #096dd9;
}

.footer-text {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: #999;
}

@media screen and (max-width: 750px) {
    .login-card {
        width: 92%;
        flex-direction: column;
    }

    .illustration-wrap {
        width: 100%;
        padding: 30px 20px;
    }

    .illustration-img {
        max-width: 200px;
    }

    .login-form-wrap {
        width: 100%;
        padding: 30px 20px 20px;
    }
}