/* Preloader Styles */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transition: opacity 0.5s ease;
}

#preloader.fade-out {
	opacity: 0;
}

.loader {
	width: 50px;
	height: 50px;
	border: 5px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.loader-text {
	color: white;
	margin-top: 15px;
	font-size: 18px;
	font-weight: bold;
}

/* Main Content Styles */
html, body {
	height: 100%;
}

.video-background {
	position: fixed;
	top: 0;
	left: 0;
	object-fit: cover;
	width: 100vw;
	height: 100vh;
	z-index: -100;
	pointer-events: none;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: -99;
}

.login-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100dvh;
	padding: 20px;
	width: 100%;
	box-sizing: border-box;
}

.login-container {
	width: 100%;
	max-width: 400px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease;
}

.login-container.show {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 768px) {
	.login-wrapper {
		flex-direction: column;
		padding: 20px 10px;
	}

	.login-container {
		width: 100%;
		max-width: 100%;
	}
}

.login-box {
	background: rgba(255, 255, 255, 0.9);
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	width: 100%;
}

.logo-container {
	text-align: center;
	margin-bottom: 25px;
}

.logo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	/* background-color: #007bff; */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 40px;
	margin-bottom: 15px;
}

.form-control {
	height: 45px;
	border-radius: 5px;
}

.btn-login {
	background-color: #007bff;
	color: white;
	border: none;
	height: 45px;
	border-radius: 5px;
	font-weight: 600;
}

.btn-login:hover {
	background-color: #0069d9;
}

.input-group-text {
	background-color: transparent;
	border-right: none;
}

.form-control:focus {
	box-shadow: none;
	border-color: #007bff;
}

.input-group:focus-within .input-group-text {
	color: #007bff;
}

.input-group .form-control {
	border-left: none;
}

.error {
	color: #dc3545;
	font-size: 14px;
	margin-top: 5px;
}

.is-invalid {
	border-color: #dc3545 !important;
}

.invalid-feedback {
	display: none;
	color: #dc3545;
	font-size: 14px;
	margin-top: 5px;
}

.form-group .eye-icon {
	position: absolute;
	right: 10px;
	top: 3.3vh;
	transform: translateY(-50%);
	cursor: pointer;
}

.form-control {
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
	border: none;
	border-radius: 6px;
}

.form-control:focus {
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 2px #80bdff;
}

.form-group.position-relative .form-control {
	padding-right: 40px;
}

.eye-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	font-size: 1.2rem;
	color: #6c757d;
	cursor: pointer;
}

.form-control.is-valid,
.form-control.is-invalid {
	padding-right: 40px !important;
	background-position: 22em;
}


@media (max-width: 768px) {
	.form-group .eye-icon {
		top: 50% !important;
	}

	.form-control.is-valid,
	.form-control.is-invalid {
		padding-right: 40px !important;
		background-position: 20em;
	}
}