/* ===== 背景图片样式（新增） ===== */

/* 背景容器：固定定位，铺满全屏 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* 背景图片：引用 images/1.jpg */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/login.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* 缓慢缩放动画，增加氛围感 */
    animation: bgZoom 20s ease-in-out infinite alternate;
}

/* 半透明遮罩：让背景暗一点，突出登录框 */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.45)
    );
}

/* 背景缓慢缩放动画 */
@keyframes bgZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

/* ===== 登录卡片美化（配合背景图） ===== */
.login-container {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.login-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

/* 标题 */
.login-container h2 {
    color: #FF6B35;
    border-bottom: 3px solid #FFC028;
    padding-bottom: 15px;
    margin-bottom: 1.8rem;
    font-weight: 700;
}

/* 输入框 */
.form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0.85rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
    border-color: #FF9D6C;
    box-shadow: 0 0 0 4px rgba(255, 157, 108, 0.2);
}

/* 主按钮 */
.btn-primary {
    background: linear-gradient(135deg, #FF6B35, #FF9D6C);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
    transition: all 0.3s ease;
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 107, 53, 0.45);
}

/*
 * 第三方登录样式（.divider / .social-login / .btn-social / .btn-qq|wechat|douyin|kuaishou）
 * 以及首次绑定弹窗（.modal-overlay / .modal-box）随功能一并移除。
 * 将来接入真实开放平台时再补回来。
 */

/* 消息提示 */
#loginMessage.error {
    background: #ffe8e8;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    padding: 10px 14px;
    border-radius: 12px;
}
#loginMessage.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px 14px;
    border-radius: 12px;
}
#loginMessage.info {
    background: #e7f3fe;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 10px 14px;
    border-radius: 12px;
}