  * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--light-bg: #f5f9ff;
	--light-card: #ffffff;
	--brand-primary: #1976d2;
	--brand-secondary: #4791db;
	--brand-gradient: linear-gradient(135deg, #1976d2 0%, #4791db 100%);
	--brand-glow: 0 0 15px rgba(25, 118, 210, 0.2), 0 0 30px rgba(71, 145, 219, 0.15);
	--glass-bg: rgba(255, 255, 255, 0.7);
	--glass-border: rgba(255, 255, 255, 0.8);
	--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	--white: #ffffff;
	--dark-text: #2c3e50;
	--gray-text: #7f8c8d;
	--light-gray: #ecf0f1;
	--error: #e74c3c;
	--success: #2ecc71;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: var(--light-bg);
	background-image: 
		radial-gradient(circle at 10% 10%, rgba(25, 118, 210, 0.05) 1px, transparent 1px), 
		radial-gradient(circle at 90% 90%, rgba(25, 118, 210, 0.05) 1px, transparent 1px);
	background-size: 50px 50px;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	position: relative;
	color: var(--dark-text);
	overflow-x: hidden;
	animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.login-container {
	width: 100%;
	max-width: 440px;
	position: relative;
	z-index: 2;
}

.login-card {
	background-color: var(--light-card);
	backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: 20px;
	padding: 2.5rem;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
	animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.logo-section {
	text-align: center;
	margin-bottom: 2rem;
}

.logo {
	width: 70px;
	height: 70px;
	background: var(--brand-gradient);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	box-shadow: var(--brand-glow);
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.05) rotate(5deg);
}

.logo i {
	font-size: 2.25rem;
	color: var(--white);
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.logo-text {
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: var(--dark-text);
	margin-bottom: 0.25rem;
}

.logo-subtitle {
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--gray-text);
}

.form-group {
	margin-bottom: 1.25rem;
	position: relative;
}

.form-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--dark-text);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.form-input-container {
	position: relative;
}
.form-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gray-text);
	font-size: 1rem;
	z-index: 3;
	pointer-events: none;
	transition: color 0.3s ease;
}

.form-control:focus + .form-icon {
	color: var(--brand-primary);
}

.password-toggle {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--gray-text);
	cursor: pointer;
	font-size: 1.125rem;
	transition: color 0.2s ease;
	z-index: 3;
}

.password-toggle:hover {
	color: var(--brand-primary);
}

.forgot-password {
	text-align: right;
	margin-bottom: 1.5rem;
}

.forgot-link {
	color: var(--gray-text);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	transition: color 0.2s ease;
}

.forgot-link:hover {
	color: var(--brand-primary);
	text-decoration: underline;
}

.login-button {
	width: 100%;
	padding: 1rem;
	background: var(--brand-gradient);
	color: var(--white);
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
	position: relative;
	overflow: hidden;
	margin-bottom: 2rem;
}

.login-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s;
}

.login-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(25, 118, 210, 0.4);
}

.login-button:hover::before {
	left: 100%;
}

.login-button:active {
	transform: translateY(0);
}

.login-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.signup-link {
	text-align: center;
	color: var(--gray-text);
	font-size: 0.9375rem;
}

.signup-link a {
	color: var(--brand-primary);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.signup-link a:hover {
	color: var(--brand-secondary);
	text-decoration: underline;
}

.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 1s linear infinite;
	margin-right: 0.5rem;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.error-message {
	background-color: rgba(231, 76, 60, 0.1);
	border: 1px solid rgba(231, 76, 60, 0.3);
	border-radius: 12px;
	padding: 0.75rem 1rem;
	margin-bottom: 1.5rem;
	color: var(--error);
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	animation: shake 0.5s;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-5px); }
	40%, 80% { transform: translateX(5px); }
}

/* Ripple effect styles */
@keyframes ripple {
	to {
		transform: scale(2);
		opacity: 0;
	}
}
.login-button {
	position: relative;
	overflow: hidden;
}
.ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	transform: scale(0);
	animation: ripple 0.6s linear;
	pointer-events: none;
}