* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/1080.jpg);
    background-size: cover;
}

/* 玻璃拟态卡片 */
.login-card {
    width: 350px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 头像容器 */
.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /*background: rgba(255, 255, 255, 0.2);*/
    background-image: url(../img/hd-img.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

/*.avatar::after {*/
/*    content: '👤';*/
/*    font-size: 40px;*/
/*}*/

/* 表单样式 */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    width: 100%;
}

/* 输入框前置图标 */
.input-group::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 16px;
}

.username-group::before {
    content: '👤';
}

.pwd-group::before {
    content: '🔒';
}

/* 输入框样式 */
.login-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    outline: none;
    font-size: 14px;
    transition: border 0.3s;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.login-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

/* 登录按钮 */
.login-btn {
    padding: 12px;
    background: #fff;
    border: none;
    border-radius: 6px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 核心：优雅提示框样式 */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -50px);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8); /* 半透明黑，高级感 */
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999; /* 置顶显示，不会被遮挡 */
    opacity: 0;
    transition: all 0.3s ease; /* 平滑过渡动画 */
    pointer-events: none; /* 不遮挡页面点击事件 */
}
/* 显示弹窗的样式 */
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.filing{
    margin-top: 30px;
    width: 100%;
    font-size: 12px;
    text-align: center;
}