﻿/* ========== 输入框占位符样式 ========== */
input::-webkit-input-placeholder { color: #999; font: 14px "Microsoft YaHei"; }
input:-moz-placeholder { color: #999; font: 14px "Microsoft YaHei"; }
input::-moz-placeholder { color: #999; font: 14px "Microsoft YaHei"; }
input:-ms-input-placeholder { color: #999; font: 14px "Microsoft YaHei"; }

/* ========== 全页背景 ========== */
#bg5 {
    width: 100%;
    height: 100vh;
    background: url(/Content/images/m1logo.png) no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* ========== 头部 Logo 区域 ========== */
.head5 {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.head5 .head-top-box5 {
    padding: 14px 0;
}

.max-mar {
    width: 1200px;
    margin: 0 auto;
}

.head5 .head-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo5 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo5 img {
    height: 56px;
    width: auto;
}

/* ========== 登录区域容器 ========== */
.login-box5 {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
    background: none;
}

/* ========== 登录卡片 ========== */
.login5 {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    padding: 36px 34px;
    box-sizing: border-box;
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}

/* ========== 登录标题栏 ========== */
.login5 .login-mode {
    height: 48px;
    background: #f0f4f8;
    border-radius: 8px;
    overflow: hidden;
}

.login5 .login-mode a {
    font-size: 16px;
    display: inline-block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    color: #666;
    transition: all 0.3s;
}

.login5 .login-mode .login-active {
    color: #fff;
    background: linear-gradient(135deg, #012150 0%, #1a4c8a 100%);
    font-weight: 600;
    letter-spacing: 2px;
}

.login5 .login-mode a:hover {
    color: #012150;
}

.login5 .login-mode .login-active:hover {
    color: #fff;
}

/* ========== 输入行 ========== */
.login5 .feed-in {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 18px;
    height: 48px;
    line-height: 48px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.login5 .feed-in .feed-in-left {
    display: inline-block;
    width: 48px;
    height: 48px;
    z-index: 999;
    flex-shrink: 0;
    background-color: #012150;
    background-repeat: no-repeat;
    background-position: center;
}

.login5 .feed-in .username {
    background: #012150 url(../img/user-bg.png) no-repeat center;
}

.login5 .feed-in .password {
    background: #012150 url(../img/password-bg.png) no-repeat center;
}

.login5 .feed-in .code {
    background: #012150 url(../img/code-bg.png) no-repeat center;
}

.login5 .feed-in .feed-in-right {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.login5 .feed-in input {
    flex: 1;
    min-width: 0;
    height: 48px;
    line-height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-left: none;
    outline: none;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s;
}

.login5 .feed-in input:focus {
    border-color: #012150;
}

/* ========== 验证码图片 ========== */
/* 验证码行：输入框固定窄宽，图片自适应填满剩余 */
.feed-in-right:has(#vcode) {
    flex: 0 0 140px;
}

#imgCode {
    cursor: pointer;
    height: 48px;
    flex: 1;
    min-width: 100px;
    border: 1px solid #e0e0e0;
    border-left: none;
    object-fit: cover;
}

#vcode {
    height: 48px;
}

/* ========== 登录按钮 ========== */
.login5 .submit {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    width: 100%;
    height: 48px;
    line-height: 48px;
    margin-top: 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #012150 0%, #1a4c8a 100%);
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 6px;
}

.login5 .submit:hover {
    background: linear-gradient(135deg, #013a70 0%, #2059a8 100%);
    box-shadow: 0 6px 20px rgba(1, 33, 80, 0.35);
    transform: translateY(-1px);
}

.login5 .submit:active {
    transform: translateY(0);
}

/* ========== 底部链接 ========== */
.login5 .login-bot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
}

.login5 .login-bot a {
    color: #888;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.login5 .login-bot .forget-left {
    margin-right: 0;
}

.login5 .login-bot a:hover {
    color: #012150;
}
