/**
 * JobinFlow AI Stylesheet
 * Scoped strictly under #jobinflow-app to prevent clashing with WordPress themes.
 * Employs a premium dark navy gradient sidebar and a crisp light slate-gray content panel.
 */

#jobinflow-app {
	/* Design Tokens based on UI/UX Specifications */
	--jf-bg-dark: #F8F9FC;              /* Light gray background */
	--jf-bg-sidebar: linear-gradient(180deg, #0F1A35 0%, #1A2952 100%); /* Dark navy sidebar gradient */
	--jf-bg-card: #FFFFFF;              /* Crisp white cards */
	--jf-border-color: #E5E7EB;         /* Light gray border */
	--jf-border-glow: rgba(255, 107, 0, 0.2);
	
	/* Core Colors */
	--jf-color-text-main: #1A2942;      /* Primary dark text */
	--jf-color-text-muted: #6B7280;     /* Secondary gray text */
	--jf-brand-orange: #FF6B00;         /* Primary accent orange */
	--jf-brand-orange-light: #FF8C42;   /* Secondary accent light orange */
	
	/* Feedback Colors */
	--jf-success: #10B981;              /* Emerald green */
	--jf-warning: #F59E0B;              /* Warning yellow */
	--jf-danger: #EF4444;               /* Danger red */

	/* Fonts */
	--font-primary: 'Inter', sans-serif;
	--font-brand: 'Outfit', sans-serif;
	
	/* Structure and Reset */
	all: unset;
	display: flex;
	min-height: 750px;
	width: 100%;
	background-color: var(--jf-bg-dark);
	color: var(--jf-color-text-main);
	font-family: var(--font-primary);
	font-size: 15px;
	line-height: 1.6;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(26, 41, 66, 0.08);
	border: 1px solid var(--jf-border-color);
	box-sizing: border-box;
	margin: 25px 0;
	position: relative;
}

#jobinflow-app *, 
#jobinflow-app *::before, 
#jobinflow-app *::after {
	box-sizing: border-box;
}

/* --- LEFT SIDEBAR DESIGN (280px, Dark Navy Gradient) --- */
#jobinflow-app .jobinflow-sidebar {
	width: 280px;
	background: var(--jf-bg-sidebar);
	display: flex;
	flex-direction: column;
	padding: 35px 20px;
	flex-shrink: 0;
	position: relative;
	overflow-y: auto;
}

#jobinflow-app .jobinflow-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
}

#jobinflow-app .jobinflow-logo-container {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--jf-brand-orange), var(--jf-brand-orange-light));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

#jobinflow-app .jobinflow-logo-icon {
	color: #ffffff;
	font-size: 20px;
}

#jobinflow-app .jobinflow-brand-text h2 {
	font-family: var(--font-brand);
	font-size: 20px;
	font-weight: 800;
	margin: 0;
	line-height: 1.1;
	color: #ffffff;
	letter-spacing: -0.5px;
}

#jobinflow-app .jobinflow-brand-text span {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--jf-brand-orange-light);
	letter-spacing: 1px;
	display: block;
	margin-top: 2px;
}

#jobinflow-app .jobinflow-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-grow: 1;
}

#jobinflow-app .jobinflow-nav-item {
	background: none;
	border: none;
	outline: none;
	padding: 12px 15px;
	border-radius: 8px;
	color: #94A3B8;                      /* Accessible gray for dark background */
	font-family: var(--font-primary);
	font-size: 13.5px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: left;
	width: 100%;
	border-left: 4px solid transparent;
}

#jobinflow-app .jobinflow-nav-item i {
	font-size: 15px;
	width: 20px;
	text-align: center;
}

#jobinflow-app .jobinflow-nav-item:hover {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.05);
	border-left-color: rgba(255, 107, 0, 0.5);
	padding-left: 18px;
}

#jobinflow-app .jobinflow-nav-item:focus-visible {
	outline: 2px solid var(--jf-brand-orange);
	outline-offset: -2px;
}

#jobinflow-app .jobinflow-nav-item.active {
	background-color: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border-left-color: var(--jf-brand-orange);
	font-weight: 700;
}

#jobinflow-app .jobinflow-sidebar-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 20px;
	margin-top: 20px;
}

#jobinflow-app .jobinflow-sidebar-footer p {
	font-size: 11px;
	color: #64748B;
	margin: 0;
	text-align: center;
}

/* --- MAIN CONTENT DESIGN (Light Gray, Soft Shadows) --- */
#jobinflow-app .jobinflow-main {
	flex-grow: 1;
	padding: 40px;
	overflow-y: auto;
	height: 750px;
	position: relative;
}

/* Tab Content Transitions (0.2s fade/slide) */
#jobinflow-app .jobinflow-tab-content {
	display: none;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

#jobinflow-app .jobinflow-tab-content.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

/* Header Banner */
#jobinflow-app .jobinflow-header-banner {
	margin-bottom: 30px;
}

#jobinflow-app .jobinflow-header-banner h1 {
	font-family: var(--font-brand);
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 6px 0;
	color: var(--jf-color-text-main);
	letter-spacing: -0.5px;
}

#jobinflow-app .jobinflow-header-banner p {
	color: var(--jf-color-text-muted);
	font-size: 14px;
	max-width: 850px;
	margin: 0;
	line-height: 1.5;
}

/* Responsive Grid Layout (Main Card Grid) */
#jobinflow-app .jobinflow-card-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 30px;
	align-items: start;
}

@media (max-width: 1024px) {
	#jobinflow-app {
		flex-direction: column;
		height: auto;
		min-height: auto;
	}
	#jobinflow-app .jobinflow-sidebar {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid var(--jf-border-color);
	}
	#jobinflow-app .jobinflow-main {
		height: auto;
		padding: 25px;
	}
	#jobinflow-app .jobinflow-card-grid {
		grid-template-columns: 1fr;
	}
}

/* Crisp Rounded Cards (White Background, Subtle Shadows) */
#jobinflow-app .jobinflow-card {
	background: var(--jf-bg-card);
	border: 1px solid var(--jf-border-color);
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 20px rgba(26, 41, 66, 0.03);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	position: relative;
}

#jobinflow-app .jobinflow-card:hover {
	border-color: #CBD5E1;
	box-shadow: 0 8px 30px rgba(26, 41, 66, 0.05);
}

#jobinflow-app .jobinflow-input-card {
	border-top: 4px solid var(--jf-brand-orange);
}

#jobinflow-app .jobinflow-result-card {
	border-top: 4px solid var(--jf-color-text-main);
	min-height: 480px;
}

#jobinflow-app .jobinflow-card h3 {
	font-family: var(--font-brand);
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 20px 0;
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--jf-color-text-main);
}

#jobinflow-app .jobinflow-card h3 i {
	color: var(--jf-brand-orange);
}

/* --- INPUT FIELDS SPECIFICATIONS (8px, Focused Orange) --- */
#jobinflow-app .jobinflow-form-group {
	margin-bottom: 20px;
}

#jobinflow-app .jobinflow-form-group label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--jf-color-text-main);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

#jobinflow-app .jobinflow-form-group textarea,
#jobinflow-app .jobinflow-form-group select,
#jobinflow-app .jobinflow-form-group input[type="text"] {
	width: 100%;
	background-color: #F8F9FC;
	border: 1px solid var(--jf-border-color);
	border-radius: 8px;
	padding: 12px;
	color: var(--jf-color-text-main);
	font-family: var(--font-primary);
	font-size: 14px;
	outline: none;
	transition: all 0.2s ease;
}

#jobinflow-app .jobinflow-form-group textarea {
	height: 140px; /* Equivalent to 6 rows */
	resize: vertical;
}

#jobinflow-app .jobinflow-form-group textarea:focus,
#jobinflow-app .jobinflow-form-group select:focus,
#jobinflow-app .jobinflow-form-group input[type="text"]:focus {
	border-color: var(--jf-brand-orange);
	box-shadow: 0 0 8px rgba(255, 107, 0, 0.15);
	background-color: #FFFFFF;
}

#jobinflow-app .jobinflow-form-group textarea:focus-visible,
#jobinflow-app .jobinflow-form-group select:focus-visible,
#jobinflow-app .jobinflow-form-group input[type="text"]:focus-visible {
	outline: 2px solid var(--jf-brand-orange);
}

/* Flex Row helper */
#jobinflow-app .jobinflow-flex-row {
	display: flex;
	gap: 20px;
}

#jobinflow-app .flex-1 {
	flex: 1;
}

/* Drag & Drop Upload Zones (#94A3B8, Dashed) */
#jobinflow-app .jobinflow-upload-zone {
	border: 2px dashed #94A3B8;
	border-radius: 8px;
	padding: 20px 15px;
	text-align: center;
	cursor: pointer;
	margin-bottom: 12px;
	transition: all 0.2s ease;
	background-color: #F8F9FC;
	position: relative;
	outline: none;
}

#jobinflow-app .jobinflow-upload-zone:hover,
#jobinflow-app .jobinflow-upload-zone:focus {
	border-color: var(--jf-brand-orange);
	background-color: rgba(255, 107, 0, 0.02);
}

#jobinflow-app .jobinflow-upload-zone:focus-visible {
	outline: 2px solid var(--jf-brand-orange);
}

#jobinflow-app .jobinflow-upload-zone i {
	font-size: 24px;
	color: var(--jf-color-text-muted);
	margin-bottom: 8px;
	transition: transform 0.2s ease, color 0.2s ease;
}

#jobinflow-app .jobinflow-upload-zone:hover i {
	transform: translateY(-2px);
	color: var(--jf-brand-orange);
}

#jobinflow-app .jobinflow-upload-zone p {
	margin: 0;
	font-size: 11.5px;
	color: var(--jf-color-text-muted);
}

#jobinflow-app .file-info-badge {
	position: absolute;
	inset: 0;
	background-color: #ffffff;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid var(--jf-brand-orange);
	color: var(--jf-brand-orange);
}

/* Full Width Rounded Buttons with Hover Darken */
#jobinflow-app .jobinflow-btn {
	background: none;
	border: none;
	outline: none;
	width: 100%;
	padding: 13px 25px;
	border-radius: 8px;
	font-family: var(--font-primary);
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	color: #ffffff;
}

#jobinflow-app .jobinflow-btn:focus-visible {
	outline: 2px solid var(--jf-color-text-main);
	outline-offset: 2px;
}

#jobinflow-app .jobinflow-btn:active {
	transform: scale(0.98);
}

#jobinflow-app .jobinflow-btn-primary {
	background-color: var(--jf-brand-orange);
	box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
}

#jobinflow-app .jobinflow-btn-primary:hover {
	background-color: var(--jf-brand-orange-light);
	box-shadow: 0 6px 18px rgba(255, 107, 0, 0.25);
	transform: translateY(-1.5px);
}

/* Copy Action Button inside letter outputs */
#jobinflow-app .card-header-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

#jobinflow-app .jobinflow-copy-btn {
	background-color: var(--jf-color-text-main);
	color: #ffffff;
	border: none;
	outline: none;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

#jobinflow-app .jobinflow-copy-btn:hover {
	background-color: var(--jf-brand-orange);
}

#jobinflow-app .jobinflow-copy-btn:active {
	transform: scale(0.95);
}

#jobinflow-app .jobinflow-copy-btn:focus-visible {
	outline: 2px solid var(--jf-brand-orange);
}

/* Letter generated container */
#jobinflow-app .jobinflow-letter-container textarea {
	width: 100%;
	height: 380px;
	background-color: #F8F9FC;
	border: 1px solid var(--jf-border-color);
	border-radius: 8px;
	padding: 15px;
	color: var(--jf-color-text-main);
	font-family: var(--font-primary);
	font-size: 13.5px;
	outline: none;
	resize: none;
}

/* --- RESULTS VISUAL DESIGN --- */
#jobinflow-app .jobinflow-divider {
	border: none;
	border-top: 1px solid var(--jf-border-color);
	margin: 20px 0;
}

/* Placeholder Content */
#jobinflow-app .result-placeholder-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 420px;
	color: var(--jf-color-text-muted);
}

#jobinflow-app .placeholder-icon {
	font-size: 54px;
	background-color: #F8F9FC;
	border: 1px solid var(--jf-border-color);
	padding: 20px;
	border-radius: 16px;
	color: #94A3B8;
	margin-bottom: 16px;
}

#jobinflow-app .result-placeholder-content h4 {
	font-family: var(--font-brand);
	font-size: 17px;
	color: var(--jf-color-text-main);
	margin: 0 0 8px 0;
}

#jobinflow-app .result-placeholder-content p {
	font-size: 13px;
	max-width: 300px;
	margin: 0;
	line-height: 1.4;
}

/* Score Circle Gauge */
#jobinflow-app .jobinflow-score-section {
	display: flex;
	align-items: center;
	gap: 20px;
}

#jobinflow-app .jobinflow-circle-progress {
	position: relative;
	width: 110px;
	height: 110px;
	flex-shrink: 0;
}

#jobinflow-app .progress-ring {
	transform: rotate(-90deg);
}

#jobinflow-app .progress-ring__circle {
	transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	stroke-linecap: round;
}

#jobinflow-app .progress-ring__text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-brand);
	font-size: 24px;
	font-weight: 800;
	color: var(--jf-color-text-main);
}

#jobinflow-app .jobinflow-score-label h4 {
	font-family: var(--font-brand);
	font-size: 19px;
	font-weight: 800;
	margin: 0 0 4px 0;
	color: var(--jf-color-text-main);
}

#jobinflow-app .jobinflow-score-label p {
	margin: 0;
	font-size: 13px;
	color: var(--jf-color-text-muted);
	line-height: 1.4;
}

/* Skill Summary Lists (Matches vs Missing) */
#jobinflow-app .jobinflow-skills-analysis h4,
#jobinflow-app .jobinflow-recommendations h4,
#jobinflow-app .jobinflow-bug-details h4,
#jobinflow-app .jobinflow-experience-gap h4,
#jobinflow-app .jobinflow-gap-analysis h4,
#jobinflow-app .jobinflow-breakdown h4 {
	font-family: var(--font-brand);
	font-size: 14.5px;
	font-weight: 700;
	color: var(--jf-color-text-main);
	margin: 0 0 12px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

#jobinflow-app .skills-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

#jobinflow-app .skills-column h5 {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 8px 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

#jobinflow-app .success-text {
	color: var(--jf-success);
}

#jobinflow-app .warning-text {
	color: var(--jf-warning);
}

#jobinflow-app .skills-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

#jobinflow-app .skills-list li {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	background-color: #F1F5F9;
	border: 1px solid var(--jf-border-color);
	color: var(--jf-color-text-main);
}

#jobinflow-app .skills-column h5.success-text + .skills-list li {
	border-color: rgba(16, 185, 129, 0.25);
	background-color: rgba(16, 185, 129, 0.05);
	color: var(--jf-success);
}

#jobinflow-app .skills-column h5.warning-text + .skills-list li {
	border-color: rgba(245, 158, 11, 0.25);
	background-color: rgba(245, 158, 11, 0.05);
	color: var(--jf-warning);
}

/* Experience Gap */
#jobinflow-app .jobinflow-experience-gap p {
	font-size: 13.5px;
	margin: 0;
	color: var(--jf-color-text-main);
	line-height: 1.4;
}

/* Action Plan Recommendations (Checkboxes, Actionable) */
#jobinflow-app .tips-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#jobinflow-app .tips-list li {
	font-size: 13px;
	padding: 8px 12px;
	border-radius: 6px;
	background-color: #F8F9FC;
	border: 1px solid var(--jf-border-color);
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.4;
}

#jobinflow-app .tips-list li::before {
	content: '\f0eb';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	color: var(--jf-brand-orange);
	flex-shrink: 0;
	font-size: 13px;
}

/* Recommendation Checklist variation */
#jobinflow-app .checkbox-tips li {
	align-items: center;
}

#jobinflow-app .checkbox-tips li::before {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	color: var(--jf-success);
	background-color: rgba(16, 185, 129, 0.1);
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 900;
}

/* --- ACCORDION SYSTEMS --- */
#jobinflow-app .jobinflow-accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#jobinflow-app .accordion-item {
	border: 1px solid var(--jf-border-color);
	border-radius: 8px;
	overflow: hidden;
	background-color: #ffffff;
	transition: border-color 0.2s ease;
}

#jobinflow-app .accordion-header {
	width: 100%;
	background-color: #F8F9FC;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	color: var(--jf-color-text-main);
	cursor: pointer;
	border: none;
	outline: none;
	text-align: left;
	transition: background-color 0.2s ease;
}

#jobinflow-app .accordion-header:hover {
	background-color: #F1F5F9;
}

#jobinflow-app .accordion-header:focus-visible {
	outline: 2px solid var(--jf-brand-orange);
}

#jobinflow-app .accordion-header i {
	font-size: 12px;
	color: var(--jf-color-text-muted);
	transition: transform 0.25s ease;
}

#jobinflow-app .accordion-item.open .accordion-header i {
	transform: rotate(180deg);
}

#jobinflow-app .accordion-content {
	display: none;
	padding: 20px;
	background-color: #ffffff;
	border-top: 1px solid var(--jf-border-color);
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--jf-color-text-muted);
}

#jobinflow-app .accordion-item.open .accordion-content {
	display: block;
	animation: jfSlideDown 0.25s ease forwards;
}

@keyframes jfSlideDown {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

#jobinflow-app .accordion-content strong {
	color: var(--jf-color-text-main);
}

#jobinflow-app .response-bullets {
	margin: 10px 0 0 0;
	padding-left: 20px;
}

#jobinflow-app .response-bullets li {
	margin-bottom: 6px;
}

/* --- PULSING LOADER OVERLAY --- */
#jobinflow-app .jobinflow-loader-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.92);
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	animation: jfFadeIn 0.3s ease forwards;
}

#jobinflow-app .jobinflow-spinner-container {
	position: relative;
	width: 60px;
	height: 60px;
}

#jobinflow-app .jobinflow-spinner {
	width: 100%;
	height: 100%;
	border: 4px solid #F1F5F9;
	border-top-color: var(--jf-brand-orange);
	border-radius: 50%;
	animation: jfSpinnerSpin 1s linear infinite;
}

#jobinflow-app .jobinflow-spinner-glow {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 15px var(--jf-brand-orange);
	opacity: 0.3;
	animation: jfPulseGlow 1.5s ease-in-out infinite;
}

#jobinflow-app .jobinflow-loader-overlay p {
	font-family: var(--font-brand);
	font-size: 16px;
	font-weight: 700;
	color: var(--jf-brand-orange);
	margin: 0;
	letter-spacing: -0.3px;
	animation: jfTextPulse 1.5s ease-in-out infinite;
}

@keyframes jfSpinnerSpin {
	to { transform: rotate(360deg); }
}

@keyframes jfPulseGlow {
	0%, 100% { transform: scale(1); opacity: 0.2; }
	50% { transform: scale(1.1); opacity: 0.4; }
}

@keyframes jfTextPulse {
	0%, 100% { opacity: 0.7; }
	50% { opacity: 1; }
}

/* --- THE 7 TOOLS ADDITIONAL STYLES --- */

/* Bug Finder metrics style */
#jobinflow-app .jobinflow-bug-summary-bar {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 12px;
	text-align: center;
}

#jobinflow-app .bug-metric-box {
	background-color: #F8F9FC;
	border: 1px solid var(--jf-border-color);
	padding: 12px 8px;
	border-radius: 8px;
}

#jobinflow-app .bug-metric-box span {
	font-family: var(--font-brand);
	font-size: 22px;
	font-weight: 800;
	display: block;
	line-height: 1.1;
}

#jobinflow-app .bug-metric-box label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--jf-color-text-muted);
	margin-top: 3px;
	display: block;
}

#jobinflow-app .bug-metric-box.error {
	border-color: rgba(239, 68, 68, 0.25);
	background-color: rgba(239, 68, 68, 0.02);
}
#jobinflow-app .bug-metric-box.error span {
	color: var(--jf-danger);
}

#jobinflow-app .bug-metric-box.warning {
	border-color: rgba(245, 158, 11, 0.25);
	background-color: rgba(245, 158, 11, 0.02);
}
#jobinflow-app .bug-metric-box.warning span {
	color: var(--jf-warning);
}

#jobinflow-app .bug-metric-box.success {
	border-color: rgba(16, 185, 129, 0.25);
	background-color: rgba(16, 185, 129, 0.02);
}
#jobinflow-app .bug-metric-box.success span {
	color: var(--jf-success);
}

/* Issues Cards */
#jobinflow-app .issues-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#jobinflow-app .issue-card {
	padding: 12px 16px;
	border-radius: 8px;
	background-color: #ffffff;
	border: 1px solid var(--jf-border-color);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

#jobinflow-app .issue-card.critical {
	border-left: 4px solid var(--jf-danger);
	background-color: rgba(239, 68, 68, 0.01);
}

#jobinflow-app .issue-card.warning {
	border-left: 4px solid var(--jf-warning);
	background-color: rgba(245, 158, 11, 0.01);
}

#jobinflow-app .issue-card.passed {
	border-left: 4px solid var(--jf-success);
	background-color: rgba(16, 185, 129, 0.01);
}

#jobinflow-app .issue-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#jobinflow-app .issue-title {
	font-weight: 700;
	font-size: 13.5px;
	color: var(--jf-color-text-main);
}

#jobinflow-app .issue-badge {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 1px 6px;
	border-radius: 3px;
}

#jobinflow-app .issue-card.critical .issue-badge {
	background-color: rgba(239, 68, 68, 0.1);
	color: var(--jf-danger);
}

#jobinflow-app .issue-card.warning .issue-badge {
	background-color: rgba(245, 158, 11, 0.1);
	color: var(--jf-warning);
}

#jobinflow-app .issue-card.passed .issue-badge {
	background-color: rgba(16, 185, 129, 0.1);
	color: var(--jf-success);
}

#jobinflow-app .issue-desc {
	font-size: 12px;
	color: var(--jf-color-text-muted);
	margin: 0;
}

#jobinflow-app .issue-solution {
	font-size: 11.5px;
	color: var(--jf-brand-orange);
	margin-top: 2px;
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
}

/* ATS Breakdown metric item */
#jobinflow-app .breakdown-item {
	margin-bottom: 12px;
}

#jobinflow-app .breakdown-label {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--jf-color-text-muted);
	margin-bottom: 4px;
}

#jobinflow-app .breakdown-track {
	height: 6px;
	width: 100%;
	background-color: #E5E7EB;
	border-radius: 10px;
	overflow: hidden;
}

#jobinflow-app .breakdown-fill {
	height: 100%;
	background: linear-gradient(to right, var(--jf-brand-orange), var(--jf-brand-orange-light));
	border-radius: 10px;
	width: 0%;
	transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skill Gap List Layout */
#jobinflow-app .gap-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

#jobinflow-app .gap-item {
	background-color: #F8F9FC;
	border: 1px solid var(--jf-border-color);
	border-radius: 8px;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#jobinflow-app .gap-item-text h5 {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 4px 0;
	color: var(--jf-color-text-main);
	text-transform: uppercase;
}

#jobinflow-app .gap-item-text p {
	font-size: 12px;
	color: var(--jf-color-text-muted);
	margin: 0;
}

#jobinflow-app .gap-item-action-link {
	background-color: #FFFFFF;
	border: 1px solid var(--jf-brand-orange);
	color: var(--jf-brand-orange);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 700;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

#jobinflow-app .gap-item-action-link:hover {
	background-color: var(--jf-brand-orange);
	color: #ffffff;
	transform: translateY(-1px);
}

/* --- NEW TAB BADGE & GEMINI PILL STYLES --- */
#jobinflow-app .jobinflow-badge-new {
	background: #FF6B00;
	color: #fff;
	font-size: 9.5px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 10px;
	margin-left: auto;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 6px rgba(255, 107, 0, 0.4);
}

#jobinflow-app .banner-title-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#jobinflow-app .ai-status-pill {
	background: rgba(255, 107, 0, 0.1);
	border: 1px solid rgba(255, 107, 0, 0.3);
	color: var(--jf-brand-orange);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 11.5px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* --- JOB FINDER CONTROLS & CARDS LAYOUT --- */
#jobinflow-app .jobinflow-search-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

#jobinflow-app .jobinflow-search-grid {
	display: grid;
	grid-template-columns: 2fr 1.5fr 1fr 1fr;
	gap: 15px;
}

#jobinflow-app .jobinflow-search-grid input,
#jobinflow-app .jobinflow-search-grid select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #CBD5E1;
	border-radius: 8px;
	font-size: 13.5px;
	font-family: var(--font-primary);
	color: #1E293B;
	background: #F8FAFC;
	transition: all 0.2s ease;
}

#jobinflow-app .jobinflow-search-grid input:focus,
#jobinflow-app .jobinflow-search-grid select:focus {
	outline: none;
	border-color: var(--jf-brand-orange);
	background: #FFFFFF;
	box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

#jobinflow-app .jobinflow-location-quicktags {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #64748B;
	font-weight: 600;
}

#jobinflow-app .quick-loc-tag {
	background: #F1F5F9;
	border: 1px solid #CBD5E1;
	color: #334155;
	padding: 3px 10px;
	border-radius: 15px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

#jobinflow-app .quick-loc-tag:hover {
	background: var(--jf-brand-orange);
	color: #FFFFFF;
	border-color: var(--jf-brand-orange);
}

/* Job Results Header */
#jobinflow-app .jobinflow-results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}

#jobinflow-app .jobinflow-results-header h3 {
	font-size: 16px;
	font-weight: 700;
	color: #0F1A35;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

#jobinflow-app .badge-location {
	background: #EFF6FF;
	color: #2563EB;
	border: 1px solid #BFDBFE;
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 15px;
}

/* Job Cards Container */
#jobinflow-app .jobfinder-cards-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#jobinflow-app .jobfinder-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 22px;
	transition: all 0.25s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

#jobinflow-app .jobfinder-card:hover {
	border-color: var(--jf-brand-orange);
	box-shadow: 0 8px 25px rgba(255,107,0,0.08);
	transform: translateY(-2px);
}

#jobinflow-app .job-card-header {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 12px;
}

#jobinflow-app .company-logo-badge {
	width: 44px;
	height: 44px;
	background: #F1F5F9;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0F1A35;
	font-size: 18px;
	flex-shrink: 0;
}

#jobinflow-app .job-title-group h4 {
	font-size: 16.5px;
	font-weight: 700;
	color: #0F1A35;
	margin: 0 0 3px 0;
	line-height: 1.3;
}

#jobinflow-app .company-sub {
	font-size: 13px;
	color: #64748B;
	margin: 0;
}

#jobinflow-app .loc-text {
	color: #FF6B00;
	font-weight: 600;
}

#jobinflow-app .job-type-pill {
	margin-left: auto;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

#jobinflow-app .job-type-pill.full-time { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
#jobinflow-app .job-type-pill.remote { background: #EEF2FF; color: #4F46E5; border: 1px solid #C7D2FE; }
#jobinflow-app .job-type-pill.contract { background: #FEF3C7; color: #D97706; border: 1px solid #FDE68A; }

#jobinflow-app .job-desc-snippet {
	font-size: 13px;
	color: #475569;
	line-height: 1.5;
	margin: 0 0 14px 0;
}

#jobinflow-app .job-meta-row {
	display: flex;
	gap: 15px;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 14px;
}

#jobinflow-app .salary-tag { color: #059669; font-weight: 700; }
#jobinflow-app .exp-tag { color: #64748B; }
#jobinflow-app .posted-tag { color: #94A3B8; }

#jobinflow-app .job-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}

#jobinflow-app .job-tag-chip {
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	color: #475569;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 6px;
}

#jobinflow-app .job-card-footer {
	display: flex;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid #F1F5F9;
}

#jobinflow-app .card-inline-match-result {
	margin-top: 14px;
	padding: 14px;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
}

#jobinflow-app .inline-match-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 12.5px;
}

#jobinflow-app .inline-match-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

#jobinflow-app .missing-inline {
	margin: 0;
	color: #DC2626;
	font-size: 12px;
}

#jobinflow-app .jobinflow-empty-box {
	text-align: center;
	padding: 40px;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	color: #64748B;
}

#jobinflow-app .jobinflow-empty-box i {
	font-size: 32px;
	color: #CBD5E1;
	margin-bottom: 10px;
}

@media (max-width: 900px) {
	#jobinflow-app .jobinflow-search-grid {
		grid-template-columns: 1fr;
	}
}

