:root {
	--primary: #6c63ff;
	--primary-light: #8a85ff;
	--secondary: #4ecdc4;
	--accent: #ff6b6b;
	--light-bg: #f8f9fa;
	--card-bg: #ffffff;
	--text-primary: #2d3748;
	--text-secondary: #718096;
	--shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
	--shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
	--success: #4caf50;
	--warning: #ff9800;
	--info: #2196f3;
	--danger: #f44336;
	--border: #e2e8f0;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
	color: var(--text-primary);
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
}

.login-container {
	display: flex;
	width: 100%;
	max-width: 1200px;
	min-height: 700px;
	background: var(--card-bg);
	border-radius: 24px;
	box-shadow: var(--shadow-hover);
	overflow: hidden;
}

.login-left {
	flex: 1;
	padding: 60px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--card-bg);
	position: relative;
	z-index: 2;
}

.auth-logo {
	text-align: center;
	margin-bottom: 40px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 22px;
}

.logo-text {
	font-size: 28px;
	font-weight: 700;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.auth-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--text-primary);
	text-align: center;
}

.auth-subtitle {
	color: var(--text-secondary);
	text-align: center;
	margin-bottom: 40px;
	font-size: 16px;
}

.login-form {
	max-width: 400px;
	margin: 0 auto;
	width: 100%;
}

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

.form-input {
	width: 100%;
	padding: 18px 20px 18px 55px;
	border: 2px solid var(--border);
	border-radius: 12px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: #f8fafc;
	color: var(--text-primary);
}

.form-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
	background: white;
	transform: translateY(-2px);
}

.form-icon {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-secondary);
	font-size: 18px;
	transition: all 0.3s ease;
}

.form-input:focus + .form-icon {
	color: var(--primary);
}

.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 10px;
}

.checkbox {
	width: 18px;
	height: 18px;
	border: 2px solid var(--border);
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
}

.checkbox.checked {
	background: var(--primary);
	border-color: var(--primary);
}

.checkbox.checked::after {
	content: '✓';
	position: absolute;
	color: white;
	font-size: 12px;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.remember-text {
	color: var(--text-secondary);
	font-size: 14px;
	cursor: pointer;
}

.forgot-password {
	color: var(--primary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.forgot-password:hover {
	color: var(--primary-light);
	text-decoration: underline;
}

.login-btn {
	width: 100%;
	padding: 18px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.login-btn:hover {
	background: var(--primary-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
}

.login-btn:active {
	transform: translateY(0);
}

.divider {
	display: flex;
	align-items: center;
	margin: 30px 0;
	color: var(--text-secondary);
}

.divider::before, .divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}

.divider-text {
	padding: 0 15px;
	font-size: 14px;
}

.social-login {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 30px;
}

.social-btn {
	padding: 14px;
	border: 2px solid var(--border);
	border-radius: 12px;
	background: white;
	color: var(--text-primary);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.social-btn:hover {
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.social-btn.google {
	color: #db4437;
}

.social-btn.facebook {
	color: #4267b2;
}

.signup-link {
	text-align: center;
	color: var(--text-secondary);
	font-size: 14px;
}

.signup-link a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.signup-link a:hover {
	color: var(--primary-light);
	text-decoration: underline;
}

.login-right {
	flex: 1.2;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.illustration-container {
	text-align: center;
	color: white;
	max-width: 500px;
}

.illustration-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.illustration-subtitle {
	font-size: 16px;
	margin-bottom: 30px;
	opacity: 0.9;
	line-height: 1.6;
}

.features-list {
	text-align: left;
	margin: 30px 0;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	font-size: 15px;
}

.feature-icon {
	width: 24px;
	height: 24px;
	background: rgba(255,255,255,0.2);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

.floating-element {
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	animation: float 6s ease-in-out infinite;
}

.floating-1 {
	width: 80px;
	height: 80px;
	top: 10%;
	left: 10%;
	animation-delay: 0s;
}

.floating-2 {
	width: 60px;
	height: 60px;
	top: 70%;
	right: 15%;
	animation-delay: 2s;
}

.floating-3 {
	width: 40px;
	height: 40px;
	bottom: 20%;
	left: 20%;
	animation-delay: 4s;
}

.fade-in {
	animation: fadeIn 0.6s ease forwards;
}

.alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
}

.alert-error {
	background-color: #fee;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.alert-success {
	background-color: #eff8f0;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.mobile-input-group {
	position: relative;
	display: flex;
	align-items: center;
}

.send-otp-btn {
	position: absolute;
	right: 10px;
	background: #007bff;
	color: white;
	border: none;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	transition: background 0.3s;
}

.send-otp-btn:hover {
	background: #0056b3;
}

.send-otp-btn:disabled {
	background: #6c757d;
	cursor: not-allowed;
}

.hidden-checkbox {
	display: none;
}

.checkbox.checked {
	background-color: #007bff;
	border-color: #007bff;
}

.checkbox.checked::after {
	content: '✓';
	color: white;
	font-weight: bold;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(10deg);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 968px) {
	.login-container {
		flex-direction: column;
		min-height: auto;
	}

	.login-right {
		display: none;
	}

	.login-left {
		padding: 40px 30px;
	}
}

@media (max-width: 480px) {
	body {
		padding: 10px;
	}

	.login-left {
		padding: 30px 20px;
	}

	.social-login {
		grid-template-columns: 1fr;
	}

	.form-options {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
}