* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", "SimHei", sans-serif;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	color: #333;
}

.login-card {
	width: 900px;
	max-width: 95vw;
	min-height: 500px;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 15px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	display: flex;
	flex-direction: row;
	backdrop-filter: blur(10px);
}

.login-brand {
	width: 45%;
	background: linear-gradient(135deg, #1a3a6e, #2c3e50);
	color: #fff;
	padding: 60px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.login-brand img {
	max-width: 240px;
	margin-bottom: 30px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.login-brand h2 {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 15px;
}

.login-brand p {
	font-size: 14px;
	opacity: 0.8;
	font-weight: 300;
}

.login-form-container {
	width: 55%;
	padding: 50px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.form-header {
	margin-bottom: 40px;
	text-align: center;
}

.form-header h3 {
	color: #2c3e50;
	font-weight: 700;
	font-size: 28px;
}

.input-group {
	position: relative;
	margin-bottom: 25px;
}

.input-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	z-index: 10;
	display: flex;
	align-items: center;
}

.input-icon svg {
	width: 100%;
	height: 100%;
}

.form-control {
	width: 100%;
	height: 50px;
	padding: 0 15px 0 50px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	transition: border 0.3s;
}

.form-control:focus {
	border-color: #1a3a6e;
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 58, 110, 0.1);
}

.captcha-row {
	display: flex;
	gap: 10px;
	align-items: center;
}

.captcha-row .form-control {
	flex: 1;
	padding-left: 50px;
}

.captcha-img {
	width: 80px;
	height: 35px;
	border-radius: 8px;
	cursor: pointer;
	border: 1px solid #ddd;
}

.btn-wrapper {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 10px 0;
}

.btn-login {
	width: 100%;
	max-width: 300px;
	height: 50px;
	background: linear-gradient(to right, #1a3a6e, #2c3e50);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(26, 58, 110, 0.3);
}

.btn-login:hover {
	background: linear-gradient(to right, #152e56, #243240);
	transform: translateY(-1);
	box-shadow: 0 6px 15px rgba(26, 58, 110, 0.4);
}

.quick-panel {
	margin-top: 10px;
	text-align: center;
}

.quick-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 28px;
    background: #1951BE;
    color: #ffffff;
    border: 1px solid #1951BE;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(25, 81, 190, 0.25);
    transition: all 0.2s ease;
}

.quick-btn:hover { 
    background: #144199;
    border-color: #144199;
    transform: translateY(-2px); /* 悬停时上移距离也稍作增加 */
    box-shadow: 0 6px 12px rgba(25, 81, 190, 0.35);
}

#user {
	color: #e74c3c;
	font-size: 14px;
	margin-top: 15px;
	min-height: 20px;
	text-align: center;
}

@media (max-width: 768px) {
/* 1. 隐藏左侧品牌展示区 */
.login-brand {
    display: none; 
}
    
/* 2. 登录卡片变为垂直布局，并占满宽度 */
 .login-card {
     flex-direction: column;
     width: 90%; /* 或者 100% */
     min-height: auto; /* 移动端不需要最小高度限制，让内容自然撑开 */
 }

 /* 3. 右侧表单容器占满剩余空间 */
.login-form-container {
    width: 100%;
    padding: 30px 20px; /* 适当减小内边距，留出更多空间给表单 */
}

.login-brand {
	padding-bottom: 20px;
	border-right: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-row {
	flex-direction: column;
}

.captcha-img {
	width: 100%;
	margin-top: 10px;
}
.form-error-wrapper {
    position: relative;
    flex: 1;
}