.pm-auth-page,
.pm-employee-portal {
	box-sizing: border-box;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px 24px;
	font-family: Arial, Helvetica, sans-serif;
}

.pm-auth-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80vh;
}

.pm-auth-card {
	width: 100%;
	max-width: 440px;
	padding: 40px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.pm-auth-header {
	margin-bottom: 30px;
	text-align: center;
}

.pm-auth-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	background: #1d4ed8;
	border-radius: 18px;
	color: #ffffff;
	font-size: 30px;
	font-weight: 700;
}

.pm-auth-header h1 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 30px;
}

.pm-auth-header p {
	margin: 0;
	color: #6b7280;
}

.pm-auth-error {
	margin-bottom: 20px;
	padding: 12px 14px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #991b1b;
}

#pm-login-form p {
	margin: 0 0 18px;
}

#pm-login-form label {
	display: block;
	margin-bottom: 7px;
	color: #374151;
	font-size: 14px;
	font-weight: 600;
}

#pm-login-form input[type="text"],
#pm-login-form input[type="password"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	font-size: 16px;
}

#pm-login-form input[type="text"]:focus,
#pm-login-form input[type="password"]:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#pm-login-form .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

#pm-login-form .login-submit {
	margin-bottom: 0;
}

#pm-login-form .button-primary {
	width: 100%;
	min-height: 48px;
	padding: 10px 20px;
	background: #1d4ed8;
	border: 0;
	border-radius: 9px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

#pm-login-form .button-primary:hover {
	background: #1e40af;
}

.pm-auth-links {
	margin-top: 22px;
	text-align: center;
}

.pm-auth-links a {
	color: #1d4ed8;
	text-decoration: none;
}

.pm-portal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
	padding: 30px;
	background: #111827;
	border-radius: 18px;
	color: #ffffff;
}

.pm-portal-eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	color: #93c5fd;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pm-portal-header h1 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 32px;
}

.pm-portal-header p {
	margin: 0;
	color: #d1d5db;
}

.pm-logout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 9px;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
}

.pm-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.pm-dashboard-card {
	padding: 28px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.pm-dashboard-icon {
	margin-bottom: 18px;
	font-size: 34px;
}

.pm-dashboard-card h2 {
	margin: 0 0 10px;
	color: #111827;
	font-size: 22px;
}

.pm-dashboard-card p {
	margin: 0 0 20px;
	color: #6b7280;
	line-height: 1.6;
}

.pm-card-coming {
	display: inline-block;
	padding: 6px 10px;
	background: #eff6ff;
	border-radius: 999px;
	color: #1d4ed8;
	font-size: 13px;
	font-weight: 700;
}

@media screen and (max-width: 700px) {
	.pm-auth-card {
		padding: 28px 22px;
	}

	.pm-portal-header {
		flex-direction: column;
	}

	.pm-dashboard-grid {
		grid-template-columns: 1fr;
	}
}