/* Modern Login Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


:root 
{
	--primary-color: #4361ee;
	--primary-dark: #3a0ca3;
	--secondary-color: #4cc9f0;
	--text-dark: #333333;
	--text-light: #767676;
	--bg-light: #f8f9fa;
	--bg-dark: #212529;
	--success: #2ecc71;
	--danger: #e74c3c;
    --warning: #f39c12;
	--transition: all 0.3s ease;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	--border-radius: 12px;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


body, html 
{
	height: 100%;
	font-family: 'Poppins', sans-serif;
	background-color: var(--bg-light);
	color: var(--text-dark);
}


.login-container 
{
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}


.login-card 
{
	width: 90%;
	max-width: 1100px;
	min-height: 600px;
	background: white;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: row-reverse;
}


.login-form-container 
{
	width: 50%;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


.login-image 
{
	width: 50%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px;
	color: white;
}


.login-image::before 
{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.1) 100%);
	z-index: 1;
}


.login-image-content 
{
	position: relative;
	z-index: 2;
}


.login-image h2 
{
	font-size: 2.5rem;
	margin-bottom: 10px;
	font-weight: 600;
}


.login-image p 
{
	font-size: 1rem;
	opacity: 0.8;
	margin-bottom: 20px;
}


.recovery-container 
{
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}


.recovery-card 
{
	width: 90%;
	max-width: 1100px;
	min-height: 600px;
	background: white;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: row-reverse;
}


.recovery-form-container 
{
	width: 50%;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


.recovery-image 
{
	width: 50%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px;
	color: white;
}


.recovery-image::before 
{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.1) 100%);
	z-index: 1;
}


.recovery-image-content 
{
	position: relative;
	z-index: 2;
}


.recovery-image h2 
{
	font-size: 2.5rem;
	margin-bottom: 10px;
	font-weight: 600;
}


.recovery-image p 
{
	font-size: 1rem;
	opacity: 0.8;
	margin-bottom: 20px;
}


.reset-container 
{
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}


.reset-card 
{
	width: 90%;
	max-width: 1100px;
	min-height: 600px;
	background: white;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: row-reverse;
}


.reset-form-container 
{
	width: 50%;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


.reset-image 
{
	width: 50%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px;
	color: white;
}


.reset-image::before 
{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.1) 100%);
	z-index: 1;
}


.reset-image-content 
{
	position: relative;
	z-index: 2;
}


.reset-image h2 
{
	font-size: 2.5rem;
	margin-bottom: 10px;
	font-weight: 600;
}


.reset-image p 
{
	font-size: 1rem;
	opacity: 0.8;
	margin-bottom: 20px;
}


.portal-title 
{
	text-align: center;
	margin-bottom: 30px;
}


.portal-title a 
{
	font-size: 1.5rem;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
}


.portal-title a:hover 
{
	color: var(--primary-dark);
}


.portal-subtitle 
{
	font-size: 0.9rem;
	color: var(--text-light);
	margin-top: 10px;
}


.recovery-info 
{
	padding: 15px;
	background-color: rgba(67, 97, 238, 0.1);
	border-left: 4px solid var(--primary-color);
	border-radius: 8px;
	margin-bottom: 25px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text-dark);
}


.form-group 
{
	margin-bottom: 24px;
	position: relative;
}


.form-group label 
{
	display: block;
	margin-bottom: 8px;
	font-size: 0.9rem;
	color: var(--text-light);
	font-weight: 500;
}


.form-control 
{
	width: 100%;
	height: 50px;
	padding: 10px 15px;
	padding-left: 45px;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
	font-size: 1rem;
	transition: var(--transition);
}


.form-control:focus 
{
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
	outline: none;
}


.form-icon 
{
	position: absolute;
	left: 15px;
	top: 38px;
	color: var(--text-light);
}


.password-toggle 
{
	position: absolute;
	right: 15px;
	top: 38px;
	color: var(--text-light);
	cursor: pointer;
}


.password-toggle:hover 
{
	color: var(--primary-color);
}


.remember-container 
{
	display: flex;
	align-items: center;
	margin-bottom: 25px;
}


.remember-me 
{
	display: flex;
	align-items: center;
}


.remember-me input 
{
	margin-right: 8px;
}


.remember-me label 
{
	font-size: 0.9rem;
	color: var(--text-light);
	margin-bottom: 0;
}


.btn-reset 
{
	width: 100%;
	height: 50px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	margin-bottom: 20px;
}


.btn-reset:hover 
{
	background-color: var(--primary-dark);
}


.btn-login 
{
	width: 100%;
	height: 50px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	margin-bottom: 20px;
}


.btn-login:hover 
{
	background-color: var(--primary-dark);
}


.forgot-password 
{
	text-align: center;
	margin-top: 15px;
}


.forgot-password a 
{
	color: var(--primary-color);
	text-decoration: none;
	font-size: 0.9rem;
	transition: var(--transition);
}


.forgot-password a:hover 
{
	color: var(--primary-dark);
	text-decoration: underline;
}


.login-error 
{
	padding: 12px;
	background-color: rgba(231, 76, 60, 0.1);
	border-radius: 8px;
	color: var(--danger);
	margin-bottom: 20px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
}


.login-error i 
{
	margin-right: 10px;
}


.btn-recovery 
{
	width: 100%;
	height: 50px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	margin-bottom: 20px;
}


.btn-recovery:hover 
{
	background-color: var(--primary-dark);
}


.back-to-login 
{
	text-align: center;
	margin-top: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
}


.back-to-login a 
{
	color: var(--primary-color);
	text-decoration: none;
	font-size: 0.9rem;
	transition: var(--transition);
	display: flex;
	align-items: center;
}


.back-to-login a i 
{
	margin-right: 8px;
}


.back-to-login a:hover 
{
	color: var(--primary-dark);
	text-decoration: underline;
}


.recovery-error 
{
	padding: 12px;
	background-color: rgba(231, 76, 60, 0.1);
	border-radius: 8px;
	color: var(--danger);
	margin-bottom: 20px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
}


.recovery-error i 
{
	margin-right: 10px;
}


.reset-error,
.reset-success 
{
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
}


.reset-error 
{
	background-color: rgba(231, 76, 60, 0.1);
	color: var(--danger);
}


.reset-success 
{
	background-color: rgba(46, 204, 113, 0.1);
	color: var(--success);
}


.reset-error i,
.reset-success i 
{
	margin-right: 10px;
}


.password-strength 
{
	height: 5px;
	border-radius: 5px;
	margin-top: 8px;
	transition: var(--transition);
	background-color: #ddd;
}


.strength-weak 
{
	width: 30%;
	background-color: var(--danger);
}


.strength-medium 
{
	width: 60%;
	background-color: var(--warning);
}


.strength-strong 
{
	width: 100%;
	background-color: var(--success);
}


.strength-text 
{
	font-size: 0.8rem;
	margin-top: 5px;
	color: var(--text-light);
}


.remember-container {
	margin-bottom: 20px;
}

.remember-me {
	display: flex;
	align-items: flex-start;
}

.remember-me input[type="checkbox"] {
	margin-top: 3px; /* Aligns with first line of text */
	margin-right: 10px;
	min-width: 16px;
	height: 16px;
}

.remember-me label {
	font-size: 14px;
	line-height: 1.4;
	color: #555;
}

/* Optional: Style the checkbox to make it more visible */
.remember-me input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
	cursor: pointer;
	position: relative;
}

.remember-me input[type="checkbox"]:checked {
	background-color: #4a86e8;
	border-color: #4a86e8;
}

.remember-me input[type="checkbox"]:checked::after {
	content: '✓';
	position: absolute;
	color: white;
	font-size: 12px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* For focus state - accessibility */
.remember-me input[type="checkbox"]:focus {
	outline: 2px solid rgba(74, 134, 232, 0.5);
}


/* Responsive Styles */
@media (max-width: 992px) 
{
	.login-card 
	{
		min-height: 500px;
	}
	
	.recovery-card 
	{
		min-height: 500px;
	}
	
	.reset-card 
	{
		min-height: 500px;
	}
}


@media (max-width: 768px) 
{
	.login-card 
	{
		flex-direction: column;
		max-width: 500px;
	}
	
	.login-form-container, 
	.login-image 
	{
		width: 100%;
	}
	
	.login-image 
	{
		min-height: 250px;
		order: -1;
	}
	
	.recovery-card 
	{
		flex-direction: column;
		max-width: 500px;
	}
	
	.recovery-form-container, 
	.recovery-image 
	{
		width: 100%;
	}
	
	.recovery-image 
	{
		min-height: 250px;
		order: -1;
	}
	
	.reset-card 
	{
		flex-direction: column;
		max-width: 500px;
	}
	
	.reset-form-container, 
	.reset-image 
	{
		width: 100%;
	}
	
	.reset-image 
	{
		min-height: 250px;
		order: -1;
	}
}


@media (max-width: 576px) 
{
	.login-form-container 
	{
		padding: 25px;
	}
	
	.login-image 
	{
		min-height: 200px;
		padding: 25px;
	}
	
	.login-image h2 
	{
		font-size: 1.8rem;
	}
	
	.recovery-form-container 
	{
		padding: 25px;
	}
	
	.recovery-image 
	{
		min-height: 200px;
		padding: 25px;
	}
	
	.recovery-image h2 
	{
		font-size: 1.8rem;
	}
	
	.reset-form-container 
	{
		padding: 25px;
	}
	
	.reset-image 
	{
		min-height: 200px;
		padding: 25px;
	}
	
	.reset-image h2 
	{
		font-size: 1.8rem;
	}
}