/**
 * Programmatic SEO (pSEO) Styling for NGOJobsite.
 * Clean, modern layout matching the site's primary design language.
 */

.ngo-pseo-main {
	background-color: #f8fafc;
	min-height: 80vh;
	color: #0f172a;
	font-family: inherit;
}

.ngo-pseo-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ══════════════════════════════════════════════════════════════
   1. HERO HEADER & BREADCRUMBS
   ══════════════════════════════════════════════════════════════ */
.ngo-pseo-hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	padding: 36px 0 44px;
	position: relative;
	border-bottom: 1px solid #334155;
}

.ngo-pseo-breadcrumbs {
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.ngo-pseo-breadcrumbs a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ngo-pseo-breadcrumbs a:hover {
	color: #38bdf8;
	text-decoration: underline;
}

.ngo-pseo-breadcrumbs .ngo-bc-sep {
	color: #64748b;
}

.ngo-pseo-breadcrumbs .ngo-bc-current {
	color: #38bdf8;
	font-weight: 600;
}

.ngo-pseo-hero-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: center;
}

.ngo-pseo-hero-pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.3);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 14px;
	letter-spacing: 0.02em;
}

.ngo-pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #38bdf8;
	box-shadow: 0 0 8px #38bdf8;
}

.ngo-pseo-hero-title {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.25;
	color: #ffffff;
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}

.ngo-pseo-hero-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 0 0 24px;
	max-width: 680px;
}

.ngo-pseo-stats-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ngo-stat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 13px;
	color: #e2e8f0;
}

.ngo-stat-pill-val {
	font-weight: 800;
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.18);
	padding: 1px 7px;
	border-radius: 4px;
}

.ngo-stat-pill-lbl {
	font-weight: 500;
}

.ngo-pill-sep {
	color: rgba(125, 211, 252, 0.4);
}

.ngo-pill-updated {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #bae6fd;
}

.ngo-pill-updated strong {
	color: #38bdf8;
	font-weight: 700;
}

.ngo-stat-pill-date {
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.3);
	color: #a7f3d0;
}

.ngo-stat-pill-date strong {
	color: #ffffff;
	font-weight: 700;
}

/* Post list feed subheader */
.ngo-pseo-feed-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e2e8f0;
	flex-wrap: wrap;
	gap: 12px;
}

.ngo-feed-count-summary {
	font-size: 14px;
	color: #475569;
}

.ngo-feed-count-summary strong {
	color: #0f172a;
	font-weight: 700;
}

.ngo-feed-updated-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	font-size: 12px;
	font-weight: 500;
	padding: 4px 12px;
	border-radius: 999px;
}

.ngo-feed-updated-badge strong {
	color: #15803d;
	font-weight: 700;
}

.ngo-pulse-dot--green {
	background: #10b981;
	box-shadow: 0 0 8px #10b981;
}

/* Hero Alert Box Card */
.ngo-hero-alert-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.ngo-h-alert-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}

.ngo-h-alert-sub {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.45;
	color: #94a3b8;
}

.ngo-pseo-subscribe-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ngo-pseo-email-input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 14px;
	font-size: 13px;
	border: 1px solid #475569;
	border-radius: 8px;
	background: #0f172a;
	color: #ffffff;
	outline: none;
	transition: border-color 0.15s ease;
}

.ngo-pseo-email-input:focus {
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.ngo-pseo-submit-btn {
	background: #0284c7;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
	text-align: center;
}

.ngo-pseo-submit-btn:hover {
	background: #0369a1;
}

/* ══════════════════════════════════════════════════════════════
   2. INTERACTIVE FILTER TOOLBAR
   ══════════════════════════════════════════════════════════════ */
.ngo-pseo-toolbar-section {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	padding: 18px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ngo-pseo-toolbar-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	width: 100%;
}

.ngo-pseo-search-group {
	position: relative !important;
	flex: 1 1 300px;
	min-width: 0;
}

.ngo-pseo-search-group .ngo-search-svg,
.ngo-pseo-search-group .ngo-input-icon {
	position: absolute !important;
	left: 14px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	pointer-events: none !important;
	color: #64748b !important;
	font-size: 16px;
	line-height: 1;
	z-index: 2;
}

.ngo-pseo-filter-input {
	width: 100% !important;
	height: 48px !important;
	line-height: 48px !important;
	padding: 0 16px 0 44px !important;
	box-sizing: border-box !important;
	font-size: 15px !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 10px !important;
	background-color: #ffffff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: 14px center !important;
	background-size: 18px 18px !important;
	color: #0f172a !important;
	outline: none !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ngo-pseo-filter-input:focus {
	border-color: #0284c7 !important;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
	background-color: #ffffff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: 14px center !important;
	background-size: 18px 18px !important;
}

.ngo-pseo-select-group {
	position: relative;
	flex: 0 1 200px;
	min-width: 0;
}

.ngo-pseo-filter-select {
	width: 100% !important;
	height: 48px !important;
	padding: 0 36px 0 14px !important;
	box-sizing: border-box !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	border: 1.5px solid #cbd5e1 !important;
	border-radius: 10px !important;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) center !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	color: #0f172a !important;
	cursor: pointer;
	transition: all 0.2s ease !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ngo-pseo-filter-select:focus {
	outline: none !important;
	border-color: #0284c7 !important;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.ngo-pseo-filter-btn {
	height: 48px !important;
	line-height: 48px !important;
	padding: 0 22px !important;
	background: #0f172a !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: all 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1);
}

.ngo-pseo-filter-btn:hover {
	background: #0284c7 !important;
	box-shadow: 0 4px 8px rgba(2, 132, 199, 0.25);
}

.ngo-pseo-reset-btn {
	height: 48px;
	line-height: 48px;
	padding: 0 14px;
	color: #ef4444;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.ngo-pseo-reset-btn:hover {
	background: #fee2e2;
}

/* ══════════════════════════════════════════════════════════════
   2B. FEED RESULTS BAR (Showing X Vacancies & Live Updated Date)
   ══════════════════════════════════════════════════════════════ */
.ngo-pseo-results-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding: 16px 22px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	flex-wrap: wrap;
	gap: 14px;
}

.ngo-results-bar-left {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ngo-results-bar-title {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ngo-results-count-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 24px;
	padding: 0 8px;
	background: #e0f2fe;
	color: #0369a1;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 800;
}

.ngo-results-bar-sub {
	font-size: 13px;
	color: #64748b;
}

.ngo-results-bar-right {
	display: flex;
	align-items: center;
}

.ngo-live-updated-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 6px 14px;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(16, 185, 129, 0.08);
}

.ngo-pulse-ring {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 10px;
	height: 10px;
}

.ngo-pulse-core {
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 50%;
	box-shadow: 0 0 6px #10b981;
}

.ngo-updated-text {
	font-size: 13px;
	color: #065f46;
}

.ngo-updated-label {
	color: #047857;
	font-weight: 500;
	margin-right: 2px;
}

.ngo-updated-val {
	color: #065f46;
	font-weight: 700;
}

/* Pagination Styling */
.ngo-pseo-pagination {
	margin: 40px 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ngo-pagination-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}

.ngo-pagination-inner .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ngo-pagination-inner .page-numbers:hover {
	background: #f8fafc;
	border-color: #0284c7;
	color: #0284c7;
}

.ngo-pagination-inner .page-numbers.current {
	background: #0f172a;
	border-color: #0f172a;
	color: #ffffff;
	font-weight: 700;
}

.ngo-pagination-inner .page-numbers.dots {
	border: none;
	background: transparent;
	color: #94a3b8;
	min-width: 24px;
	cursor: default;
	box-shadow: none;
}

.ngo-pagination-inner .page-numbers.prev,
.ngo-pagination-inner .page-numbers.next {
	padding: 0 16px;
	font-weight: 700;
}

.ngo-pagination-info {
	font-size: 13px;
	color: #64748b;
}

/* ══════════════════════════════════════════════════════════════
   3. CONTENT SECTION & EMPTY FALLBACK
   ══════════════════════════════════════════════════════════════ */
.ngo-pseo-content-section {
	padding: 36px 0 60px;
}

.ngo-pseo-empty-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 60px 24px;
	text-align: center;
	max-width: 680px;
	margin: 20px auto 40px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.ngo-empty-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

.ngo-empty-title {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px;
}

.ngo-empty-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #64748b;
	margin: 0 0 28px;
}

.ngo-empty-action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   4. DISCOVERY MATRIX & RECRUITER CTA
   ══════════════════════════════════════════════════════════════ */
.ngo-pseo-matrix-section {
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	padding: 48px 0 60px;
}

.ngo-matrix-heading {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px;
}

.ngo-matrix-pills-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ngo-matrix-pill {
	display: inline-block;
	background: #f1f5f9;
	color: #334155;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 13px;
	border-radius: 999px;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	transition: all 0.15s ease;
}

.ngo-matrix-pill:hover {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
}

.ngo-matrix-pill.is-active {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
	font-weight: 700;
}

.ngo-pseo-recruiter-banner {
	margin-top: 48px;
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
	border-radius: 14px;
	padding: 32px;
	color: #ffffff;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.3);
}

.ngo-rec-banner-copy {
	flex: 1 1 500px;
}

.ngo-rec-banner-title {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 8px;
	color: #ffffff;
}

.ngo-rec-banner-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #e0f2fe;
}

.ngo-rec-btn {
	display: inline-block;
	background: #ffffff;
	color: #0369a1;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ngo-rec-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	color: #0284c7;
}

/* ══════════════════════════════════════════════════════════════
   5. RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.ngo-pseo-hero-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.ngo-pseo-hero-title {
		font-size: 26px;
	}
	.ngo-pseo-toolbar-form {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 12px !important;
		width: 100%;
	}
	.ngo-pseo-search-group {
		grid-column: 1 / -1;
		width: 100% !important;
	}
	.ngo-pseo-select-group {
		width: 100% !important;
		flex: 1 1 auto;
	}
	.ngo-pseo-select-group:only-of-type {
		grid-column: 1 / -1;
	}
	.ngo-pseo-filter-btn {
		grid-column: 1 / -1;
		width: 100% !important;
	}
	.ngo-pseo-reset-btn {
		grid-column: 1 / -1;
		width: 100% !important;
		text-align: center;
	}
}

@media (max-width: 640px) {
	.ngo-pseo-container {
		padding: 0 16px;
	}
	.ngo-pseo-hero {
		padding: 24px 0 32px;
	}
	.ngo-pseo-hero-title {
		font-size: 22px;
		line-height: 1.3;
	}
	.ngo-pseo-hero-pill-badge {
		flex-wrap: wrap;
		font-size: 11px;
		padding: 6px 12px;
	}
	.ngo-pseo-toolbar-form {
		grid-template-columns: 1fr;
		gap: 10px !important;
	}
	.ngo-pseo-select-group {
		grid-column: 1 / -1;
	}
	.ngo-pseo-results-bar {
		flex-direction: column;
		align-items: flex-start;
		padding: 14px 16px;
		gap: 12px;
	}
	.ngo-results-bar-right {
		width: 100%;
	}
	.ngo-live-updated-chip {
		width: 100%;
		box-sizing: border-box;
		justify-content: flex-start;
	}
	.ngo-card-inner {
		padding: 18px 16px;
	}
	.ngo-pagination-inner .page-numbers {
		min-width: 36px;
		height: 36px;
		font-size: 13px;
		padding: 0 10px;
	}
}
