* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background: linear-gradient(135deg, #003366, #0055aa);
}

.card {
	background: #fff;
	padding: 40px 30px;
	border-radius: 12px;
	width: 100%;
	max-width: 380px;
	text-align: center;
	box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
	animation: fadeIn 0.6s ease-in-out;
}
.password-field {
	position: relative;
	display: flex;
	align-items: center;
}

.toggle-password {
	position: absolute;
	right: 10px;
	cursor: pointer;
	font-size: 18px;
	user-select: none;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.title-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 1.5rem;
}

.logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.title {
	font-size: 1.8em;
	font-weight: 600;
	color: #003366;
}

.field {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	background-color: #f2f2f2;
	border-radius: 6px;
	padding: 0.7em 1em;
}

.input-icon {
	height: 1.2em;
	width: 1.2em;
	fill: #003366;
	margin-right: 0.5em;
}

.input-field {
	border: none;
	outline: none;
	flex: 1;
	background: none;
	font-size: 0.95em;
	color: #333;
}

.btn {
	margin-top: 1.5rem;
	width: 100%;
	padding: 0.8em;
	border: none;
	border-radius: 6px;
	background: #003366;
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn:hover {
	background: #001a33;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.error-message {
	margin-top: 1rem;
	padding: 0.6em;
	border-radius: 6px;
	background: #ffe6e6;
	color: #cc0000;
	font-size: 0.9em;
	display: none;
	animation: shake 0.3s ease-in-out;
}

@keyframes shake {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-5px);
	}
	50% {
		transform: translateX(5px);
	}
	75% {
		transform: translateX(-5px);
	}
	100% {
		transform: translateX(0);
	}
}
