:root {
	--primary: #0d6efd;
	--primary-dark: #0b5ed7;
	--accent: #ff6b6b;
	--light: #f8f9fa;
	--dark: #212529;
	--success: #198754;
	--warning: #ffc107;
	--danger: #dc3545;
}

body {
	background: linear-gradient(135deg, #1e5799 0%, #207cca 51%, #2989d8 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 20px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	position: relative;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 Q50,10 100,0 L100,100 Q50,90 0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
	background-size: cover;
	opacity: 0.3;
	z-index: -1;
}

.login-container {
	max-width: 500px;
	width: 100%;
	margin: 0 auto;
}

.login-card {
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
	border: none;
	transition: transform 0.3s ease;
}

.login-card:hover {
	transform: translateY(-5px);
}

.login-header {
	background: linear-gradient(to right, #0d6efd, #0b5ed7);
	padding: 40px 20px 30px;
	text-align: center;
	color: white;
	position: relative;
	overflow: hidden;
}

.login-header::before {
	content: '';
	position: absolute;
	top: -50px;
	left: -50px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.login-header::after {
	content: '';
	position: absolute;
	bottom: -80px;
	right: -30px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.logo-container {
	width: 100px;
	height: 100px;
	margin: 0 auto 20px;
	background: #1a365d; /* Dark blue background */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	position: relative;
	z-index: 1;
}

.logo-container img {
	width: 70px;
	height: 70px;
	object-fit: contain;
}

.login-body {
	padding: 30px;
}

.form-control {
	padding: 12px 15px;
	border-radius: 8px;
	border: 1px solid #dee2e6;
	transition: all 0.3s;
}

.form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
	font-weight: 500;
	color: var(--dark);
	margin-bottom: 5px;
}

.btn-login {
	background: linear-gradient(to right, #0d6efd, #0b5ed7);
	border: none;
	padding: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	border-radius: 8px;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.btn-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.btn-login::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -60%;
	width: 20px;
	height: 200%;
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(25deg);
	transition: all 0.5s;
}

.btn-login:hover::after {
	left: 120%;
}

.error-alert {
	border-radius: 8px;
	border-left: 4px solid var(--danger);
}

.password-toggle {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #6c757d;
}

.password-container {
	position: relative;
}

.copyright {
	text-align: center;
	color: white;
	margin-top: 20px;
	font-size: 0.9rem;
	opacity: 0.8;
}

.form-decoration {
	position: absolute;
	z-index: -1;
}

.form-decoration.circle {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: rgba(13, 110, 253, 0.1);
	top: 20%;
	right: -50px;
}

.form-decoration.triangle {
	width: 0;
	height: 0;
	border-left: 70px solid transparent;
	border-right: 70px solid transparent;
	border-bottom: 120px solid rgba(255, 255, 255, 0.1);
	bottom: 10%;
	left: -40px;
	transform: rotate(20deg);
}

.language-selector {
	position: absolute;
	top: 20px;
	right: 20px;
}

.language-selector .btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	border-radius: 20px;
}

.language-selector .btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
	.login-header {
		padding: 30px 15px 20px;
	}

	.login-body {
		padding: 20px 15px;
	}

	.logo-container {
		width: 80px;
		height: 80px;
	}

	.logo-container img {
		width: 50px;
		height: 50px;
	}
}