body {
	font-family: 'Microsoft YaHei', sans-serif;
	background: linear-gradient(135deg, #e8f4fc 0%, #d2e8f9 100%);
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
	box-sizing: border-box;
}

.login-container {
	background-color: white;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 119, 182, 0.2);
	width: 100%;
	max-width: 420px;
	padding: 40px;
	position: relative;
	overflow: hidden;
}

.hospital-header {
	text-align: center;
	margin-bottom: 30px;
}

.hospital-name {
	color: #0077b6;
	font-size: 26px;
	font-weight: bold;
	margin-top: 10px;
	text-shadow: 0 2px 5px rgba(0, 119, 182, 0.1);
}

.form-tabs {
	display: flex;
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
}

.tab {
	flex: 1;
	text-align: center;
	padding: 10px 0;
	cursor: pointer;
	font-weight: 500;
	color: #555;
	position: relative;
	transition: color 0.3s;
}

.tab.active {
	color: #0077b6;
	font-weight: 600;
}

.tab.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #0077b6;
}

.tab-content {
	position: relative;
}

.login-form,
.register-form,
.reset-password-form,
.sms-login-form {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.login-form.active,
.register-form.active,
.reset-password-form.active,
.sms-login-form.active {
	display: block;
	opacity: 1;
}

.form-group {
	margin-bottom: 20px;
	position: relative;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #555;
	font-weight: 500;
	font-size: 15px;
}

.form-group input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 15px;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
	border-color: #0077b6;
	outline: none;
	box-shadow: 0 0 8px rgba(0, 119, 182, 0.2);
}

.get-code-btn {
	position: absolute;
	right: 0px;
	top: 28px;
	padding: 13px 12px;
	background-color: #0077b6;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	cursor: pointer;
	transition: background-color 0.3s;
	z-index: 10;
}

.get-code-btn:hover {
	background-color: #005b8c;
}

.get-code-btn:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
}

.login-btn {
	width: 100%;
	padding: 12px;
	background-color: #0077b6;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
	margin-top: 10px;
}

.login-btn:hover {
	background-color: #005b8c;
}

.error-message {
	color: #d32f2f;
	font-size: 13px;
	margin-top: 5px;
	display: none;
}

.footer {
	text-align: center;
	margin-top: 25px;
	color: #777;
	font-size: 12px;
}

.toggle-links {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
	font-size: 14px;
}

.toggle-link {
	color: #0077b6;
	cursor: pointer;
	transition: color 0.3s;
}

.toggle-link:hover {
	color: #005b8c;
}

/* 响应式调整 */
@media (max-width: 480px) {
	.login-container {
		padding: 30px 20px;
		border-radius: 15px;
	}

	.hospital-name {
		font-size: 22px;
	}

	.tab {
		font-size: 14px;
	}

	.form-group input {
		padding: 10px 12px;
		font-size: 14px;
	}

	.get-code-btn {
		padding: 6px 10px;
		font-size: 12px;
		top: 35px;
	}

	.login-btn {
		padding: 10px;
		font-size: 15px;
	}

	.toggle-links {
		font-size: 13px;
	}
}