/* 登录弹出框样式 */
.login-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.login-modal.login-visible {
	display: flex !important;
}

.login-container {
	width: 700px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	display: flex;
	position: relative;
}

.login-left {
	width: 300px;
	background-color: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.login-right {
	flex: 1;
	padding: 30px;
}

.login-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
	text-align: center;
}

.form-group {
	margin-bottom: 15px;
}

.form-control {
	width: 100%;
	padding: 5px 15px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	font-size: 15px;
	transition: all 0.3s ease;
	height: 44px;
	box-sizing: border-box;
}

.form-control:focus {
	outline: none;
	border-color: #ff4d4f;
	box-shadow: 0 0 0 2px rgb(255 56 24 / 15%);
}

.form-row {
	display: flex;
	gap: 10px;
}

.form-row .form-control {
	flex: 1;
}

.verify-row {
	display: flex;
	gap: 10px;
}

.verify-row .form-control {
	flex: 1;
}

.verify-btn {
	width: 120px;
	padding: 5px 15px;
	background-color: #fff;
	color: #ff4d4f;
	border: 1px solid #ff4d4f;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease;
	height: 44px;
	white-space: nowrap;
}

.verify-btn:hover {
	background-color: #fff1f0;
}

.verify-btn:disabled {
	color: #999;
	border-color: #d9d9d9;
	cursor: not-allowed;
	background-color: #f5f5f5;
}

.submit-btn {
	width: 100%;
	padding: 12px;
	background-color: #ff4d4f;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	margin-top: 10px;
}

.submit-btn:hover {
	background-color: #ff7875;
}

.submit-btn:disabled {
	background-color: #ffaaa5;
	cursor: not-allowed;
}

.terms {
	font-size: 13px;
	color: #999;
	margin-top: 20px;
}

.terms a {
	color: #1890ff;
	text-decoration: none;
}

.terms a:hover {
	text-decoration: underline;
}

.login-header {
	text-align: center;
	margin-bottom: 2px;
}

.login-tabs {
	display: flex;
	margin-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.login-form {
	min-height: 260px;
	position: relative;
}

.login-form .form-panel {
	position: absolute;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.login-form .form-panel.active {
	opacity: 1;
	visibility: visible;
	position: relative;
}

.login-tab {
	flex: 1;
	text-align: center;
	padding: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 15px;
	color: #666;
}

.login-tab:hover {
	color: #ff4d4f;
}

.login-tab.active {
	color: #ff4d4f;
	font-weight: 500;
	box-shadow: inset 0 -2px 0 #ff4d4f;
}

.form-actions {
	margin-bottom: 10px;
	font-size: 13px;
	padding-right: 8px;
	text-align: right;
}

.form-link {
	color: #1890ff;
	text-decoration: none;
}

.form-link:hover {
	text-decoration: underline;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10000;
	font-weight: bold;
	font-size: 24px;
	color: #666;
}

.close-btn::before {
	content: '×';
	display: block;
	transform: translateY(-1px);
}

.close-btn:hover {
	background-color: #e0e0e0;
}

.error-msg {
	color: #ff4d4f;
	font-size: 13px;
	margin-top: 5px;
	min-height: 18px;
}
