/* ==========================================================================
   Pinnacle IIT Alumni Portal — public styles
   Brand tokens sampled directly from https://pinnacleiit.com/
   ========================================================================== */

.pap-scope {
	--pap-navy: #0B1220;
	--pap-navy-2: #152244;
	--pap-blue: #1967D2;
	--pap-blue-light: #4F8DF5;
	--pap-bg: #F2F6FF;
	--pap-white: #ffffff;
	--pap-text: #1c2434;
	--pap-text-muted: #5a6376;
	--pap-text-faint: #8a93a6;
	--pap-border: #e5e9f2;
	--pap-success-bg: #E4F7EA;
	--pap-success: #14804A;
	--pap-error-bg: #FDEAEA;
	--pap-error: #C4271F;
	--pap-radius-card: 16px;
	--pap-radius-pill: 30px;
	--pap-radius-input: 10px;
	--pap-shadow: 0 8px 24px rgba(11, 18, 32, 0.08);
	--pap-font-heading: 'Barlow', 'Segoe UI', sans-serif;
	--pap-font-body: 'Open Sans', 'Segoe UI', sans-serif;

	font-family: var(--pap-font-body);
	color: var(--pap-text);
	box-sizing: border-box;
}

.pap-scope,
.pap-scope *,
.pap-scope *::before,
.pap-scope *::after {
	box-sizing: border-box;
}

.pap-scope h1, .pap-scope h2, .pap-scope h3 {
	font-family: var(--pap-font-heading);
	font-weight: 800;
	color: var(--pap-navy);
	margin: 0 0 6px;
}

.pap-scope a { color: var(--pap-blue); }

.pap-hidden { display: none !important; }

.pap-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Notices ---------- */
.pap-notice {
	padding: 12px 16px;
	border-radius: var(--pap-radius-input);
	font-size: 14px;
	margin-bottom: 16px;
}
.pap-notice-error { background: var(--pap-error-bg); color: var(--pap-error); }
.pap-notice-success { background: var(--pap-success-bg); color: var(--pap-success); }
.pap-notice-info { background: var(--pap-bg); color: var(--pap-blue); }

.pap-field-error {
	color: var(--pap-error);
	font-size: 12.5px;
	margin-top: 4px;
	display: block;
}

/* ==========================================================================
   Portal page shell (templates/page-shell.php) — full page width wrapper
   used INSTEAD OF the active theme's page container on the five Alumni
   Portal pages, so the portal never gets squeezed into a narrow boxed
   column. Brand tokens match pinnacleiit.com exactly (sampled live).
   ========================================================================== */

body.pap-portal-body {
	margin: 0;
	padding: 0;
	background: var(--pap-bg);
	min-height: 100vh;
}

.pap-portal-shell {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.pap-portal-topbar {
	width: 100%;
	background: linear-gradient(135deg, var(--pap-navy), var(--pap-navy-2));
	box-shadow: 0 2px 16px rgba(11, 18, 32, 0.22);
	position: relative;
	z-index: 20;
}

.pap-portal-topbar-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 15px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.pap-portal-topbar-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #fff;
	transition: opacity .15s ease;
}
.pap-portal-topbar-brand:hover { opacity: .88; }
.pap-portal-topbar-brand img { max-height: 32px; display: block; }
.pap-portal-topbar-brand .pap-wordmark {
	font-family: var(--pap-font-heading);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .5px;
	color: #fff;
}
.pap-portal-topbar-tag {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #9db3e8;
	padding-left: 12px;
	margin-left: 2px;
	border-left: 1px solid rgba(255, 255, 255, .22);
}

.pap-portal-topbar-nav { display: flex; align-items: center; gap: 4px; }
.pap-portal-topbar-nav a {
	color: #c9d6f5;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	padding: 8px 14px;
	border-radius: var(--pap-radius-pill);
	transition: color .15s ease, background-color .15s ease;
}
.pap-portal-topbar-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pap-portal-topbar-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .14); }
.pap-portal-topbar-nav a.pap-btn { color: #fff; margin-left: 6px; }
.pap-portal-topbar-nav a.pap-btn:hover { background: none; }

.pap-portal-main {
	flex: 1;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px 32px;
	box-sizing: border-box;
}

.pap-portal-footer {
	width: 100%;
	background: var(--pap-navy);
	margin-top: auto;
}
.pap-portal-footer-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 18px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #8a9bc4;
}
.pap-portal-footer-inner a { color: #fff; text-decoration: none; font-weight: 600; }

@media (max-width: 600px) {
	.pap-portal-topbar-inner { padding: 14px 16px; }
	.pap-portal-topbar-tag { display: none; }
	.pap-portal-topbar-nav { gap: 12px; }
	.pap-portal-main { padding: 24px 16px; }
	.pap-portal-footer-inner { padding: 16px; justify-content: center; text-align: center; }
}

/* ==========================================================================
   Auth shell (login / register / forgot password)
   ========================================================================== */

.pap-auth-shell {
	max-width: 980px;
	margin: 0 auto;
	min-height: 640px;
	background: radial-gradient(circle at 15% 15%, #16213f 0%, var(--pap-navy) 55%, #060a14 100%);
	border-radius: 24px;
	padding: 48px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pap-auth-brand {
	text-align: center;
	margin-bottom: 24px;
}

.pap-auth-brand img { max-height: 34px; }
.pap-auth-brand .pap-wordmark {
	color: #fff;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: 1px;
}
.pap-auth-brand .pap-tagline {
	color: #9db3e8;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 6px;
}

.pap-auth-card {
	width: 100%;
	max-width: 460px;
	background: var(--pap-white);
	border-radius: var(--pap-radius-card);
	box-shadow: var(--pap-shadow);
	padding: 36px 32px;
}

.pap-auth-card.pap-auth-card-wide { max-width: 680px; }

.pap-auth-card h1 { font-size: 24px; }
.pap-auth-card .pap-subtitle {
	color: var(--pap-text-muted);
	font-size: 14px;
	margin-bottom: 24px;
}

.pap-auth-footer {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
	color: var(--pap-text-muted);
}
.pap-auth-footer a { font-weight: 700; text-decoration: none; }

/* ==========================================================================
   Form elements
   ========================================================================== */

.pap-form-row { margin-bottom: 18px; }

.pap-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.pap-form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--pap-text);
	margin-bottom: 6px;
}

.pap-form-row .pap-required { color: var(--pap-error); }

.pap-input,
.pap-select,
select.pap-input {
	width: 100%;
	padding: 12px 14px;
	border-radius: var(--pap-radius-input);
	border: 1.5px solid var(--pap-border);
	font-family: var(--pap-font-body);
	font-size: 14px;
	background: #fbfcff;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.pap-input:focus,
.pap-select:focus {
	outline: none;
	border-color: var(--pap-blue);
	box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.14);
	background: #fff;
}

.pap-input.pap-invalid { border-color: var(--pap-error); }

.pap-password-wrap {
	position: relative;
}

.pap-password-wrap .pap-input {
	padding-right: 44px;
}

.pap-password-toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--pap-text-faint);
	border-radius: 8px;
	transition: color .15s ease, background .15s ease;
}

.pap-password-toggle:hover {
	color: var(--pap-blue);
	background: rgba(25, 103, 210, 0.08);
}

.pap-password-toggle svg {
	width: 20px;
	height: 20px;
}

.pap-input-file {
	border: 1.5px dashed var(--pap-border);
	border-radius: var(--pap-radius-input);
	padding: 14px;
	text-align: center;
	cursor: pointer;
	color: var(--pap-text-muted);
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.pap-avatar-preview {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--pap-border);
	flex-shrink: 0;
}

.pap-checkbox-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13.5px;
	color: var(--pap-text-muted);
	margin-bottom: 20px;
}
.pap-checkbox-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; }

.pap-section-heading {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--pap-blue);
	margin: 24px 0 14px;
}
.pap-section-heading:first-child { margin-top: 0; }

/* ---------- Buttons ---------- */

.pap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--pap-radius-pill);
	font-weight: 700;
	font-size: 14.5px;
	font-family: var(--pap-font-body);
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.pap-btn:focus-visible {
	outline: 2px solid var(--pap-blue);
	outline-offset: 2px;
}

.pap-btn-primary {
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	color: #fff;
	box-shadow: 0 6px 16px rgba(25, 103, 210, 0.3);
}
.pap-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(25, 103, 210, 0.35); color: #fff; }
.pap-btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.pap-btn-secondary {
	background: #fff;
	color: var(--pap-blue);
	border: 1.5px solid var(--pap-border);
}
.pap-btn-secondary:hover { border-color: var(--pap-blue); color: var(--pap-blue); }

.pap-btn-danger {
	background: var(--pap-error-bg);
	color: var(--pap-error);
}

.pap-btn-block { width: 100%; }
.pap-btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Step indicator (registration) ---------- */

.pap-steps {
	display: flex;
	margin-bottom: 32px;
	gap: 0;
}
.pap-step {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.pap-step:not(:first-child)::before {
	content: '';
	position: absolute;
	top: 15px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--pap-border);
	z-index: 0;
}
.pap-step.is-active:not(:first-child)::before,
.pap-step.is-done:not(:first-child)::before { background: var(--pap-blue); }

.pap-step-circle {
	position: relative;
	z-index: 1;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--pap-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--pap-text-faint);
	margin-bottom: 8px;
	transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.pap-step-label {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--pap-text-faint);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.pap-step.is-active .pap-step-circle {
	border-color: var(--pap-blue);
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	color: #fff;
	box-shadow: 0 4px 10px rgba(25, 103, 210, .35);
}
.pap-step.is-done .pap-step-circle {
	border-color: var(--pap-blue);
	background: var(--pap-blue);
	color: #fff;
}
.pap-step.is-active .pap-step-label,
.pap-step.is-done .pap-step-label { color: var(--pap-navy); }

.pap-step-success { text-align: center; }
.pap-success-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 10px 24px rgba(25, 103, 210, .35);
}

.pap-form-step { display: none; }
.pap-form-step.is-active { display: block; animation: papFade .25s ease; }

@keyframes papFade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Gentle one-time entrance used by the dashboard hero, stat cards and
   quick-action cards — fast, subtle, and skipped entirely for anyone
   who has asked their system for reduced motion (see the
   prefers-reduced-motion block near the end of this file). */
@keyframes papRise {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
.pap-stat-grid .pap-stat-card:nth-child(1) { animation-delay: .05s; }
.pap-stat-grid .pap-stat-card:nth-child(2) { animation-delay: .1s; }
.pap-stat-grid .pap-stat-card:nth-child(3) { animation-delay: .15s; }
.pap-stat-grid .pap-stat-card:nth-child(4) { animation-delay: .2s; }
.pap-quick-actions .pap-quick-action-card:nth-child(1) { animation-delay: .05s; }
.pap-quick-actions .pap-quick-action-card:nth-child(2) { animation-delay: .1s; }
.pap-quick-actions .pap-quick-action-card:nth-child(3) { animation-delay: .15s; }

.pap-step-actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
}
.pap-step-actions .pap-btn { flex: 1; }

/* ==========================================================================
   Login split-screen
   ========================================================================== */

.pap-login-shell {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	min-height: 620px;
	max-width: 1100px;
	margin: 0 auto;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--pap-shadow);
}

.pap-login-visual {
	position: relative;
	background: radial-gradient(circle at 20% 20%, #16213f 0%, var(--pap-navy) 55%, #060a14 100%);
	color: #fff;
	padding: 48px 44px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}
.pap-login-visual::before,
.pap-login-visual::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.pap-login-visual::before {
	width: 340px; height: 340px; top: -120px; right: -100px;
	background: radial-gradient(circle, rgba(79, 141, 245, .35), transparent 70%);
}
.pap-login-visual::after {
	width: 260px; height: 260px; bottom: -100px; left: -80px;
	background: radial-gradient(circle, rgba(25, 103, 210, .28), transparent 70%);
}
.pap-login-visual > * { position: relative; z-index: 1; }
.pap-login-visual .pap-auth-brand { text-align: left; margin-bottom: 0; }
.pap-login-headline {
	font-family: var(--pap-font-heading);
	font-weight: 800;
	font-size: 32px;
	line-height: 1.18;
	margin: 28px 0 14px;
	color: #fff;
}
.pap-login-headline span { color: var(--pap-blue-light); }
.pap-login-sub { color: #a9bbe6; font-size: 14.5px; line-height: 1.6; max-width: 360px; }
.pap-login-quote {
	border-top: 1px solid rgba(255, 255, 255, .15);
	padding-top: 18px;
	font-style: italic;
	color: #c3d1ef;
	font-size: 13.5px;
}

.pap-login-panel {
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}
.pap-login-panel-inner { width: 100%; max-width: 400px; }
.pap-login-panel-inner h1 { font-size: 24px; }

@media (max-width: 900px) {
	.pap-login-shell { grid-template-columns: 1fr; min-height: auto; border-radius: 20px; }
	.pap-login-visual { padding: 36px 28px; }
	.pap-login-headline { font-size: 26px; }
	.pap-login-panel { padding: 32px 24px; }
}

/* ==========================================================================
   App shell (dashboard / profile)
   ========================================================================== */

.pap-app {
	background: var(--pap-bg);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--pap-shadow);
	display: grid;
	grid-template-columns: 240px 1fr;
	grid-template-rows: auto 1fr;
	min-height: 620px;
}

.pap-app-header {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, var(--pap-navy), var(--pap-navy-2));
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #fff;
}

.pap-app-brand { display: flex; align-items: center; gap: 12px; }
.pap-app-brand img { max-height: 28px; }
.pap-app-brand .pap-wordmark { font-weight: 800; font-size: 16px; }
.pap-app-brand .pap-tagline {
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #9db3e8;
	display: block;
}

.pap-app-user { display: flex; align-items: center; gap: 12px; position: relative; }
.pap-app-user img {
	width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25);
}
.pap-app-user-name { font-size: 13.5px; font-weight: 600; }
.pap-app-user-name small { display: block; font-weight: 400; color: #9db3e8; font-size: 11px; }

.pap-mobile-toggle {
	display: none;
	background: none;
	border: none;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
}

.pap-app-sidebar {
	background: #fff;
	border-right: 1px solid var(--pap-border);
	padding: 20px 12px;
}

.pap-nav { list-style: none; margin: 0; padding: 0; }
.pap-nav li { margin-bottom: 4px; }
.pap-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 10px;
	color: var(--pap-text-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.pap-nav a:hover { background: var(--pap-bg); color: var(--pap-blue); }
.pap-nav a.is-active { background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light)); color: #fff; }
.pap-nav .pap-nav-icon { font-size: 16px; width: 18px; text-align: center; }

.pap-app-main { padding: 28px 32px; background: var(--pap-bg); }

.pap-welcome h1 { font-size: 24px; margin-bottom: 4px; }
.pap-welcome p { color: var(--pap-text-muted); margin: 0 0 24px; }

.pap-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.pap-info-card {
	background: linear-gradient(160deg, #fff 0%, #fbfcff 100%);
	border-radius: var(--pap-radius-card);
	padding: 18px 20px;
	border: 1px solid var(--pap-border);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pap-info-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(11, 18, 32, .08);
	border-color: rgba(25, 103, 210, .2);
}
.pap-info-icon {
	width: 34px; height: 34px;
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	font-size: 15px;
	background: var(--pap-bg);
	color: var(--pap-blue);
	margin-bottom: 12px;
}
.pap-info-card .pap-info-label {
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--pap-text-faint);
	font-weight: 700;
	margin-bottom: 6px;
	display: block;
}
.pap-info-card .pap-info-value {
	font-size: 18px;
	font-weight: 800;
	color: var(--pap-navy);
	font-family: var(--pap-font-heading);
}

.pap-completion-card {
	background: #fff;
	border-radius: var(--pap-radius-card);
	padding: 22px;
	border: 1px solid var(--pap-border);
	margin-bottom: 24px;
}
.pap-completion-bar {
	height: 10px;
	background: var(--pap-bg);
	border-radius: 10px;
	overflow: hidden;
	margin-top: 12px;
}
.pap-completion-fill {
	height: 100%;
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	border-radius: 10px;
	transition: width .4s ease;
}

.pap-panel {
	background: #fff;
	border-radius: var(--pap-radius-card);
	padding: 26px;
	border: 1px solid var(--pap-border);
}
.pap-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.pap-profile-view-avatar {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 24px;
}
.pap-profile-view-avatar img {
	width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--pap-bg);
}
.pap-profile-view-avatar h2 { margin-bottom: 2px; }
.pap-profile-view-avatar p { margin: 0; color: var(--pap-text-muted); }

.pap-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.pap-detail-list .pap-detail-item .pap-detail-label {
	font-size: 12px; color: var(--pap-text-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 4px;
}
.pap-detail-list .pap-detail-item .pap-detail-value { font-size: 15px; font-weight: 600; color: var(--pap-text); }

.pap-section-title {
	font-family: var(--pap-font-heading);
	font-size: 16.5px;
	font-weight: 800;
	color: var(--pap-navy);
	margin: 28px 0 14px;
}
.pap-section-title:first-child { margin-top: 0; }

/* ---------- Dashboard hero ---------- */
.pap-dash-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 15%, rgba(79, 141, 245, .35) 0%, transparent 45%),
		linear-gradient(135deg, var(--pap-navy) 0%, var(--pap-navy-2) 100%);
	border-radius: var(--pap-radius-card);
	padding: 30px 32px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
	flex-wrap: wrap;
	box-shadow: 0 16px 40px rgba(11, 18, 32, .22);
	animation: papRise .45s ease both;
}
/* Extremely subtle decorative shapes — a soft glow and two faint curved
   rings, purely atmospheric, never competing with the text. */
.pap-dash-hero::before {
	content: '';
	position: absolute;
	top: -70px; right: -60px;
	width: 260px; height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .10) 0%, transparent 70%);
	pointer-events: none;
}
.pap-dash-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 48px);
	mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
	-webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
	pointer-events: none;
}
.pap-dash-hero-left { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.pap-dash-hero-avatar-wrap {
	position: relative;
	flex-shrink: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .3), 0 0 0 7px rgba(79, 141, 245, .18);
}
.pap-dash-hero-avatar {
	display: block;
	width: 64px; height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(11, 18, 32, .25);
	transition: transform .25s ease;
}
.pap-dash-hero-avatar-wrap:hover .pap-dash-hero-avatar { transform: scale(1.05); }
.pap-dash-hero h1 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.pap-dash-hero-left p { color: #c3d1ef; margin: 0 0 8px; font-size: 13.5px; }
.pap-dash-hero-tagline {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #8fa8e0;
}
.pap-dash-hero-progress { position: relative; z-index: 1; min-width: 220px; }
.pap-dash-hero-progress-label {
	display: flex; justify-content: space-between; gap: 12px;
	font-size: 12px; font-weight: 700; color: #c3d1ef; margin-bottom: 6px;
}
.pap-dash-hero-progress-label strong { color: #fff; font-size: 14px; }
.pap-dash-hero-bar { height: 8px; background: rgba(255, 255, 255, .18); border-radius: 10px; overflow: hidden; }
.pap-dash-hero-fill {
	height: 100%;
	background: linear-gradient(135deg, var(--pap-blue-light), #fff);
	border-radius: 10px;
	transition: width .8s cubic-bezier(.22, .8, .28, 1);
}
.pap-dash-hero-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.pap-dash-hero-btn .pap-btn-arrow { transition: transform .18s ease; }
.pap-dash-hero-btn:hover .pap-btn-arrow { transform: translateX(3px); }

/* ---------- Stat row ---------- */
.pap-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	margin-bottom: 8px;
}
.pap-stat-card {
	background: #fff;
	border: 1px solid var(--pap-border);
	border-radius: var(--pap-radius-card);
	padding: 18px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	animation: papRise .45s ease both;
}
.pap-stat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(11, 18, 32, .1);
	border-color: rgba(25, 103, 210, .25);
}
.pap-stat-icon {
	width: 46px; height: 46px;
	border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 19px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	box-shadow: 0 6px 14px rgba(25, 103, 210, .28), inset 0 1px 0 rgba(255, 255, 255, .3);
	transition: transform .18s ease;
}
.pap-stat-card:hover .pap-stat-icon { transform: scale(1.07) rotate(-2deg); }
.pap-stat-body { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 8px; min-width: 0; }
.pap-stat-value { font-family: var(--pap-font-heading); font-weight: 800; font-size: 20px; color: var(--pap-navy); line-height: 1.15; }
.pap-stat-label { font-size: 12px; color: var(--pap-text-muted); font-weight: 600; }
.pap-stat-chevron {
	color: var(--pap-text-faint);
	font-size: 16px;
	flex-shrink: 0;
	transition: transform .18s ease, color .18s ease;
}
.pap-stat-card:hover .pap-stat-chevron { transform: translateX(2px); color: var(--pap-blue); }

/* ---------- Quick actions ---------- */
.pap-quick-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.pap-quick-action-card {
	background: #fff;
	border: 1px solid var(--pap-border);
	border-radius: var(--pap-radius-card);
	padding: 22px;
	text-decoration: none;
	display: flex;
	align-items: flex-start;
	gap: 4px;
	position: relative;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	animation: papRise .45s ease both;
}
.pap-quick-action-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(11, 18, 32, .1);
	border-color: var(--pap-blue);
}
.pap-quick-action-card:focus-visible {
	outline: 2px solid var(--pap-blue);
	outline-offset: 2px;
}
.pap-quick-action-body { flex: 1; min-width: 0; }
.pap-quick-action-icon {
	font-size: 19px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pap-bg), #e7edfb);
	color: var(--pap-blue);
	margin-bottom: 14px;
	transition: transform .18s ease, background .18s ease;
}
.pap-quick-action-card:hover .pap-quick-action-icon {
	transform: scale(1.06);
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
}
.pap-quick-action-card h3 { font-size: 15px; margin: 0 0 4px; color: var(--pap-navy); }
.pap-quick-action-card p { margin: 0; font-size: 13px; color: var(--pap-text-muted); line-height: 1.5; }
.pap-quick-action-arrow {
	flex-shrink: 0;
	color: var(--pap-text-faint);
	font-size: 17px;
	margin-top: 2px;
	transition: transform .18s ease, color .18s ease;
}
.pap-quick-action-card:hover .pap-quick-action-arrow { transform: translateX(3px); color: var(--pap-blue); }

/* ---------- Engagement cards: Your Connection / How I Can Earn ----------
   Replace the old Registered Alumni / Profile Completion / Alumni Since /
   City stat row at the top of the Dashboard. Same navy/blue palette as
   the rest of the portal (--pap-navy / --pap-blue / --pap-blue-light),
   just inverted (dark card, light text) to read as "premium" against the
   surrounding white cards, the way the reference design does. */
.pap-engage-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 8px;
}
.pap-engage-grid .pap-engage-card:nth-child(1) { animation-delay: .05s; }
.pap-engage-grid .pap-engage-card:nth-child(2) { animation-delay: .1s; }

.pap-engage-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	width: 100%;
	background: linear-gradient(160deg, var(--pap-navy) 0%, var(--pap-navy-2) 100%);
	border: none;
	border-radius: var(--pap-radius-card);
	padding: 26px 28px;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	font-family: var(--pap-font-body);
	box-shadow: 0 10px 28px rgba(11, 18, 32, .18);
	transition: transform .2s ease, box-shadow .2s ease;
	animation: papRise .45s ease both;
}
.pap-engage-card:hover,
.pap-engage-card:focus-visible {
	transform: translateY(-5px);
	box-shadow: 0 18px 38px rgba(11, 18, 32, .28);
}
.pap-engage-card:focus-visible { outline: 2px solid var(--pap-blue-light); outline-offset: 3px; }

.pap-engage-card-glow {
	position: absolute;
	top: -46px;
	right: -46px;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(79, 141, 245, .35), transparent 70%);
	pointer-events: none;
	transition: transform .3s ease;
}
.pap-engage-card:hover .pap-engage-card-glow { transform: scale(1.15); }

.pap-engage-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 10px;
	position: relative;
	z-index: 1;
}
.pap-engage-card-top h3 {
	margin: 0;
	font-family: var(--pap-font-heading);
	font-size: 19px;
	font-weight: 800;
	color: #fff;
}
.pap-engage-card-arrow {
	font-size: 18px;
	color: #c3d1ef;
	flex-shrink: 0;
	transition: transform .2s ease, color .2s ease;
}
.pap-engage-card:hover .pap-engage-card-arrow { transform: translateX(5px); color: #fff; }

.pap-engage-card p {
	margin: 0 0 20px;
	font-size: 13.5px;
	line-height: 1.55;
	color: #c3d1ef;
	position: relative;
	z-index: 1;
}

.pap-engage-card-metric {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin-top: auto;
	position: relative;
	z-index: 1;
}
.pap-engage-card-icon {
	width: 46px; height: 46px;
	border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 20px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	box-shadow: 0 6px 14px rgba(25, 103, 210, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
	transition: transform .18s ease;
}
.pap-engage-card:hover .pap-engage-card-icon { transform: scale(1.06) rotate(-2deg); }
.pap-engage-card-number {
	font-family: var(--pap-font-heading);
	font-weight: 800;
	font-size: 26px;
	line-height: 1.1;
	color: #fff;
}
.pap-engage-card-metric-label {
	font-size: 12.5px;
	font-weight: 700;
	color: #c3d1ef;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.pap-engage-card-cta { text-transform: none; font-size: 14.5px; font-weight: 700; color: #fff; }

/* ---------- How I Can Earn modal ---------- */
.pap-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(11, 18, 32, .55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 10000;
	animation: papFadeIn .15s ease both;
}
.pap-modal-overlay[hidden] { display: none; }
body.pap-modal-open { overflow: hidden; }
@keyframes papFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pap-modal {
	background: #fff;
	border-radius: var(--pap-radius-card);
	box-shadow: 0 24px 60px rgba(11, 18, 32, .35);
	padding: 30px 32px;
	max-width: 480px;
	width: 100%;
	max-height: 86vh;
	overflow-y: auto;
	position: relative;
	animation: papModalIn .22s ease both;
}
@keyframes papModalIn {
	from { opacity: 0; transform: translateY(12px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.pap-modal-close {
	position: absolute;
	top: 16px; right: 16px;
	width: 32px; height: 32px;
	border-radius: 50%;
	border: none;
	background: var(--pap-bg);
	color: var(--pap-text-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .15s ease, color .15s ease;
}
.pap-modal-close:hover { background: var(--pap-error-bg); color: var(--pap-error); }
.pap-modal-close:focus-visible { outline: 2px solid var(--pap-blue); outline-offset: 2px; }
.pap-modal-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--pap-font-heading);
	font-size: 20px;
	font-weight: 800;
	color: var(--pap-navy);
	margin: 0 0 12px;
	padding-right: 28px;
}
.pap-modal-title-icon {
	width: 38px; height: 38px;
	border-radius: 12px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	box-shadow: 0 6px 14px rgba(25, 103, 210, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.pap-modal-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--pap-text);
	margin: 0 0 18px;
}
.pap-modal-note { margin-bottom: 20px; }
.pap-modal-note p { margin: 0; font-size: 13px; line-height: 1.6; }

/* ---------- "Your Referral Reward" highlight box ----------
   Shows ONLY the logged-in alumnus's own experience + matched reward --
   never the full admin-configured table (that stays on the Settings
   page, admin-only). See templates/dashboard.php for the three states
   (matched / no rule configured yet / no experience on profile) that
   render inside the modal around this box. */
.pap-reward-box {
	display: flex;
	flex-direction: column;
	background: linear-gradient(160deg, var(--pap-bg) 0%, #e7edfb 100%);
	border: 1px solid rgba(25, 103, 210, .15);
	border-radius: 14px;
	padding: 20px 22px;
	margin-bottom: 18px;
}
.pap-reward-box-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-weight: 800;
	color: var(--pap-blue);
}
.pap-reward-box-value {
	font-family: var(--pap-font-heading);
	font-size: 19px;
	font-weight: 800;
	color: var(--pap-navy);
	margin: 4px 0 16px;
}
.pap-reward-box-label--amount { margin-top: 0; }
.pap-reward-box-amount {
	font-family: var(--pap-font-heading);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.2;
	margin-top: 4px;
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--pap-blue);
}

/* ---------- Alumni Directory ---------- */
.pap-directory-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.pap-directory-hero h1 { font-size: 22px; margin-bottom: 4px; }
.pap-directory-hero p { color: var(--pap-text-muted); margin: 0; font-size: 13.5px; }
.pap-directory-search {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.pap-directory-search .pap-input {
	width: 260px;
	max-width: 100%;
	margin-bottom: 0;
}
.pap-directory-count {
	color: var(--pap-text-muted);
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 18px;
}
.pap-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}
.pap-directory-card {
	background: #fff;
	border: 1px solid var(--pap-border);
	border-radius: var(--pap-radius-card);
	padding: 18px 20px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	animation: papRise .4s ease both;
}
.pap-directory-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(11, 18, 32, .08);
	border-color: rgba(25, 103, 210, .2);
}
.pap-directory-avatar {
	width: 52px; height: 52px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var(--pap-bg);
}
.pap-directory-card-body { min-width: 0; }
.pap-directory-name {
	font-size: 15px;
	margin: 0 0 2px;
	color: var(--pap-navy);
	overflow-wrap: break-word;
}
.pap-directory-title {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--pap-text-muted);
	overflow-wrap: break-word;
}
.pap-directory-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}
.pap-directory-meta-item {
	font-size: 12px;
	color: var(--pap-text-faint);
	font-weight: 600;
	white-space: nowrap;
}
.pap-directory-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 8px 0 24px;
}
.pap-directory-pagination-status {
	font-size: 13px;
	color: var(--pap-text-muted);
	font-weight: 600;
}

/* ---------- Profile cover header ---------- */
.pap-profile-cover {
	position: relative;
	border-radius: var(--pap-radius-card);
	overflow: hidden;
	margin-bottom: 56px;
	box-shadow: var(--pap-shadow);
}
.pap-profile-cover-banner {
	height: 130px;
	background: linear-gradient(120deg, var(--pap-navy) 0%, var(--pap-navy-2) 55%, var(--pap-blue) 150%);
}
.pap-profile-cover-body {
	background: #fff;
	padding: 18px 26px 18px 152px;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	min-height: 54px;
}
.pap-profile-cover-avatar {
	position: absolute;
	left: 26px;
	top: -56px;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	border: 4px solid #fff;
	object-fit: cover;
	box-shadow: var(--pap-shadow);
	background: #fff;
}
.pap-profile-cover-info h2 { margin: 0 0 4px; font-size: 19px; }
.pap-profile-cover-info p { margin: 0; color: var(--pap-text-muted); font-size: 13.5px; }

/* ---------- Profile tabs ---------- */
.pap-profile-tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.pap-profile-tabs a {
	padding: 9px 18px;
	border-radius: var(--pap-radius-pill);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	color: var(--pap-text-muted);
	background: #fff;
	border: 1px solid var(--pap-border);
}
.pap-profile-tabs a.is-active {
	background: linear-gradient(135deg, var(--pap-blue), var(--pap-blue-light));
	border-color: transparent;
	color: #fff;
}

@media (max-width: 600px) {
	.pap-dash-hero { padding: 22px 20px; }
	.pap-dash-hero-progress { width: 100%; }
	.pap-profile-cover-body { padding: 16px 16px 16px 128px; }
	.pap-profile-cover-avatar { width: 88px; height: 88px; left: 16px; top: -44px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.pap-app { grid-template-columns: 200px 1fr; }
	.pap-form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.pap-app { grid-template-columns: 1fr; }
	.pap-app-sidebar {
		position: fixed;
		top: 0; left: 0; bottom: 0;
		width: 260px;
		transform: translateX(-100%);
		transition: transform .25s ease;
		z-index: 1000;
		box-shadow: 8px 0 24px rgba(0,0,0,.15);
		overflow-y: auto;
	}
	.pap-app-sidebar.is-open { transform: translateX(0); }
	.pap-mobile-toggle { display: inline-flex; }
	.pap-app-main { padding: 20px 16px; }
	.pap-app-user-name { display: none; }
	.pap-detail-list { grid-template-columns: 1fr; }
	.pap-sidebar-overlay {
		display: none;
		position: fixed; inset: 0; background: rgba(11,18,32,.5); z-index: 999;
	}
	.pap-sidebar-overlay.is-open { display: block; }
}

@media (max-width: 600px) {
	.pap-form-grid { grid-template-columns: 1fr; }
	.pap-auth-card { padding: 26px 20px; }
	.pap-auth-shell { padding: 32px 12px; border-radius: 16px; }
	.pap-steps { overflow-x: auto; }
}

@media (max-width: 400px) {
	.pap-step-actions { flex-direction: column; }
}

/* ---------- Dashboard grids: explicit column counts ----------
   Desktop (default, above 1024px): stat-grid 4 columns, quick-actions
   up to 3, info card-grid up to 4 — all via auto-fit above.
   Tablet (601px – 1024px): 2 columns everywhere.
   Mobile (600px and below): 1 column, no horizontal scroll. */
@media (max-width: 1024px) {
	.pap-stat-grid { grid-template-columns: repeat(2, 1fr); }
	.pap-card-grid { grid-template-columns: repeat(2, 1fr); }
	.pap-quick-actions { grid-template-columns: repeat(2, 1fr); }
	.pap-directory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
	.pap-engage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.pap-stat-grid { grid-template-columns: 1fr; }
	.pap-card-grid { grid-template-columns: 1fr; }
	.pap-quick-actions { grid-template-columns: 1fr; }
	.pap-directory-grid { grid-template-columns: 1fr; }
	.pap-directory-hero { align-items: stretch; }
	.pap-directory-search .pap-input { width: 100%; }
	.pap-modal { padding: 24px 20px; }
}

/* ---------- Reduced motion ----------
   Users who've asked the OS for reduced motion still get the premium
   look, just without the entrance animation or movement-based hovers —
   opacity/color/shadow changes are kept since they carry no motion. */
@media (prefers-reduced-motion: reduce) {
	.pap-dash-hero,
	.pap-stat-card,
	.pap-quick-action-card,
	.pap-info-card,
	.pap-directory-card,
	.pap-engage-card {
		animation: none !important;
	}
	.pap-dash-hero-avatar,
	.pap-dash-hero-fill,
	.pap-stat-icon,
	.pap-stat-chevron,
	.pap-quick-action-icon,
	.pap-quick-action-arrow,
	.pap-btn-arrow,
	.pap-stat-card,
	.pap-quick-action-card,
	.pap-info-card,
	.pap-directory-card,
	.pap-portal-topbar-nav a,
	.pap-engage-card,
	.pap-engage-card-arrow,
	.pap-engage-card-icon,
	.pap-engage-card-glow {
		transition-duration: .01ms !important;
	}
	.pap-stat-card:hover,
	.pap-quick-action-card:hover,
	.pap-info-card:hover,
	.pap-directory-card:hover,
	.pap-engage-card:hover {
		transform: none !important;
	}
	.pap-stat-card:hover .pap-stat-icon,
	.pap-stat-card:hover .pap-stat-chevron,
	.pap-quick-action-card:hover .pap-quick-action-icon,
	.pap-quick-action-card:hover .pap-quick-action-arrow,
	.pap-dash-hero-avatar-wrap:hover .pap-dash-hero-avatar,
	.pap-dash-hero-btn:hover .pap-btn-arrow,
	.pap-engage-card:hover .pap-engage-card-arrow,
	.pap-engage-card:hover .pap-engage-card-icon,
	.pap-engage-card:hover .pap-engage-card-glow {
		transform: none !important;
	}
	.pap-modal-overlay,
	.pap-modal {
		animation: none !important;
	}
}
