/* Global Career Library — styles */
.gcl-wrap {
	--gcl-purple: #6d5ce8;
	--gcl-pink: #d6449b;
	--gcl-ink: #1c1c2e;
	--gcl-muted: #6b7280;
	--gcl-card-bg: #ffffff;
	--gcl-border: #eceef4;
	--gcl-bg-soft: #f7f6fd;
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 20px 80px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--gcl-ink);
	box-sizing: border-box;
}
.gcl-wrap *, .gcl-wrap *::before, .gcl-wrap *::after { box-sizing: border-box; }

/* Many themes/page builders add a "page title" block or extra top margin
   above the content area — if your theme still shows a visible gap above
   this plugin's content after this CSS loads, it's coming from that theme
   element, not from this plugin. Common fix (add via your theme/Elementor
   custom CSS, adjust the selector to match your theme if needed):
   .page-header, .entry-header, .elementor-page-title { display: none; margin: 0; padding: 0; }
*/

/* ---------- Hero / Search ---------- */
.gcl-hero {
	text-align: center;
	background: radial-gradient(circle at 30% 20%, #f1eefb 0%, #fdf1f6 60%, #ffffff 100%);
	border-radius: 24px;
	padding: 56px 24px 64px;
}
.gcl-hero-title {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 18px;
}
.gcl-hero-title span {
	background: linear-gradient(90deg, var(--gcl-purple), var(--gcl-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.gcl-hero-sub {
	max-width: 640px;
	margin: 0 auto 32px;
	color: #d1477a;
	background: #fde3ec;
	display: inline-block;
	padding: 10px 18px;
	border-radius: 10px;
	font-size: 16px;
}
.gcl-search-bar {
	display: flex;
	align-items: center;
	gap: 0;
	max-width: 980px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(90, 60, 160, 0.15);
	padding: 10px;
	flex-wrap: wrap;
}
.gcl-field {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	flex: 1 1 200px;
	position: relative;
	border-right: 1px solid var(--gcl-border);
}
.gcl-field-select { flex: 0 1 190px; }
.gcl-field:last-of-type { border-right: none; }
.gcl-icon { width: 20px; height: 20px; flex-shrink: 0; color: #9aa0ae; }
.gcl-field input, .gcl-field select {
	border: none;
	outline: none;
	font-size: 15px;
	width: 100%;
	background: transparent;
	color: var(--gcl-ink);
	appearance: none;
}
.gcl-explore-btn {
	background: linear-gradient(90deg, var(--gcl-purple), #5b3ff0);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	flex: 0 0 auto;
	transition: transform .15s ease;
}
.gcl-explore-btn:hover { transform: translateY(-1px); }
.gcl-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--gcl-border);
	border-radius: 10px;
	margin-top: 6px;
	max-height: 260px;
	overflow-y: auto;
	list-style: none;
	padding: 6px;
	box-shadow: 0 10px 30px rgba(0,0,0,.1);
	z-index: 50;
	text-align: left;
	display: none;
}
.gcl-suggestions.gcl-open { display: block; }
.gcl-suggestions li {
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
}
.gcl-suggestions li:hover, .gcl-suggestions li.active { background: var(--gcl-bg-soft); }

@media (max-width: 720px) {
	.gcl-search-bar { flex-direction: column; }
	.gcl-field, .gcl-field-select { width: 100%; border-right: none; border-bottom: 1px solid var(--gcl-border); }
	.gcl-explore-btn { width: 100%; justify-content: center; }
}

/* ---------- Trending / Grid ---------- */
.gcl-trending, .gcl-all-careers { margin-top: 56px; }
.gcl-trending h2 {
	text-align: center;
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 28px;
}
.gcl-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
@media (max-width: 1000px) { .gcl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gcl-grid { grid-template-columns: repeat(2, 1fr); } }

.gcl-card {
	background: var(--gcl-card-bg);
	border: 1px solid var(--gcl-border);
	border-radius: 16px;
	padding: 24px 18px;
	position: relative;
	cursor: pointer;
	display: block;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .15s ease, transform .15s ease;
}
.gcl-card:hover { box-shadow: 0 14px 30px rgba(90,60,160,.12); transform: translateY(-2px); }
.gcl-card h3 { font-size: 16px; font-weight: 700; margin: 4px 0 0; }
.gcl-card-icon {
	width: 46px; height: 46px;
	border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
}
.gcl-card-icon svg { width: 22px; height: 22px; }
.gcl-icon-blue   { background: #e8ecff; color: #4f5be8; }
.gcl-icon-purple { background: #efe6ff; color: #8b5cf6; }
.gcl-icon-pink   { background: #ffe6f0; color: #e8437f; }
.gcl-icon-green  { background: #e2faf0; color: #16a34a; }
.gcl-icon-orange { background: #fff0de; color: #ea8a1f; }
.gcl-icon-teal   { background: #dff8f6; color: #0d9488; }
.gcl-icon-yellow { background: #fef6d8; color: #ca9a04; }
.gcl-icon-red    { background: #ffe6e6; color: #dc2626; }

.gcl-badge {
	position: absolute; top: 14px; right: 14px;
	font-size: 10px; font-weight: 700; letter-spacing: .03em;
	padding: 4px 10px; border-radius: 999px;
}
.gcl-badge-demand { background: #ffe3e3; color: #d13c3c; }
.gcl-badge-new    { background: #ece3ff; color: #7c4fe0; }
.gcl-badge-pay    { background: #d7f7ea; color: #0e9f6e; }

.gcl-cta-wrap { text-align: center; margin-top: 48px; }
.gcl-cta-pill {
	background: linear-gradient(90deg, var(--gcl-purple), var(--gcl-pink));
	color: #fff; border: none; border-radius: 999px;
	padding: 16px 34px; font-size: 17px; font-weight: 700; cursor: pointer;
}

/* ---------- Report page ---------- */
.gcl-back-link { display: inline-block; margin-bottom: 20px; color: var(--gcl-purple); text-decoration: none; font-weight: 600; }
.gcl-back-link:hover { text-decoration: underline; }

.gcl-report-hero {
	background: linear-gradient(135deg, #1c1642, #2a1c4d 60%, #3a1c47);
	border-radius: 24px;
	padding: 44px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
	color: #fff;
}
@media (max-width: 900px) { .gcl-report-hero { grid-template-columns: 1fr; } }

.gcl-eyebrow {
	display: inline-block;
	background: rgba(255,255,255,.08) !important;
	border: 1px solid rgba(255,255,255,.2);
	padding: 6px 14px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: .04em;
	margin-bottom: 18px;
	color: #fff !important;
}
/* Theme stylesheets often set their own h1/p/blockquote colors and backgrounds
   with higher specificity than a plain class selector — force ours to win
   inside the dark hero so text stays readable regardless of the active theme. */
.gcl-report-hero h1,
.gcl-report-hero h1 * {
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	margin: 0 0 20px;
	color: #ffffff !important;
	background: transparent !important;
}
.gcl-report-hero blockquote,
.gcl-report-hero blockquote * {
	margin: 0 0 24px !important;
	padding: 0 0 0 18px !important;
	border: none !important;
	border-left: 3px solid var(--gcl-pink) !important;
	color: #e7e4f5 !important;
	background: transparent !important;
	font-size: 17px;
	line-height: 1.7;
	font-style: normal !important;
	box-shadow: none !important;
}
.gcl-hero-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.gcl-pill {
	background: rgba(255,255,255,.08) !important;
	border: 1px solid rgba(255,255,255,.18);
	padding: 10px 16px; border-radius: 10px;
	font-size: 14px; color: #ffffff !important;
}
.gcl-pill-primary { background: var(--gcl-purple) !important; border-color: var(--gcl-purple); cursor: pointer; font-weight: 600; }

.gcl-snapshot-card {
	background: #fff; color: var(--gcl-ink);
	border-radius: 18px; padding: 26px;
}
.gcl-snapshot-card h3 { margin: 0 0 4px; font-size: 17px; }
.gcl-snapshot-sub { color: var(--gcl-muted); font-size: 12px; letter-spacing: .04em; margin: 0 0 18px; }
.gcl-growth-track {
	position: relative;
	display: flex;
	align-items: center;
	height: 40px;
	margin: 6px 0 26px;
}
.gcl-growth-line {
	position: absolute;
	left: 8px; right: 8px; top: 50%;
	height: 3px;
	background: var(--gcl-bg-soft);
	border-radius: 999px;
	transform: translateY(-50%);
}
.gcl-growth-dot {
	position: absolute;
	top: 50%;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: var(--gcl-purple);
	transform: translateY(-50%);
	z-index: 1;
}
.gcl-growth-dot-left { left: 0; }
.gcl-growth-dot-right { right: 0; }
.gcl-growth-pill {
	position: relative;
	z-index: 2;
	margin: 0 auto;
	background: var(--gcl-purple);
	color: #fff;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(109, 92, 232, .35);
}
.gcl-level-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.gcl-level-right { text-align: right; }
.gcl-level-label { font-size: 11px; color: var(--gcl-muted); letter-spacing: .05em; }
.gcl-level-value { font-size: 18px; font-weight: 700; margin-top: 4px; }
.gcl-level-value-accent { color: var(--gcl-purple); }
.gcl-est-note { font-size: 11px; color: var(--gcl-muted); text-align: center; margin: 6px 0 20px; }
.gcl-stat-row { display: flex; gap: 12px; margin-bottom: 18px; }
.gcl-stat-box { flex: 1; background: #eafbf3; border-radius: 12px; padding: 12px 14px; }
.gcl-stat-box-pink { background: #fdeaf0; }
.gcl-stat-label { display: block; font-size: 10px; color: var(--gcl-muted); font-weight: 700; letter-spacing: .05em; margin-bottom: 4px; }
.gcl-stat-value { font-weight: 700; font-size: 15px; }
.gcl-stat-green { color: #16a34a; }
.gcl-industries .gcl-stat-label { margin-bottom: 10px; }
.gcl-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gcl-chip { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.gcl-chip-blue { background: #e8ecff; color: #4f5be8; }
.gcl-chip-green { background: #e2faf0; color: #16a34a; }
.gcl-chip-purple { background: #efe6ff; color: #8b5cf6; }
.gcl-chip-orange { background: #fff0de; color: #ea8a1f; }

/* Body layout */
.gcl-report-body {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 32px;
	margin-top: 36px;
	align-items: start;
}
@media (max-width: 900px) { .gcl-report-body { grid-template-columns: 1fr; } }

.gcl-block {
	background: #fff;
	border: 1px solid var(--gcl-border);
	border-radius: 18px;
	padding: 30px;
	margin-bottom: 24px;
}
.gcl-block-tint { background: var(--gcl-bg-soft); border-color: transparent; }
.gcl-block h2 { font-size: 24px; font-weight: 800; margin: 0 0 20px; }
.gcl-block h4 { font-size: 14px; font-weight: 800; letter-spacing: .03em; margin: 22px 0 12px; color: var(--gcl-ink); }
.gcl-block p { line-height: 1.75; color: #33374a; }

.gcl-dot-list, .gcl-check-list { list-style: none; margin: 0; padding: 0; }
.gcl-dot-list li {
	position: relative; padding-left: 26px; margin-bottom: 14px; line-height: 1.6; color: #33374a;
}
.gcl-dot-list li::before {
	content: ""; position: absolute; left: 0; top: 8px;
	width: 8px; height: 8px; border-radius: 50%; background: var(--gcl-purple);
}
.gcl-check-list li {
	position: relative; padding-left: 26px; margin-bottom: 12px; line-height: 1.6; color: #33374a;
}
.gcl-check-list li::before {
	content: "•"; position: absolute; left: 4px; top: 0; color: #16a34a; font-weight: 900;
}

.gcl-navigator { margin-bottom: 30px; }
.gcl-nav-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gcl-nav-number {
	width: 30px; height: 30px; border-radius: 8px; background: var(--gcl-ink); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.gcl-nav-heading h3 { margin: 0; font-size: 19px; }
.gcl-nav-timeline { border-left: 2px solid var(--gcl-border); margin-left: 14px; padding-left: 26px; }
.gcl-nav-item { position: relative; margin-bottom: 22px; }
.gcl-nav-item:last-child { margin-bottom: 0; }
.gcl-nav-dot {
	position: absolute; left: -33px; top: 0;
	width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gcl-purple);
	background: #fff; font-size: 0;
}
.gcl-nav-item strong { display: block; margin-bottom: 4px; font-size: 15px; }
.gcl-nav-item p { margin: 0; color: #565b70; font-size: 14.5px; }

.gcl-accordion-group { margin-bottom: 22px; }
.gcl-accordion-group h4 { display: flex; align-items: center; gap: 8px; }
.gcl-accordion-item {
	border: 1px solid var(--gcl-border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
}
.gcl-accordion-item summary { cursor: pointer; font-weight: 600; list-style: none; }
.gcl-accordion-item summary::-webkit-details-marker { display: none; }
.gcl-accordion-item summary::after { content: "⌄"; float: right; color: var(--gcl-muted); }
.gcl-accordion-item[open] summary::after { content: "⌃"; }
.gcl-accordion-item p { margin: 10px 0 0; color: #565b70; font-size: 14px; }

/* Sidebar */
.gcl-report-sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 20px; }
.gcl-sidebar-card { background: #fff; border: 1px solid var(--gcl-border); border-radius: 18px; padding: 24px; }
.gcl-sidebar-card h3 { margin: 0 0 14px; font-size: 16px; }
.gcl-sidebar-card p { color: #565b70; line-height: 1.65; font-size: 14.5px; }
.gcl-demand-bar { background: var(--gcl-bg-soft); border-radius: 999px; height: 8px; margin-top: 16px; overflow: hidden; }
.gcl-demand-fill { height: 100%; background: linear-gradient(90deg, #16a34a, #22c55e); border-radius: 999px; }
.gcl-demand-label { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--gcl-muted); }
.gcl-demand-label strong { color: #16a34a; }

.gcl-sidebar-card-watch { background: #fef1f4; border-color: transparent; }
.gcl-watch-thumb {
	display: flex; align-items: center; justify-content: center;
	background: #e8e2f5; border-radius: 12px; height: 140px; text-decoration: none; margin-bottom: 10px;
}
.gcl-play-circle {
	width: 46px; height: 46px; border-radius: 50%; background: #fff;
	display: flex; align-items: center; justify-content: center; color: var(--gcl-purple); font-size: 18px;
}
.gcl-watch-caption { color: #16a34a !important; font-weight: 600; margin: 0; }

/* Next steps */
.gcl-next-steps { margin-top: 50px; text-align: center; }
.gcl-next-steps h2 { font-size: 30px; font-weight: 800; margin-bottom: 26px; }
.gcl-next-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
@media (max-width: 900px) { .gcl-next-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gcl-next-grid { grid-template-columns: 1fr; } }
.gcl-next-card {
	background: #fff; border: 1px solid var(--gcl-border); border-radius: 16px; padding: 24px;
	text-decoration: none; color: var(--gcl-ink); display: block; transition: box-shadow .15s ease;
}
.gcl-next-card:hover { box-shadow: 0 14px 30px rgba(90,60,160,.12); }
.gcl-next-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 10px; background: var(--gcl-bg-soft);
	font-size: 18px; margin-bottom: 14px;
}
.gcl-next-card h4 { margin: 0 0 8px; font-size: 16px; }
.gcl-next-card p { margin: 0; color: var(--gcl-muted); font-size: 13.5px; line-height: 1.5; }

.gcl-error-box { background: #fff5f5; border: 1px solid #ffd7d7; border-radius: 16px; padding: 40px; text-align: center; }
.gcl-error-box h2 { margin-top: 0; }
.gcl-error-box .gcl-explore-btn { margin-top: 16px; text-decoration: none; }

/* ---------- Loading skeleton (shown while the report generates via AJAX) ---------- */
.gcl-skeleton {
	background: linear-gradient(135deg, #1c1642, #2a1c4d 60%, #3a1c47);
	border-radius: 24px;
	padding: 44px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
}
@media (max-width: 900px) { .gcl-skeleton { grid-template-columns: 1fr; } }
.gcl-skel-line {
	height: 14px;
	border-radius: 8px;
	margin-bottom: 12px;
	background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.14) 37%, rgba(255,255,255,.06) 63%);
	background-size: 400% 100%;
	animation: gcl-shimmer 1.4s ease infinite;
}
.gcl-skel-w40 { width: 40%; }
.gcl-skel-w70 { width: 70%; }
.gcl-skel-w90 { width: 90%; }
.gcl-skel-w60 { width: 60%; }
.gcl-skeleton-card {
	border-radius: 18px;
	min-height: 320px;
	background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.1) 37%, rgba(255,255,255,.05) 63%);
	background-size: 400% 100%;
	animation: gcl-shimmer 1.4s ease infinite;
}
@keyframes gcl-shimmer {
	0% { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}
.gcl-skeleton-note {
	text-align: center;
	color: var(--gcl-muted);
	font-size: 14px;
	margin-top: 16px;
}
@media (prefers-reduced-motion: reduce) {
	.gcl-skel-line, .gcl-skeleton-card { animation: none; }
}
