﻿
:root {
	--primary-color: #2c3e50;
	--secondary-color: #3498db;
	--accent-color: #e74c3c;
	--success-color: #27ae60;
	--light-bg: #f8f9fa;
	--gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
	font-family: 'Poppins', sans-serif;
	background: var(--gradient-bg);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.login-container {
	max-width: 450px;
	width: 100%;
	animation: fadeIn 0.8s ease;
}

@@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.login-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 15px 35px rgba(0,0,0,0.2);
	transition: transform 0.3s ease;
}

	.login-card:hover {
		transform: translateY(-5px);
	}

.login-header {
	background: var(--primary-color);
	padding: 40px 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

	.login-header::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
		animation: shine 3s infinite linear;
	}

@@keyframes shine {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

.logo-container {
	position: relative;
	z-index: 1;
}

.company-logo {
	max-width: 180px;
	height: auto;
	filter: brightness(0) invert(1);
}

.company-name {
	color: white;
	font-size: 24px;
	font-weight: 600;
	margin-top: 15px;
	letter-spacing: 1px;
}

.login-body {
	padding: 40px;
}

.form-title {
	color: var(--primary-color);
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 30px;
	text-align: center;
	position: relative;
}

	.form-title::after {
		content: '';
		position: absolute;
		bottom: -10px;
		left: 50%;
		transform: translateX(-50%);
		width: 60px;
		height: 4px;
		background: var(--secondary-color);
		border-radius: 2px;
	}

.form-group {
	margin-bottom: 25px;
}

.form-label {
	color: #555;
	font-weight: 500;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.form-control {
	border: 2px solid #e1e5eb;
	border-radius: 10px;
	padding: 12px 20px;
	font-size: 15px;
	transition: all 0.3s ease;
	height: 50px;
}

	.form-control:focus {
		border-color: var(--secondary-color);
		box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
	}

.input-group {
	position: relative;
}

.input-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	z-index: 2;
}

.input-with-icon {
	padding-left: 45px;
}

.checkbox-label {
	color: #555;
	font-weight: 400;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
}

.form-check-input {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

	.form-check-input:checked {
		background-color: var(--secondary-color);
		border-color: var(--secondary-color);
	}

.btn-login {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
	border: none;
	border-radius: 10px;
	color: white;
	font-weight: 600;
	padding: 15px;
	width: 100%;
	font-size: 16px;
	transition: all 0.3s ease;
	margin-top: 10px;
	height: 52px;
}

	.btn-login:hover {
		transform: translateY(-2px);
		box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
	}

	.btn-login:active {
		transform: translateY(0);
	}

.login-footer {
	text-align: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	color: #777;
	font-size: 14px;
}

	.login-footer a {
		color: var(--secondary-color);
		text-decoration: none;
		font-weight: 500;
	}

		.login-footer a:hover {
			text-decoration: underline;
		}

.validation-summary {
	background: #ffeaea;
	border: 1px solid #ffcdd2;
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 25px;
	color: #d32f2f;
}

	.validation-summary ul {
		margin: 0;
		padding-left: 20px;
	}

.field-validation-error {
	color: #d32f2f;
	font-size: 13px;
	margin-top: 5px;
	display: block;
}

/* Particles Background */
.particles-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}

/* Language Toggle */
.language-toggle {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 100;
}

.lang-btn {
	background: rgba(255,255,255,0.2);
	border: 1px solid rgba(255,255,255,0.3);
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 14px;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

	.lang-btn:hover {
		background: rgba(255,255,255,0.3);
	}

/* Responsive Design */
@@media (max-width: 576px) {
	.login-body {
		padding: 30px 20px;
	}

	.login-header {
		padding: 30px 20px;
	}

	.company-logo {
		max-width: 140px;
	}

	.form-title {
		font-size: 24px;
	}
}

/* Loading Animation */
.btn-loading {
	position: relative;
	color: transparent;
}

	.btn-loading::after {
		content: '';
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 20px;
		height: 20px;
		border: 2px solid rgba(255,255,255,0.3);
		border-top-color: white;
		border-radius: 50%;
		animation: spin 0.8s linear infinite;
	}

@@keyframes spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Social Login Icons */
.social-login {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 20px;
}

.social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 18px;
	transition: transform 0.3s ease;
}

	.social-icon:hover {
		transform: scale(1.1);
	}

.social-google {
	background: #DB4437;
}

.social-microsoft {
	background: #00A4EF;
}


