:root {
	--primary-color: #2c3e50;
	--secondary-color: #3498db;
	--accent-color: #2980b9;
	--background-color: #f9f9f9;
	--text-color: #333;
	--light-gray: #ecf0f1;
	--border-radius: 8px;
	--box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	/*! background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
	color: var(--text-color);
	background-image: url("bgimage.webp");
	background-size: cover;
}
body:before {
	content: '';
	width: 100%;
	height:100%;
	top:0px;
	left:0px;
	position: fixed;
	background: #090909ad;
}

.login-container {
	width: 100%;
	max-width: 420px;
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	overflow: hidden;
	animation: fadeIn 0.8s ease-out;
	transform: translateY(0);
	transition: var(--transition);
}

.login-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.login-header {
	 background-color: #fff;
	color: white;
	padding: 30px 20px;
	text-align: center;
	  /*! background-image: 
    linear-gradient(rgba(157, 157, 157, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 157, 157, 0.3) 1px, transparent 1px); */
  /*! background-size: 30px 30px; */
  /*! background-position: center center; */
	 border-bottom: 2px solid #6c6c6c42;
}
.logo{
	max-width: 200px;
	margin-bottom: 20px;
}
.login-header h1 {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 5px;
}

.login-header p {
	opacity: 0.8;
	font-size: 0.9rem;
	color: gray;
}

.login-form {
	padding: 30px;
	background: #e9e9e952;
	background-size: 30px 30px;
  background-position: top;
}

.form-group {
	margin-bottom: 20px;
	position: relative;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--primary-color);
	transition: var(--transition);
}

.form-group input {
	width: 100%;
	padding: 14px 15px;
	border: 2px solid var(--light-gray);
	border-radius: var(--border-radius);
	font-size: 1rem;
	transition: var(--transition);
	outline: none;
}

.form-group input:focus {
	border-color: var(--secondary-color);
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-group input:focus + .input-icon {
	color: var(--secondary-color);
}

.input-icon {
	position: absolute;
	right: 15px;
	top: 50px;
	color: #95a5a6;
	transition: var(--transition);
}

#id_pwd_show_hide_pswd{
	position: absolute;
	top: 5px;
	color: #95a5a6;
	left: 100px;
}
.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	font-size: 0.9rem;
}

.remember-me {
	display: flex;
	align-items: center;
}

.remember-me input {
	margin-right: 8px;
}

.forgot-password {
	color: var(--secondary-color);
	text-decoration: none;
	transition: var(--transition);
}

.forgot-password:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

.submit-btn {
	width: 100%;
	padding: 14px;
	background: var(--secondary-color);
	color: white;
	border: none;
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.submit-btn:hover {
	background: var(--accent-color);
	transform: translateY(-2px);
	box-shadow: 0 6px 8px rgba(52, 152, 219, 0.3);
}

.submit-btn:active {
	transform: translateY(0);
}

.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 1s ease-in-out infinite;
	margin-right: 10px;
	vertical-align: middle;
}

.footer {
	text-align: center;
	padding: 20px;
	border-top: 1px solid var(--light-gray);
	font-size: 0.85rem;
	color: #7f8c8d;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Responsive */
@media (max-width: 480px) {
	.login-container {
		max-width: 100%;
	}
	
	.login-form {
		padding: 20px;
	}
	
	.form-options {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.forgot-password {
		margin-top: 10px;
	}
}
