/* ===== 优化后的简约大气 登录页 ===== */

/* ---------- Body & 背景 ---------- */
body {
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    background: url('/assets/admin/images/login/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    position: relative;
}

/* 半透明遮罩，提升对比度 */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    z-index: 0;
}

/* ---------- 登录框容器 ---------- */
.w-lg-400px {
    position: relative;
    z-index: 1;
    width: 400px;
    padding: 45px 40px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.8s ease;
}

/* 登录框淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 标题 & 提示 ---------- */
/* 大标题 */
.text-color {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #fff !important;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* 注册提示 */
.register-tip {
    text-align: center;
    font-size: 14px;
    margin-bottom: 28px;
    color: #ddd;
}

.register-tip a {
    color: #70b5ff;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.register-tip a:hover {
    text-decoration: underline;
    color: #90caff;
}

/* ---------- 输入框组 ---------- */
.fv-row {
    margin-bottom: 22px;
}
.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #eee;
    text-align: left;
    line-height: 1.2;
}

.form-control {
    width: 93%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #5a9dff;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 8px rgba(90,157,255,0.4);
    outline: none;
}

/* 输入框 placeholder 颜色 */
.form-control::placeholder {
    color: #bbb;
    font-size: 14px;
}

/* ---------- 忘记密码 ---------- */
.forgot {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 18px;
}

.forgot a {
    font-size: 13px;
    color: #70b5ff;
    text-decoration: none;
    transition: 0.3s;
}

.forgot a:hover {
    text-decoration: underline;
    color: #90caff;
}

/* ---------- 登录按钮 ---------- */
.btn {
    width: 100%;
    padding: 13px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg,#5a9dff,#70b5ff);
    color: white !important;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 14px rgba(112,181,255,0.35);
}

.btn:hover {
    transform: scale(1.01); /* 轻微放大一点点 */
    box-shadow: 0 0 15px rgba(90, 157, 255, 0.7), 0 0 30px rgba(112, 181, 255, 0.5); /* 发光效果 */
    background: linear-gradient(135deg,#5a9dff,#70b5ff); /* 保持原渐变 */
}

/* ---------- 登录卡片内链接样式 ---------- */
.w-lg-400px a,
.w-lg-400px a:hover,
.w-lg-400px a:focus,
.w-lg-400px a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* 确保注册提示和忘记密码覆盖原样式 */
.register-tip a,
.register-tip a:hover,
.forgot a,
.forgot a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* 隐藏不必要的提示 */
.d-flex.align-items-center.fw-bold.fs-8 {
    display: none !important;
}

/* 隐藏忘记密码 */
.link-primary.fs-8.fw-bolder {
    display: none !important;
}

.captcha-img {
    height: 40px;
    border: 3px solid #f9bff773;
    border-radius: 10px;
    margin-left: 150px; /* 调整这个值控制水平位置 */
    opacity: 0.6;
    cursor: pointer;
}



                    