:root {
	--page-width: 1200px; /* 可调整的页面宽度变量 */
}
a {
	color: #555555;
	text-decoration: none;
}
a:hover{color:#1235ab;}
.page-container {
	width: var(--page-width);
	margin: 0 auto;
}
.f12{font-size:12px;}
.f14{font-size:14px;}

.bg-e9{background:#e9e9e9;}

.gray3{color:#333333;}
.gray4{color:#444444;}
.gray5{color:#555555;}
.gray6{color:#666666;}
.gray9{color:#999999;}

.header-logo {
	display: flex;
	align-items: center;
}
.header-logo img {
	height: 50px;
	margin-right: 10px;
}
.banner {
	background: linear-gradient(to right, #0058c8 40%, #00a6e5);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.banner img{margin:0 auto;}    
.logobar{padding:20px 0px;}
.logo-brand{text-decoration:none;}
.logo-brand span{color:#444445;margin-left:10px;}
.navbar{background:url(../../images/navbg.jpg) center center;padding:0px;}
.nav-item{padding:0px;}
.nav-item.active,.nav-item:hover{background:#1846c9;}
.nav-item.active .nav-link,.nav-item:hover .nav-link{color:#ffffff;font-weight:bold;}
.nav-link{color:#ffffff;padding:15px 30px!important;display:block;font-size:1.125rem;}
.nav-link span{color:#ffffff;padding-left:30px;}

.login-box {
	max-width: 350px;
	margin-top:-20px;
	padding: 20px;
	border: 1px solid #dee2e6;
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.btn-login{background:#2990f5;border-color:#2990f5;color:#ffffff;transition: all 0.3s ease;}
.btn-login:hover{background:#247acf;border-color:#247acf;color:#ffffff;transform: translateY(-2px);}
.btn-register {
	background: linear-gradient(to right, #ff7e67, #fea759);
	border: none;
	color: white;
	transition: all 0.3s ease;
}

.btn-register:hover {
	background: linear-gradient(to right, #fd6c53, #fd9a46);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(255, 126, 103, 0.3);
}
.input-group-text{color:#2990f5;background:none;}
footer{margin-top:30px;}
footer .page-container{border-top:1px solid #eeeeee;padding-top:30px;font-size:14px;}
.list-group-item{
	border:none;
	margin:2px 0px;
	display: flex;
	align-items: center;
	height: 30px;
}
.list-group-item .text-content {
	flex: 1;
	margin-right: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list-group-item .time {
	color: #6c757d;
	font-size: 0.875rem;
	white-space: nowrap;
}
.content img{display:inline-block;}
.content img,.content table{max-width:90%;margin:0 auto;}
.content a{text-decoration:underline;color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));}
.form-row {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.form-row label {
	min-width: 120px;
	margin-bottom: 0;
	margin-right: 10px;
}

.form-row .input-group {
	flex: 1;
}

/* 登录页面主体样式 */
.login-body {
  background-color: #f8fafc;
  min-height: 100vh;
  font-family: 'Inter', sans-serif; /* 统一字体 */
}

/* 通用过渡动画设置 */
.login-body .form-control,
.login-body .btn-primary,
.login-body .toggle-password,
.login-body .text-primary {
  transition: all 0.3s ease;
}

/* 登录容器样式 */
.login-body .login-container {
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
  animation: fadeIn 0.5s ease forwards;
}

/* 左侧图片区域样式 */
.login-body .login-image {
  background: linear-gradient(rgba(20, 86, 188, 0.9), rgba(20, 86, 188, 0.9)), 
              url('/images/login-bg.png') no-repeat center center;
  background-size: cover; /* 优化背景图适配 */
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px; /* 确保移动端有足够高度 */
}

/* 右侧表单区域样式 */
.login-body .login-form {
  padding: 40px;
}

/* 表单控件样式 */
.login-body .form-control {
  height: 50px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding-left: 15px;
}

.login-body .form-control:focus {
  border-color: #3969b3;
  box-shadow: 0 0 0 3px rgba(41, 144, 245, 0.1); /* 调整阴影颜色与主题一致 */
  outline: none;
}

/* 按钮样式 */
.login-body .btn-primary {
  background-color: #3969b3;
  border-color: #3969b3;
  height: 50px;
  border-radius: 8px;
  font-weight: 600;
}

.login-body .btn-primary:hover {
  background-color: #247acf;
  border-color: #247acf;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加hover阴影增强效果 */
}

/* 文本样式 */
.login-body .text-primary {
  color: #3969b3 !important;
  text-decoration: none;
}

.login-body .text-primary:hover {
  color: #247acf !important;
  text-decoration: underline; /* 添加下划线增强交互提示 */
}

.login-body .form-label {
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px; /* 增加标签与输入框间距 */
}

.login-body .brand-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* 表单布局样式 */
.login-body .form-group {
  margin-bottom: 20px;
}

.login-body .alert {
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: none; /* 移除默认边框 */
}

/* 密码可见性切换按钮 */
.login-body .password-wrapper {
  position: relative;
}

.login-body .toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
  z-index: 10; /* 确保图标在输入框上方 */
}

.login-body .toggle-password:hover {
  color: #247acf;
}
.login-body .input-group-text{color: #3969b3;}
/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式优化 */
@media (max-width: 768px) {
  .login-body .login-form,
  .login-body .login-image {
    padding: 30px 20px;
  }
  
  .login-body .brand-logo {
    font-size: 24px;
  }
}
    