.login-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/dtb1.webp");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.login-page {
	min-height: 100dvh;
	font-family: 'Poppins', sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 30px 10px;
}

form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.overlay {
	position: fixed;
	inset: 0px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.login-box {
	width: 100%;
	max-width: 420px;
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	padding: 2rem;
	border-radius: 25px;
	animation: fadeIn 0.5s ease forwards;
	box-shadow: 0px 0px 5px rgb(255 255 255 / 50%);
}

#logo {
	display: block;
	margin: 0 auto;
	max-width: 80%;
	margin-bottom: 10px;
	user-select: none;
}

.forgot-link {
	display: block;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	text-align: center;
}

.forgot-link:hover {
	color: white;
}

.forgot-btn:hover {
	background: #a5700f;
}

#closeForgotModal {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	font-size: 30px;
	cursor: pointer;
	color: rgb(255, 255, 255);
	width: fit-content;
}

.back-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 2rem;
	color: white;
	text-decoration: none;
	z-index: 10;
}

.back-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: white;
	transition: width 0.3s ease;
}

.back-link:hover::after {
	width: 100%;
}

#forgotPasswordModal .modal-content {
	max-width: 450px;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn { 
	animation: fadeIn 0.5s ease-out forwards; 
}

.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active{
	-webkit-text-fill-color: white !important;
	transition: background-color 5000000s ease-in-out 0s;
}