:root {
	--primary-color: #9B111E;
	--secondary-color: #f0f4f8;
	--accent-color: #ff6b6b;
	--text-color: #333;
	--background-color: #e9ecef;
}
body {
	background-color: var(--background-color);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	margin: 0;
	transition: background-color 0.3s ease;
}
.login-container {
	background-color: white;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	width: 100%;
	max-width: 900px;
	display: flex;
}
.login-form-container {
	flex: 1;
	padding: 3rem;
}
.login-image {
	flex: 1;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #700C15;
}
.login-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url(/img/login.svg);
	background-repeat: no-repeat;
	background-position: center;
}
.login-image-text {
	position: relative;
	color: white;
	text-align: center;
	padding: 2rem;
}
.logo {
	max-width: 150px;
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease;
}
.logo:hover {
	transform: scale(1.05);
}
.form-control {
	border: none;
	border-bottom: 2px solid var(--secondary-color);
	border-radius: 0;
	padding: 0.75rem 0;
	transition: all 0.3s ease;
}
.form-control:focus {
	box-shadow: none;
	border-color: var(--primary-color);
}
.form-floating > label {
	padding-left: 0;
}
.btn-primary {
	background-color: var(--primary-color);
	border: none;
	border-radius: 30px;
	padding: 0.75rem 2rem;
	font-weight: 600;
	transition: all 0.3s ease;
}
.btn-primary:hover {
	background-color: #9B111E;
	transform: translateY(-2px);
}
.password-toggle {
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.animate-character {
	background-image: linear-gradient(-225deg, #9B111E 0%, #C0404E 29%, #A82B33 67%, #700C15 100%);
	background-size: 200% auto;
	color: #fff;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: textclip 4s linear infinite;
	font-weight: 700;
	font-size: 2rem;
	margin-bottom: 1rem;
}
@keyframes textclip {
	to { background-position: 200% center; }
}
.theme-switch {
	position: absolute;
	top: 20px;
	right: 20px;
}
.dark-mode {
	--primary-color: #79c0ff;
	--secondary-color: #2c3e50;
	--accent-color: #ff8c94;
	--text-color: #e9ecef;
	--background-color: #1a202c;
}
.dark-mode body {
	background-color: var(--background-color);
	color: var(--text-color);
}
.dark-mode .login-container {
	background-color: #2d3748;
}
.dark-mode .form-control {
	background-color: transparent;
	color: var(--text-color);
	border-color: var(--secondary-color);
}
.dark-mode .form-floating > label {
	color: var(--text-color);
}
@media (max-width: 768px) {
	.login-container {
		flex-direction: column;
	}
	.login-image {
		min-height: 200px;
	}
}
