* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: linear-gradient(135deg, #002F87 0%, #001a4d 100%);
	font-family: 'Poppins', sans-serif;
	color: #fff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.img-container-block {
	text-align: center;
	margin-bottom: 20px;
}

.logo {
	width: 200px;
	max-width: 80%;
	filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
}

form {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	padding: 40px;
	width: 90%;
	max-width: 400px;
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
	text-align: left;
}

form h2 {
	text-align: center;
	margin-bottom: 30px;
	font-size: 28px;
	font-weight: 600;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 400;
	color: #e0e0e0;
	text-align: left;
}

input[type="text"],
input[type="password"] {
	width: 100%;
	padding: 12px 15px;
	margin-bottom: 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	color: #fff;
	font-size: 16px;
	font-family: 'Poppins', sans-serif;
	transition: all 0.3s ease;
	outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: #002F87;
	box-shadow: 0 0 10px rgba(0, 47, 135, 0.3);
}

.password-container {
	position: relative;
	margin-bottom: 20px;
}

.password-container input {
	margin-bottom: 0;
}

.toggle-password {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.3s;
	padding: 0;
}

.toggle-password:hover {
	color: #fff;
}

input[type="submit"] {
	width: 100%;
	padding: 12px;
	background: linear-gradient(45deg, #002F87, #0052cc);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	margin-top: 10px;
	font-family: 'Poppins', sans-serif;
}

input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 47, 135, 0.4);
}

input[type="submit"]:active {
	transform: translateY(0);
}

/* Error/Success messages */
p[style*="color: red"] {
	background: rgba(255, 0, 0, 0.1);
	color: #ff6b6b !important;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid rgba(255, 0, 0, 0.2);
	margin-bottom: 15px;
	text-align: center;
}

p[style*="color: green"] {
	background: rgba(0, 255, 0, 0.1);
	color: #4ade80 !important;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid rgba(0, 255, 0, 0.2);
	margin-bottom: 15px;
	text-align: center;
}

@media (max-width: 480px) {
	form {
		padding: 30px 20px;
	}

	.logo {
		width: 150px;
	}
}