/* Modern Login Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root 
{
	--primary-color: #0b6e4f; /* Teal/green theme for admin portal */
	--primary-dark: #07503a;
	--secondary-color: #14b88a;
	--text-dark: #333333;
	--text-light: #767676;
	--bg-light: #f8f9fa;
	--bg-dark: #212529;
	--success: #2ecc71;
	--danger: #e74c3c;
	--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;
}


.tfa-container 
{
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}


.tfa-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;
}


.tfa-form-container 
{
	width: 50%;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


.tfa-image 
{
	width: 50%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px;
	color: white;
}


.tfa-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;
}


.tfa-image-content 
{
	position: relative;
	z-index: 2;
}


.tfa-image h2 
{
	font-size: 2.5rem;
	margin-bottom: 10px;
	font-weight: 600;
}


.tfa-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(11, 110, 79, 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(11, 110, 79, 0.1);
	outline: none;
}


.form-icon 
{
	position: absolute;
	left: 15px;
	top: 38px;
	color: var(--text-light);
}


.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;
}


.password-toggle 
{
	position: absolute;
	right: 15px;
	top: 38px;
	color: var(--text-light);
	cursor: pointer;
}


.password-toggle:hover 
{
	color: var(--primary-color);
}


.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);
}


.reset-message 
{
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
}


.tfa-info 
{
	padding: 15px;
	background-color: rgba(11, 110, 79, 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);
}


.tfa-digits-container 
{
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}


.tfa-input-wrapper 
{
	position: relative;
	margin-bottom: 30px;
}


.tfa-input 
{
	width: 100%;
	height: 60px;
	padding: 10px 15px;
	padding-left: 45px;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
	font-size: 1.5rem;
	letter-spacing: 8px;
	text-align: center;
	transition: var(--transition);
	background-color: white;
}


.tfa-input:focus 
{
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.1);
	outline: none;
}


.tfa-icon 
{
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-light);
}


.admin-badge 
{
	display: inline-block;
	background-color: var(--primary-color);
	color: white;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 12px;
	margin-left: 5px;
	vertical-align: middle;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}


.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-message i 
{
	margin-right: 10px;
}


.reset-info 
{
	padding: 15px;
	background-color: rgba(11, 110, 79, 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);
}


.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-verify 
{
	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-verify:hover 
{
	background-color: var(--primary-dark);
}


.tfa-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;
}


.tfa-error i 
{
	margin-right: 10px;
}


/* Responsive Styles */
@media (max-width: 992px) 
{
	.login-card 
	{
		min-height: 500px;
	}
	
	.tfa-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;
	}
	
	.tfa-card 
	{
		flex-direction: column;
		max-width: 500px;
	}
	
	.tfa-form-container, 
	.tfa-image 
	{
		width: 100%;
	}
	
	.tfa-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;
	}
	
	.tfa-form-container 
	{
		padding: 25px;
	}
	
	.tfa-image 
	{
		min-height: 200px;
		padding: 25px;
	}
	
	.tfa-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;
	}
}