* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Microsoft YaHei', Arial, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

body::before {
	content: '';
	position: absolute;
	width: 400px;
	height: 400px;
	background: linear-gradient(#ff6b6b, #feca57);
	border-radius: 50%;
	top: -100px;
	right: -100px;
	animation: float 6s ease-in-out infinite;
}

body::after {
	content: '';
	position: absolute;
	width: 300px;
	height: 300px;
	background: linear-gradient(#5f27cd, #341f97);
	border-radius: 50%;
	bottom: -50px;
	left: -50px;
	animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-30px) rotate(180deg);
	}
}

.login-container {
	position: relative;
	z-index: 10;
	width: 420px;
	padding: 50px 40px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.2);
	animation: slideUp 0.6s ease;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.login-header {
	text-align: center;
	margin-bottom: 40px;
}

.login-header h2 {
	color: #fff;
	font-size: 32px;
	font-weight: 600;
	margin-bottom: 10px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.login-header p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}

.form-group {
	position: relative;
	margin-bottom: 30px;
}

.form-group i {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	transition: all 0.3s ease;
}

.form-control {
	width: 100%;
	height: 50px;
	padding: 0 15px 0 50px;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 25px;
	color: #fff;
	font-size: 15px;
	outline: none;
	transition: all 0.3s ease;
}

.form-control::placeholder {
	color: rgba(255, 255, 255, 0.6);
	transition: all 0.3s ease;
}

.form-control:focus {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.form-control:focus + i {
	color: #fff;
}

.form-control:focus ~ .form-bar {
	width: 100%;
}

.form-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #fff;
	transition: width 0.3s ease;
	border-radius: 0 0 25px 25px;
}

.btn-login {
	width: 100%;
	height: 50px;
	background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
	border: none;
	border-radius: 25px;
	color: #667eea;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	margin-top: 10px;
}

.btn-login:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-login:active {
	transform: translateY(-1px);
}

.btn-login:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.forgot-password {
	text-align: center;
	margin-top: 20px;
}

.forgot-password a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}

.forgot-password a:hover {
	color: #fff;
	text-decoration: underline;
}

.modal-content {
	border-radius: 15px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	border: none;
}

.modal-header {
	border-radius: 15px 15px 0 0;
	padding: 20px;
	border-bottom: none;
}

.modal-body {
	padding: 30px 20px;
	text-align: center;
	font-size: 16px;
	color: #333;
}

.modal-footer {
	border-top: none;
	padding: 0 20px 20px;
}

.modal-footer .btn {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border-radius: 10px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	color: white;
	transition: all 0.3s ease;
}

.modal-footer .btn:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.modal-footer .btn:focus {
	outline: none;
}

.modal-success .modal-header {
	background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
	color: white;
}

.modal-error .modal-header {
	background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
	color: white;
}

.fadeInDown {
	animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translate3d(0, -50px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@media screen and (max-width: 768px) {
	.login-container {
		width: 90%;
		padding: 40px 25px;
	}

	.login-header h2 {
		font-size: 26px;
	}
}