
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.login-container {
	margin: 0 auto;
	background: rgba(255, 255, 255, 1);
	border-radius: 20px;
	padding: 48px 40px;
	width: 100%;
	max-width: 450px;
}

.logo-section {
	text-align: center;
	margin-bottom: 40px;
}

.welcome-title {
	font-size: 28px;
	font-weight: 700;
	color: #2d3748;
	margin-bottom: 8px;
	line-height: 1.2;
}

.form-group {
	margin-bottom: 24px;
	position: relative;
}

.input-wrapper {
	position: relative;
}

.input-label {
	position: absolute;
	left: 16px;
	top: 16px;
	color: #a0aec0;
	font-size: 16px;
	transition: all 0.3s ease;
	pointer-events: none;
	z-index: 1;
}

.form-input {
	width: 100%;
	padding: 16px;
	border: 2px solid #e2e8f0 !important;
	border-radius: 12px;
	font-size: 16px;
	background: #fff;
	transition: all 0.3s ease;
	outline: none;
}

.form-input:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input.error {
	border-color: #e53e3e;
	box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-input:focus + .input-label,
.form-input:not(:placeholder-shown) + .input-label {
	top: -8px;
	left: 12px;
	font-size: 12px;
	color: #667eea;
	background: white;
	padding: 0 4px;
}

.form-input.error + .input-label {
	color: #e53e3e;
}

.password-toggle {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #a0aec0;
	transition: color 0.3s ease;
	z-index: 1;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.password-toggle:hover {
	color: #667eea;
}

.password-toggle svg {
	width: 18px;
	height: 18px;
	stroke: #a0aec0;
}

.password-toggle:hover svg {
	stroke: #667eea;
}

.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #4a5568;
}

.custom-checkbox {
	width: 18px;
	height: 18px;
	border: 2px solid #e2e8f0;
	border-radius: 4px;
	position: relative;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
}

.custom-checkbox input {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.custom-checkbox input:checked + .checkmark {
	background: #667eea;
	border-color: #667eea;
}

.custom-checkbox input:checked + .checkmark::after {
	opacity: 1;
}

.checkmark {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	transition: all 0.3s ease;
	position: relative;
}

.checkmark::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.set-password {
	color: #667eea;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s ease;
}

.set-password:hover {
	color: #5a67d8;
	text-decoration: underline;
}

.sign-in-btn {
	width: 100%;
	padding: 16px;
	background: #000000;
	color: white;
	border: 2px solid #000000;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 24px;
}

.sign-in-btn:hover {
	background: white;
	color: #000000;
	border: 2px solid #000000;
}

.register-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.register-text {
	color: #4a5568;
	font-size: 14px;
}

.register-link {
	color: #667eea;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s ease;
}

.register-link:hover {
	color: #5a67d8;
	text-decoration: underline;
}

@media (max-width: 480px) {
	.login-container {
		padding: 32px 24px;
		border-radius: 16px;
	}
	
	.welcome-title {
		font-size: 24px;
	}

	.register-section {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}
}

@media all and (min-width: 1025px) {
	.login-container {
		margin-top: 45px;
	}
}

/* Subtle animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.login-container {
	animation: fadeInUp 0.6s ease-out;
}

.form-group {
	animation: fadeInUp 0.6s ease-out;
	animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-options { animation: fadeInUp 0.6s ease-out 0.3s both; }
.sign-in-btn { animation: fadeInUp 0.6s ease-out 0.4s both; }
.register-section { animation: fadeInUp 0.6s ease-out 0.5s both; }