/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: Roboto, arial, helvetica, sans-serif;
	background: white;
	color: #3F4249;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

.pageTitle {
	font-size: 1.625rem;
	text-align: center;
	color: #007db1;
	margin-bottom: 1rem;
}

.vf-body {
	font-family: Roboto, arial, helvetica, sans-serif;
	background: white;
	color: #3F4249;
	text-align: center;
	padding: 1rem;
	min-height: 100vh;
}

.logo-container {
	text-align: center;
	width: 100%;
	margin-bottom: 1rem;
	margin-top: 2rem;
}

#logo {
	display: inline-block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
	.pageTitle {
		font-size: 1.25rem;
	}
	
	.vf-body {
		padding: 0.5rem;
	}
	
	#logo {
		height: 50px;
		margin: 0.5rem auto;
	}
}      
.vf-link {
	color: #007db1;
	text-decoration: none;
	padding-right: 1rem;
	font-size: 1rem;
}
.vf-button {
	color: #FFFFFF;
	background-color: #007db1;
	border: none;
	padding: 12px 24px !important;
	text-align: center;
	display: inline-block;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	min-height: 44px; /* Better touch target */
	width: auto;
	min-width: 120px;
}

.vf-button:hover {
	background-color: #005a82;
}

.vf-button:active {
	background-color: #004666;
}
.vf-inputField {
	box-sizing: border-box;
	border: 1px solid #969492;
	border-radius: 4px;
	padding: 12px;
	width: 100%;
	max-width: 100%;
	font-size: 16px; /* Prevents zoom on iOS */
	transition: border-color 0.2s ease;
	min-height: 44px; /* Better touch target */
}

.vf-inputField:focus {
	outline: none;
	border-color: #007db1;
	box-shadow: 0 0 0 2px rgba(0, 125, 177, 0.2);
}

/* Error message styling */
.messageTable {
	width: 100%;
	margin-bottom: 1rem;
}

.messageTable .messageCell {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	padding: 12px;
	color: #721c24;
	font-size: 14px;
}

.messageTable .errorM3 {
	background-color: #f8d7da;
	border-left: 4px solid #dc3545;
	padding: 12px;
	margin-bottom: 1rem;
	border-radius: 0 4px 4px 0;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
	.login-container {
		padding: 0.5rem;
	}
	
	.form-group {
		margin-bottom: 1.25rem;
	}
	
	.vf-inputField {
		width: 100%;
		padding: 14px;
	}
	
	.vf-button {
		width: 100%;
		max-width: none;
		padding: 14px 24px !important;
	}
	
	.registration-text {
		font-size: 0.9rem;
	}
	
	.vf-link {
		display: inline-block;
		padding: 8px 0;
		font-size: 0.9rem;
	}
}
/* Form styling */
.login-container {
	max-width: 400px;
	margin: 0 auto;
	padding: 1rem;
}

.form-group {
	margin-bottom: 1.5rem;
	text-align: left;
}

.button-group {
	text-align: center;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #3F4249;
}

.required {
	color: #d63031;
}

.registration-links {
	margin-top: 2rem;
	text-align: center;
}

.registration-text {
	margin-bottom: 1.5rem;
	color: #3F4249;
	line-height: 1.4;
}

.link-group {
	margin-bottom: 1rem;
}

.vf-footer {
	font-family: Roboto, arial, helvetica, sans-serif;
	display: flex;
	justify-content: center;
	margin-top: 200px;
	margin-left: -5px;
	font-size: 0.6rem;
	padding: 15px;
	width: 100%;
	background-color: #3F4249;
	color: white;
}

/* Mobile footer adjustments */
@media screen and (max-width: 768px) {
	.vf-footer {
		margin-top: 100px;
		font-size: 0.8rem;
		padding: 10px;
		margin-left: 0;
	}
}

.grid_2Boxes{
	display: grid;
	grid-template-columns: auto auto;
	padding: 10px;
    margin: 0px 100px;
    color:white;
    column-gap: 200px;
}