/* ORENEX - Smart India Hackathon Presentation Infographic Styles */
:root {
	--bg-canvas: #f8fafc;
	--bg-card: #ffffff;
	--border-color: #e2e8f0;
	--border-subtle: #f1f5f9;
	--text-main: #0f172a;
	--text-muted: #64748b;
	--text-dim: #94a3b8;
	--orenex-blue: #0284c7;
	--orenex-blue-dark: #0369a1;
	--orenex-teal: #0d9488;
	--orenex-green: #059669;
	--orenex-emerald: #10b981;
	--orenex-cyan: #06b6d4;
	--orenex-rose: #f43f5e;
	--orenex-amber: #f59e0b;
	--font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: #0b1329;
	font-family: var(--font-sans);
	color: var(--text-main);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 12px;
}

#root {
	width: 100%;
	display: flex;
	justify-content: center;
}

.infographic-root {
	width: 100%;
	max-width: 1480px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}

.infographic-root.fullscreen-active {
	max-width: 100vw;
	min-height: 100vh;
	border-radius: 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
}

/* Toast Notification */
.toast-notification {
	background: #065f46;
	color: #ecfdf5;
	padding: 10px 20px;
	font-size: 0.85rem;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #10b981;
}

.toast-close {
	background: none;
	border: none;
	color: #ecfdf5;
	cursor: pointer;
	font-size: 1rem;
	margin-left: 12px;
}

/* HEADER BAR */
.app-header {
	background: #0f172a;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid #0284c7;
	color: #ffffff;
	flex-wrap: wrap;
	gap: 12px;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.sih-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(2, 132, 199, 0.2);
	border: 1px solid rgba(56, 189, 248, 0.4);
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #38bdf8;
	font-family: var(--font-mono);
}

.sih-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 6px #10b981;
}

.project-title-cluster {
	display: flex;
	flex-direction: column;
}

.project-main-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #ffffff;
	line-height: 1.2;
}

.title-gradient {
	background: linear-gradient(135deg, #38bdf8, #34d399);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.project-subtitle-tag {
	font-size: 0.75rem;
	color: #94a3b8;
	font-weight: 500;
}

.header-center-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(30, 41, 59, 0.8);
	padding: 4px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-tab-btn {
	background: transparent;
	border: none;
	color: #94a3b8;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s;
}

.nav-tab-btn:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
	color: #ffffff;
	background: #0284c7;
	box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.header-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.action-pill-btn {
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid #10b981;
	color: #34d399;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s;
}

.action-pill-btn:hover {
	background: #10b981;
	color: #ffffff;
}

.btn-active-glow {
	background: #10b981;
	color: #ffffff;
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.pulse-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34d399;
}

.pulse-indicator.pulsing {
	background: #ffffff;
	animation: pulsePing 1s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes pulsePing {
	75%, 100% {
		transform: scale(2);
		opacity: 0;
	}
}

.icon-action-btn {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #cbd5e1;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
}

.icon-action-btn:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.btn-signin-header {
	background: #0284c7;
	border: none;
	color: #ffffff;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-signin-header:hover {
	background: #0369a1;
}

.user-profile-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(30, 41, 59, 0.9);
	padding: 4px 8px;
	border-radius: 20px;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.user-avatar-circle {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #0284c7;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.user-details-mini {
	display: flex;
	flex-direction: column;
}

.user-name-text {
	font-size: 0.75rem;
	font-weight: 700;
	color: #ffffff;
	max-width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.user-role-text {
	font-size: 0.65rem;
	color: #38bdf8;
	font-family: var(--font-mono);
}

.logout-mini-btn {
	background: transparent;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 2px;
	display: flex;
	align-items: center;
}

.logout-mini-btn:hover {
	color: #f43f5e;
}

/* PRESENTATION CANVAS */
.infographic-presentation-canvas {
	display: flex;
	flex-direction: column;
	background: #f8fafc;
	padding: 16px 20px;
	gap: 16px;
}

/* HERO REMOTE SENSING CARD (TOP SATELLITE + MAP TILE) */
.hero-remote-sensing-card {
	background: #0b1329;
	border-radius: 12px;
	border: 1px solid #1e293b;
	position: relative;
	overflow: hidden;
	padding: 14px 18px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.space-backdrop-grid {
	position: absolute;
	inset: 0;
	background-size: 30px 30px;
	background-image: 
		linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	pointer-events: none;
}

.stars-cluster {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
										radial-gradient(1px 1px at 80px 70px, #ffffff, rgba(0,0,0,0)),
										radial-gradient(1.5px 1.5px at 150px 40px, #38bdf8, rgba(0,0,0,0)),
										radial-gradient(1px 1px at 300px 90px, #ffffff, rgba(0,0,0,0)),
										radial-gradient(1.5px 1.5px at 450px 25px, #34d399, rgba(0,0,0,0)),
										radial-gradient(1px 1px at 600px 65px, #ffffff, rgba(0,0,0,0));
	background-repeat: repeat;
	background-size: 700px 150px;
	opacity: 0.6;
	pointer-events: none;
}

.orbit-telemetry-badge {
	position: absolute;
	top: 10px;
	left: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(15, 23, 42, 0.7);
	padding: 4px 10px;
	border-radius: 4px;
	border: 1px solid rgba(56, 189, 248, 0.2);
	font-family: var(--font-mono);
	font-size: 0.68rem;
	color: #38bdf8;
	font-weight: 600;
	z-index: 2;
}

.live-ping-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #38bdf8;
	box-shadow: 0 0 6px #38bdf8;
}

.satellite-hero-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.satellite-render-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sentinel-svg-hero {
	width: 100%;
	max-height: 240px;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.scanning-beam-polygon {
	animation: beamScan 3s infinite alternate ease-in-out;
}

@keyframes beamScan {
	0% { opacity: 0.65; }
	100% { opacity: 0.95; }
}

/* SATELLITE TILE CARD */
.satellite-tile-card {
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid #334155;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.tile-header-bar {
	background: #1e293b;
	padding: 8px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #334155;
	flex-wrap: wrap;
	gap: 8px;
}

.tile-title-group {
	display: flex;
	align-items: center;
	gap: 6px;
}

.live-rec-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ef4444;
	animation: pulseDot 1.5s infinite;
}

.tile-title {
	font-size: 0.72rem;
	font-weight: 700;
	color: #e2e8f0;
	font-family: var(--font-mono);
	letter-spacing: 0.02em;
}

.tile-band-switcher {
	display: flex;
	gap: 4px;
}

.band-tab-btn {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #94a3b8;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 0.68rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.band-tab-btn:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.15);
}

.band-tab-btn.active {
	background: #0284c7;
	color: #ffffff;
	border-color: #38bdf8;
}

/* RASTER SIMULATION CANVAS */
.satellite-raster-canvas {
	height: 155px;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
	border-bottom: 1px solid #334155;
}

.satellite-raster-canvas.mode-natural {
	background: linear-gradient(135deg, #3d4a29 0%, #556b2f 40%, #8b7355 70%, #2f4f4f 100%);
}

.satellite-raster-canvas.mode-swir {
	background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 35%, #059669 65%, #b91c1c 100%);
}

.satellite-raster-canvas.mode-mineral {
	background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #4c1d95 60%, #b91c1c 90%, #f59e0b 100%);
}

.satellite-raster-canvas.mode-ai_heatmap {
	background: radial-gradient(circle at 45% 45%, #ef4444 0%, #f59e0b 25%, #10b981 50%, #0284c7 75%, #0f172a 100%);
}

/* Pit Terraces, Contours, & Faults */
.pit-elevation-contour {
	position: absolute;
	width: 140px;
	height: 100px;
	top: 25px;
	left: 45px;
	border: 1.5px dashed rgba(255, 255, 255, 0.4);
	border-radius: 50% 60% 70% 40%;
}

.quarry-terraces {
	position: absolute;
	width: 90px;
	height: 65px;
	top: 42px;
	left: 70px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 40% 50% 60% 50%;
	box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.geological-fault-line {
	position: absolute;
	width: 100%;
	height: 2px;
	top: 70px;
	left: 0;
	background: repeating-linear-gradient(90deg, #f43f5e, #f43f5e 6px, transparent 6px, transparent 12px);
	transform: rotate(-15deg);
	opacity: 0.85;
}

.spectral-ore-hotspot {
	position: absolute;
	width: 45px;
	height: 35px;
	top: 50px;
	left: 130px;
	background: radial-gradient(circle, #ef4444 0%, #f59e0b 70%, transparent 100%);
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.9;
}

.spectral-ore-hotspot-2 {
	position: absolute;
	width: 40px;
	height: 30px;
	top: 85px;
	left: 240px;
	background: radial-gradient(circle, #f59e0b 0%, #10b981 70%, transparent 100%);
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.85;
}

.map-target-pin {
	position: absolute;
	width: 18px;
	height: 18px;
	transform: translate(-50%, -50%);
	cursor: pointer;
	z-index: 10;
}

.pin-core {
	width: 10px;
	height: 10px;
	background: #ef4444;
	border: 2px solid #ffffff;
	border-radius: 50%;
	position: absolute;
	top: 4px;
	left: 4px;
	box-shadow: 0 0 8px #ef4444;
}

.selected-pin .pin-core {
	background: #38bdf8;
	border-color: #ffffff;
	box-shadow: 0 0 10px #38bdf8;
}

.pin-pulse {
	position: absolute;
	inset: 0;
	border: 1.5px solid #ef4444;
	border-radius: 50%;
	animation: pulsePing 2s infinite ease-out;
}

.pin-label {
	position: absolute;
	left: 18px;
	top: -2px;
	background: rgba(15, 23, 42, 0.9);
	color: #ffffff;
	font-size: 0.65rem;
	font-family: var(--font-mono);
	padding: 1px 4px;
	border-radius: 3px;
	border: 0.5px solid #38bdf8;
	white-space: nowrap;
	pointer-events: none;
}

.band-annotation-pill {
	position: absolute;
	bottom: 6px;
	left: 8px;
	background: rgba(15, 23, 42, 0.85);
	color: #cbd5e1;
	font-size: 0.65rem;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-family: var(--font-mono);
}

.tile-footer-metrics {
	background: #0f172a;
	padding: 8px 12px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.tile-metric-item {
	display: flex;
	flex-direction: column;
}

.tile-met-lbl {
	font-size: 0.62rem;
	color: #94a3b8;
	text-transform: uppercase;
	font-family: var(--font-mono);
}

.tile-met-val {
	font-size: 0.78rem;
	font-weight: 700;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.highlight-cyan { color: #38bdf8; }
.highlight-green { color: #34d399; }
.highlight-amber { color: #fbbf24; }
.highlight-rose { color: #f43f5e; }
.highlight-emerald { color: #10b981; }

/* 7-STAGE PIPELINE TRACK */
.pipeline-section-container {
	background: #ffffff;
	border-radius: 10px;
	border: 1px solid var(--border-color);
	padding: 14px 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.pipeline-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 8px;
}

.pipeline-badge {
	font-size: 0.68rem;
	font-family: var(--font-mono);
	font-weight: 700;
	color: var(--orenex-blue);
	background: #e0f2fe;
	padding: 2px 8px;
	border-radius: 4px;
	display: inline-block;
	margin-bottom: 2px;
}

.pipeline-main-heading {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--text-main);
	letter-spacing: -0.01em;
}

.pipeline-legend {
	display: flex;
	gap: 14px;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--text-muted);
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.legend-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.color-space { background: #0284c7; }
.color-ai { background: #059669; }
.color-gis { background: #2563eb; }

.pipeline-flow-track {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	align-items: stretch;
	position: relative;
}

.stage-card {
	background: #f8fafc;
	border: 1.5px solid var(--border-color);
	border-radius: 8px;
	padding: 10px 8px;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	transition: all 0.25s ease;
	position: relative;
}

.stage-card:hover {
	transform: translateY(-2px);
	border-color: #0284c7;
	box-shadow: 0 6px 12px rgba(2, 132, 199, 0.12);
	background: #ffffff;
}

.stage-card.active-stage {
	border-color: #0284c7;
	background: #ffffff;
	box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25), 0 8px 16px rgba(2, 132, 199, 0.15);
}

.stage-top-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.stage-step-number {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 800;
	color: #0284c7;
	background: #e0f2fe;
	width: 22px;
	height: 22px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stage-category-pill {
	font-size: 0.58rem;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.stage-icon-wrapper {
	width: 34px;
	height: 34px;
	border-radius: 6px;
	border: 1.5px solid;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.stage-card-title {
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--text-main);
	line-height: 1.25;
	margin-bottom: 2px;
}

.stage-card-subtitle {
	font-size: 0.68rem;
	font-weight: 600;
	color: #0284c7;
	margin-bottom: 6px;
	line-height: 1.2;
}

.stage-card-desc {
	font-size: 0.65rem;
	color: var(--text-muted);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
}

.stage-micro-specs {
	background: #f1f5f9;
	border-radius: 4px;
	padding: 4px 6px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: auto;
	margin-bottom: 6px;
}

.micro-spec-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.58rem;
}

.spec-name {
	color: var(--text-muted);
}

.spec-value {
	font-weight: 700;
	color: var(--text-main);
	font-family: var(--font-mono);
}

.stage-footer-tag {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.62rem;
	font-weight: 700;
	color: #0284c7;
	border-top: 1px solid var(--border-color);
	padding-top: 4px;
}

.info-arrow {
	font-size: 0.75rem;
	transition: transform 0.2s;
}

.stage-card:hover .info-arrow {
	transform: translateX(3px);
}

/* CONNECTING ARROW */
.stage-arrow-connector {
	display: none; /* Flow is continuous grid */
}

/* LOWER SECTION GRID: GIS + DASHBOARD PREVIEW */
.slide-lower-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.gis-potentials-card, .orenex-dashboard-card {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 14px 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
}

.panel-header-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 10px;
}

.panel-sub-tag {
	font-size: 0.62rem;
	font-family: var(--font-mono);
	font-weight: 700;
	color: #0284c7;
	display: block;
	margin-bottom: 2px;
}

.panel-main-title {
	font-size: 0.98rem;
	font-weight: 800;
	color: var(--text-main);
}

.action-btn-sm {
	background: #f0fdf4;
	border: 1px solid #86efac;
	color: #166534;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
}

.action-btn-sm:hover {
	background: #10b981;
	color: #ffffff;
}

.live-status-chip {
	display: flex;
	align-items: center;
	gap: 5px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #15803d;
	font-size: 0.65rem;
	font-family: var(--font-mono);
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 12px;
}

.status-dot-green {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 6px #22c55e;
}

/* GIS VECTOR MAP & TARGET LIST */
.gis-interactive-wrapper {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 10px;
	background: #0f172a;
	border-radius: 8px;
	overflow: hidden;
	padding: 8px;
	border: 1px solid #334155;
}

.gis-vector-map {
	width: 100%;
	height: 100%;
	min-height: 170px;
	border-radius: 6px;
	background: #0f172a;
}

.gis-ore-polygon {
	animation: pulsePolygon 2.5s infinite alternate ease-in-out;
}

@keyframes pulsePolygon {
	0% { opacity: 0.7; stroke-width: 1.5; }
	100% { opacity: 1; stroke-width: 2.5; }
}

.gis-target-scrollable {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 180px;
	overflow-y: auto;
	padding-right: 4px;
}

.target-list-title {
	font-size: 0.65rem;
	font-family: var(--font-mono);
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	padding-bottom: 2px;
}

.target-list-row {
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 6px;
	padding: 6px 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
}

.target-list-row:hover {
	background: #334155;
	border-color: #38bdf8;
}

.target-list-row.active-row {
	background: #1e3a8a;
	border-color: #38bdf8;
}

.target-info-col {
	display: flex;
	flex-direction: column;
}

.target-name-bold {
	font-size: 0.72rem;
	font-weight: 700;
	color: #ffffff;
}

.target-sector-dim {
	font-size: 0.6rem;
	color: #94a3b8;
}

.target-reserve-col {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.reserve-val {
	font-size: 0.72rem;
	font-weight: 800;
	color: #34d399;
	font-family: var(--font-mono);
}

.confidence-pill {
	font-size: 0.58rem;
	background: rgba(2, 132, 199, 0.3);
	color: #38bdf8;
	padding: 1px 4px;
	border-radius: 3px;
	font-weight: 700;
}

.delete-target-btn {
	background: transparent;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	font-size: 0.75rem;
	margin-left: 6px;
}

.delete-target-btn:hover {
	color: #f43f5e;
}

/* DASHBOARD PREVIEW */
.dashboard-kpi-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-bottom: 10px;
}

.kpi-mini-card {
	background: #f8fafc;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 6px 8px;
	display: flex;
	flex-direction: column;
}

.kpi-label {
	font-size: 0.6rem;
	color: var(--text-muted);
	font-weight: 600;
	text-transform: uppercase;
}

.kpi-number-row {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin: 2px 0;
}

.kpi-main-number {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--text-main);
	font-family: var(--font-mono);
}

.kpi-unit {
	font-size: 0.65rem;
	color: var(--text-muted);
	font-weight: 600;
}

.kpi-sub-text {
	font-size: 0.58rem;
	color: var(--orenex-blue);
	font-weight: 600;
}

.kpi-alert-border {
	border-color: #fca5a5;
	background: #fef2f2;
}

/* FORECAST GRAPH */
.dashboard-forecast-graph-container {
	background: #0f172a;
	border-radius: 8px;
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 1px solid #334155;
}

.graph-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #e2e8f0;
	font-size: 0.68rem;
}

.graph-title {
	font-weight: 700;
	font-family: var(--font-mono);
}

.graph-legend-group {
	display: flex;
	gap: 10px;
	font-size: 0.62rem;
	color: #94a3b8;
}

.legend-dot-line {
	display: inline-block;
	width: 12px;
	height: 3px;
	vertical-align: middle;
	margin-right: 4px;
}

.line-prod { background: #38bdf8; }
.line-demand { background: #f43f5e; }

.chart-svg-box {
	width: 100%;
}

.forecast-chart-svg {
	width: 100%;
	height: 95px;
}

.shortage-alert-ribbon {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.4);
	border-radius: 6px;
	padding: 6px 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fecaca;
	font-size: 0.65rem;
	line-height: 1.3;
}

.alert-icon-circle {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #ef4444;
	color: #ffffff;
	font-weight: 900;
	font-size: 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.text-danger {
	color: #f87171;
	font-weight: 700;
}

/* FOOTER BAR */
.slide-footer-bar {
	background: #0f172a;
	padding: 8px 18px;
	border-radius: 6px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #94a3b8;
	font-size: 0.7rem;
	flex-wrap: wrap;
	gap: 8px;
}

.brand-logo {
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.05em;
}

.footer-sep {
	margin: 0 6px;
	color: #475569;
}

.footer-right-tags {
	display: flex;
	gap: 6px;
}

.tech-badge {
	background: #1e293b;
	color: #38bdf8;
	font-size: 0.6rem;
	font-family: var(--font-mono);
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
	border: 0.5px solid #334155;
}

/* STANDALONE DASHBOARD VIEW */
.standalone-dashboard-view, .architecture-spec-view, .login-portal-view {
	padding: 24px;
	background: #f8fafc;
	min-height: 600px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.view-intro-banner {
	background: #0f172a;
	color: #ffffff;
	padding: 18px 24px;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-left: 4px solid #0284c7;
}

.view-heading {
	font-size: 1.25rem;
	font-weight: 800;
	margin-bottom: 4px;
}

.view-sub-text {
	font-size: 0.8rem;
	color: #94a3b8;
	max-width: 750px;
}

.btn-primary-action {
	background: #0284c7;
	color: #ffffff;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-primary-action:hover {
	background: #0369a1;
}

.btn-outline-action {
	background: transparent;
	border: 1.5px solid #0284c7;
	color: #0284c7;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-outline-action:hover {
	background: #0284c7;
	color: #ffffff;
}

.interactive-controls-strip {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 16px 20px;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 20px;
	align-items: center;
}

.control-slider-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.slider-label {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	color: var(--text-main);
}

.custom-range-slider {
	width: 100%;
	accent-color: #0284c7;
	cursor: pointer;
}

.slider-ticks {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	color: var(--text-muted);
	font-family: var(--font-mono);
}

.quick-stats-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.qstat-box {
	background: #f1f5f9;
	padding: 10px 12px;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
}

.qstat-title {
	font-size: 0.7rem;
	color: var(--text-muted);
	font-weight: 600;
}

.qstat-value {
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
	font-family: var(--font-mono);
}

.dashboard-double-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
}

.sector-table-card, .target-drilldown-card {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 18px 20px;
}

.card-section-title {
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 14px;
	color: var(--text-main);
}

.custom-data-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.78rem;
}

.custom-data-table th {
	background: #f8fafc;
	padding: 8px 10px;
	text-align: left;
	font-weight: 700;
	color: var(--text-muted);
	border-bottom: 2px solid var(--border-color);
	font-family: var(--font-mono);
	font-size: 0.7rem;
}

.custom-data-table td {
	padding: 10px;
	border-bottom: 1px solid var(--border-color);
}

.custom-data-table tr.selected-table-row {
	background: #f0fdf4;
}

.mono-text { font-family: var(--font-mono); font-size: 0.72rem; }
.sub-dim-text { font-size: 0.68rem; color: var(--text-muted); }
.bold-text { font-weight: 700; }

.badge-grade {
	background: #e0f2fe;
	color: #0369a1;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 700;
	font-family: var(--font-mono);
	font-size: 0.7rem;
}

.conf-bar-cell {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 700;
}

.conf-bar-fill {
	height: 6px;
	background: #10b981;
	border-radius: 3px;
	min-width: 20px;
}

.status-badge-chip {
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 0.65rem;
	font-weight: 700;
}

.badge-high { background: #fee2e2; color: #b91c1c; }
.badge-review { background: #fef3c7; color: #b45309; }

.active-target-box {
	background: #f8fafc;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.target-box-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sector-tag {
	font-size: 0.75rem;
	color: var(--text-muted);
}

.large-grade-pill {
	background: #0284c7;
	color: #ffffff;
	padding: 4px 10px;
	border-radius: 6px;
	font-weight: 800;
	font-family: var(--font-mono);
	font-size: 0.85rem;
}

.target-props-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.prop-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.78rem;
	padding-bottom: 6px;
	border-bottom: 1px dashed var(--border-color);
}

.prop-label { color: var(--text-muted); font-weight: 600; }
.prop-val { font-weight: 700; color: var(--text-main); }
.notes-text { font-weight: 500; color: #475569; max-width: 60%; text-align: right; }

/* ARCHITECTURE SPEC VIEW */
.spec-hero-header {
	background: #0f172a;
	color: #ffffff;
	padding: 24px;
	border-radius: 10px;
	border-left: 4px solid #10b981;
}

.sih-tech-pill {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 700;
	color: #34d399;
	display: inline-block;
	margin-bottom: 6px;
}

.spec-main-title {
	font-size: 1.35rem;
	font-weight: 800;
	margin-bottom: 6px;
}

.spec-sub-text {
	font-size: 0.85rem;
	color: #94a3b8;
}

.spec-cards-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.spec-detail-card {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.spec-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
}

.spec-num {
	background: #e0f2fe;
	color: #0284c7;
	font-family: var(--font-mono);
	font-weight: 800;
	font-size: 0.8rem;
	padding: 2px 8px;
	border-radius: 4px;
}

.formula-box {
	background: #0f172a;
	color: #38bdf8;
	padding: 10px 14px;
	border-radius: 6px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	border-left: 3px solid #0284c7;
}

.formula-title {
	color: #94a3b8;
	font-size: 0.65rem;
	display: block;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.spec-feature-list {
	padding-left: 18px;
	font-size: 0.8rem;
	color: #334155;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.code-block-preview {
	background: #0f172a;
	color: #e2e8f0;
	padding: 12px;
	border-radius: 6px;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	overflow-x: auto;
}

.metrics-pill-cluster {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.spec-badge {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.72rem;
	font-weight: 700;
}

/* LOGIN PORTAL VIEW */
.login-portal-view {
	align-items: center;
	justify-content: center;
	min-height: 520px;
}

.auth-card-container {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 32px;
	max-width: 460px;
	width: 100%;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
	text-align: center;
}

.auth-card-header {
	margin-bottom: 20px;
}

.sih-dot-glow {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #0284c7;
	box-shadow: 0 0 12px #0284c7;
	margin: 0 auto 10px auto;
}

.auth-card-header h2 {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--text-main);
	margin-bottom: 6px;
}

.auth-card-header p {
	font-size: 0.8rem;
	color: var(--text-muted);
}

.auth-tab-switch {
	display: flex;
	background: #f1f5f9;
	padding: 4px;
	border-radius: 8px;
	margin-bottom: 18px;
}

.auth-tab {
	flex: 1;
	background: transparent;
	border: none;
	padding: 8px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--text-muted);
	cursor: pointer;
	transition: all 0.2s;
}

.auth-tab.active {
	background: #ffffff;
	color: var(--text-main);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.auth-error-alert {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.78rem;
	margin-bottom: 14px;
	text-align: left;
}

.auth-form-element {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.form-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--text-main);
}

.form-input-box, .form-textarea-box {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 0.82rem;
	font-family: inherit;
	color: var(--text-main);
	outline: none;
	transition: border-color 0.2s;
}

.form-input-box:focus, .form-textarea-box:focus {
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-auth-submit {
	background: #0284c7;
	color: #ffffff;
	border: none;
	padding: 10px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	margin-top: 6px;
	transition: background 0.2s;
}

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

.auth-switch-prompt {
	margin-top: 14px;
	font-size: 0.78rem;
	color: var(--text-muted);
	text-align: center;
}

.text-link-btn {
	background: none;
	border: none;
	color: #0284c7;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
}

.auth-logged-in-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.user-avatar-large {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #0284c7;
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.user-welcome-title {
	font-size: 1.15rem;
	font-weight: 800;
}

.user-email-text {
	font-size: 0.8rem;
	color: var(--text-muted);
}

.user-role-badge {
	background: #e0f2fe;
	color: #0369a1;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
}

.portal-quick-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin-top: 14px;
}

/* MODALS */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 16px;
}

.stage-modal-card, .target-modal-card, .auth-dialog-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 24px;
	max-width: 560px;
	width: 100%;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.modal-header-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 14px;
}

.modal-step-tag {
	font-size: 0.68rem;
	font-family: var(--font-mono);
	font-weight: 700;
	color: #0284c7;
	display: block;
	margin-bottom: 2px;
}

.modal-main-title {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--text-main);
}

.modal-subtitle {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.modal-close-btn {
	background: #f1f5f9;
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-muted);
}

.modal-close-btn:hover {
	background: #e2e8f0;
	color: var(--text-main);
}

.modal-description {
	font-size: 0.85rem;
	color: #334155;
	line-height: 1.5;
	margin-bottom: 16px;
}

.modal-specs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 18px;
}

.modal-spec-card {
	background: #f8fafc;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 8px 12px;
}

.spec-lbl {
	font-size: 0.65rem;
	color: var(--text-muted);
	display: block;
}

.spec-val-lg {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text-main);
	font-family: var(--font-mono);
}

.modal-footer-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--border-color);
	padding-top: 14px;
}

.nav-btn-prev, .nav-btn-next {
	background: #f1f5f9;
	border: none;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
}

.nav-btn-prev:hover, .nav-btn-next:hover {
	background: #0284c7;
	color: #ffffff;
}

.nav-btn-prev:disabled, .nav-btn-next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	background: #f1f5f9;
	color: var(--text-muted);
}

.stage-page-indicator {
	font-size: 0.75rem;
	font-family: var(--font-mono);
	color: var(--text-muted);
}

/* ADD TARGET FORM */
.target-form-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.form-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.form-actions-row {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 8px;
}

.btn-cancel-action {
	background: #f1f5f9;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}

.btn-save-target {
	background: #059669;
	color: #ffffff;
	border: none;
	padding: 8px 18px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}

.btn-save-target:hover {
	background: #047857;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
	.pipeline-flow-track {
		grid-template-columns: repeat(4, 1fr);
	}
	.satellite-hero-layout {
		grid-template-columns: 1fr;
	}
	.slide-lower-grid {
		grid-template-columns: 1fr;
	}
	.dashboard-double-grid {
		grid-template-columns: 1fr;
	}
	.spec-cards-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.pipeline-flow-track {
		grid-template-columns: 1fr;
	}
	.dashboard-kpi-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.interactive-controls-strip {
		grid-template-columns: 1fr;
	}
	.app-header {
		flex-direction: column;
		align-items: stretch;
	}
	.header-center-nav {
		flex-wrap: wrap;
	}
}
