*{margin:0;padding:0;box-sizing:border-box}
body{
    background:#f7f8fa;
    font-family:"PingFang SC","Microsoft YaHei";
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px 15px;
}
.container{
    width:100%;
    max-width:420px;
}

/* 登录卡片 */
.login-card{
    background:#fff;
    border-radius:24px;
    padding:45px 35px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
.login-card .logo{
    text-align:center;
    margin-bottom:35px;
}
.login-card .logo h1{
    font-size:30px;
    color:#4158D0;
    font-weight:700;
    margin-bottom:8px;
}
.login-card .logo p{
    color:#999;
    font-size:14px;
}

/* 提示框 */
.alert{
    padding:14px 18px;
    border-radius:12px;
    margin-bottom:22px;
    font-size:14px;
    line-height:1.5;
}
.alert-danger{background:#ffebee;color:#c62828;}

/* 表单 */
.form-item{margin-bottom:22px;}
.form-item label{
    display:block;
    margin-bottom:8px;
    color:#333;
    font-size:14px;
    font-weight:500;
}
.form-item .form-input{
    width:100%;
    height:50px;
    padding:0 18px;
    border:1px solid #eaecef;
    border-radius:12px;
    font-size:15px;
    color:#333;
    transition:all 0.2s;
}
.form-item .form-input:focus{
    border-color:#4158D0;
    outline:none;
    box-shadow:0 0 0 3px rgba(65,88,208,0.1);
}

/* 记住我 */
.form-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}
.form-options .remember{
    display:flex;
    align-items:center;
    gap:8px;
    color:#666;
    font-size:14px;
    cursor:pointer;
}
.form-options .remember input{
    width:16px;
    height:16px;
    accent-color:#4158D0;
}

/* 按钮 */
.form-btn{
    width:100%;
    height:52px;
    background:linear-gradient(135deg,#4158D0 0%,#7A7FF3 100%);
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:all 0.2s;
    box-shadow:0 4px 15px rgba(65,88,208,0.3);
}
.form-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(65,88,208,0.4);
}

/* 底部链接 */
.footer-link{
    text-align:center;
    margin-top:28px;
    color:#666;
    font-size:14px;
}
.footer-link a{
    color:#4158D0;
    text-decoration:none;
    font-weight:500;
}
.footer-link a:hover{
    text-decoration:underline;
}