/* NPTF-style Login Page */

body.nptf-login-page {
	padding-top: 0 !important;
	min-height: 100vh;
	overflow-x: hidden;
}

.nptf-login-page {
	position: relative;
	min-height: 100vh;
}

/* Background - full image (building, flags, header, features are in the image) */
.nptf-background {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('../images/login-background.png') center center / cover no-repeat;
	z-index: -1;
}

/* Main content area */
.nptf-main {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 10px);
	padding: 2rem 1rem 8rem;
}

/* Login card - white rounded panel */
.nptf-login-card {
	background: white;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
	padding: 2.5rem 2.5rem 1.5rem;
	width: 100%;
	max-width: 420px;
	margin-bottom: 2rem;
}

.nptf-login-title {
	color: #0d3b2e;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 1.5rem 0;
}

/* Form inputs with icons */
.nptf-login-form .nptf-form-group {
	position: relative;
	margin-bottom: 1.25rem;
}

.nptf-input-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #666;
	font-size: 1rem;
	z-index: 1;
}

.nptf-input {
	padding-left: 42px !important;
	height: 48px;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	font-size: 0.95rem;
}

.nptf-input:focus {
	border-color: #1a5c47;
	box-shadow: 0 0 0 2px rgba(26, 92, 71, 0.2);
}

/* Remember Me & Forgot Password */
.nptf-form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nptf-remember {
	font-size: 0.9rem;
	color: #555;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nptf-remember input {
	margin: 0;
}

.nptf-forgot {
	font-size: 0.9rem;
	color: #1a5c47;
	text-decoration: none;
}

.nptf-forgot:hover {
	text-decoration: underline;
	color: #0d3b2e;
}

/* Login button - green gradient */
.nptf-login-btn {
	width: 100%;
	height: 48px;
	background: linear-gradient(180deg, #2d8a6e 0%, #1a5c47 100%) !important;
	border: none !important;
	border-radius: 8px;
	color: white !important;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(26, 92, 71, 0.4);
	transition: box-shadow 0.2s;
}

.nptf-login-btn:hover {
	background: linear-gradient(180deg, #359872 0%, #0d3b2e 100%) !important;
	color: white !important;
	box-shadow: 0 4px 12px rgba(26, 92, 71, 0.5);
}

/* Copyright & subtitle */
.nptf-copyright,
.nptf-subtitle {
	font-size: 0.8rem;
	color: #666;
	text-align: center;
	margin: 1rem 0 0.25rem 0;
}

.nptf-subtitle {
	font-size: 0.75rem;
	color: #888;
}

/* Error message styling */
.nptf-login-card .alert-danger {
	background: #fde8e8;
	border-color: #f5c6cb;
	color: #721c24;
	border-radius: 8px;
	margin-bottom: 1rem;
}

@media (max-width: 576px) {
	.nptf-login-card {
		padding: 1.5rem;
	}
}
