/* Network Modes Dashboard - Multi-Mode Configuration Theme  * Version: 0.3.0
 */
/* Copyright (C) 2024 CyberMind.fr - Gandalf  * Version: 0.3.0
 */

:root,
[data-secubox-theme="dark"],
[data-secubox-theme="cyberpunk"],
[data-theme="dark"] {
	--nm-bg-primary: #0c0a09;
	--nm-bg-secondary: #1c1917;
	--nm-bg-tertiary: #292524;
	--nm-border: #44403c;
	--nm-border-light: #57534e;
	
	--nm-text-primary: #fafaf9;
	--nm-text-secondary: #a8a29e;
	--nm-text-muted: #78716c;
	
	--nm-accent-orange: #f97316;
	--nm-accent-amber: #f59e0b;
	--nm-accent-yellow: #eab308;
	--nm-accent-green: #22c55e;
	--nm-accent-blue: #3b82f6;
	--nm-accent-purple: #a855f7;
	--nm-accent-red: #ef4444;
	
	--nm-mode-gradient: linear-gradient(135deg, #f97316, #f59e0b, #eab308);
	--nm-sniffer-color: #8b5cf6;
	--nm-ap-color: #06b6d4;
	--nm-relay-color: #10b981;
	--nm-router-color: #f97316;
	
	--nm-font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
	--nm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	
	--nm-radius: 8px;
	--nm-radius-lg: 12px;
	--nm-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
	--nm-shadow-glow: 0 0 30px rgba(249, 115, 22, 0.3);
}

[data-secubox-theme="light"],
[data-theme="light"] {
	--nm-bg-primary: #f5f3ff;
	--nm-bg-secondary: #ffffff;
	--nm-bg-tertiary: #eef2ff;
	--nm-border: #e5e7eb;
	--nm-border-light: #d1d5db;

	--nm-text-primary: #0f172a;
	--nm-text-secondary: #475569;
	--nm-text-muted: #94a3b8;

	--nm-mode-gradient: linear-gradient(135deg,#4f46e5,#7c3aed);
	--nm-shadow: 0 12px 25px rgba(79,70,229,0.15);
	--nm-shadow-glow: 0 0 30px rgba(79,70,229,0.25);
}

/* Base */
.network-modes-dashboard {
	font-family: var(--nm-font-sans);
	background: var(--nm-bg-primary);
	color: var(--nm-text-primary);
	min-height: 100vh;
	padding: 16px;
}

.network-modes-dashboard * {
	box-sizing: border-box;
}

/* Navigation */
.nm-nav-tabs {
	margin-bottom: 24px;
}

.nm-nav-tabs .cyber-tablist {
	width: 100%;
}

@media (max-width: 768px) {
	.nm-nav-tabs {
		margin-bottom: 16px;
	}

	.nm-nav-tabs .cyber-tab {
		min-width: 120px;
	}
}

/* Header */
.nm-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0 20px;
	border-bottom: 1px solid var(--nm-border);
	margin-bottom: 20px;
}

.nm-logo {
	display: flex;
	align-items: center;
	gap: 14px;
}

.nm-logo-icon {
	width: 48px;
	height: 48px;
	background: var(--nm-mode-gradient);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: var(--nm-shadow-glow);
	position: relative;
}

.nm-logo-icon::after {
	content: '';
	position: absolute;
	inset: -2px;
	background: var(--nm-mode-gradient);
	border-radius: 14px;
	z-index: -1;
	opacity: 0.4;
	filter: blur(10px);
}

.nm-logo-text {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.nm-logo-text span {
	background: var(--nm-mode-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Mode Badge */
.nm-mode-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid;
}

.nm-mode-badge.sniffer {
	background: rgba(139, 92, 246, 0.15);
	color: var(--nm-sniffer-color);
	border-color: rgba(139, 92, 246, 0.3);
}

.nm-mode-badge.accesspoint {
	background: rgba(6, 182, 212, 0.15);
	color: var(--nm-ap-color);
	border-color: rgba(6, 182, 212, 0.3);
}

.nm-mode-badge.relay {
	background: rgba(16, 185, 129, 0.15);
	color: var(--nm-relay-color);
	border-color: rgba(16, 185, 129, 0.3);
}

.nm-mode-badge.travel {
	background: rgba(251, 191, 36, 0.15);
	color: var(--nm-accent-amber);
	border-color: rgba(251, 191, 36, 0.35);
}

.nm-mode-badge.router {
	background: rgba(249, 115, 22, 0.15);
	color: var(--nm-router-color);
	border-color: rgba(249, 115, 22, 0.3);
}

.nm-mode-dot {
	width: 10px;
	height: 10px;
	background: currentColor;
	border-radius: 50%;
	animation: pulse-nm 1.5s ease-in-out infinite;
	box-shadow: 0 0 10px currentColor;
}

@keyframes pulse-nm {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.6; transform: scale(0.85); }
}

/* Mode Selection Grid */
.nm-modes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.nm-mode-card {
	background: var(--nm-bg-secondary);
	border: 2px solid var(--nm-border);
	border-radius: var(--nm-radius-lg);
	padding: 24px;
	cursor: pointer;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.nm-mode-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	opacity: 0;
	transition: opacity 0.3s;
}

.nm-mode-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--nm-shadow);
}

.nm-mode-card.active {
	border-color: var(--mode-color);
}

.nm-mode-card.active::before {
	opacity: 1;
	background: var(--mode-color);
}

.nm-mode-card.sniffer { --mode-color: var(--nm-sniffer-color); }
.nm-mode-card.accesspoint { --mode-color: var(--nm-ap-color); }
.nm-mode-card.relay { --mode-color: var(--nm-relay-color); }
.nm-mode-card.router { --mode-color: var(--nm-router-color); }
.nm-mode-card.travel { --mode-color: var(--nm-accent-amber); }

.nm-mode-card:hover {
	border-color: var(--mode-color);
}

.nm-mode-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.nm-mode-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--nm-border);
}

.nm-mode-card.active .nm-mode-icon {
	background: var(--mode-color);
	border-color: var(--mode-color);
}

.nm-mode-title h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 4px 0;
}

.nm-mode-title p {
	font-size: 12px;
	color: var(--nm-text-muted);
	margin: 0;
}

.nm-mode-description {
	font-size: 14px;
	color: var(--nm-text-secondary);
	line-height: 1.5;
	margin-bottom: 16px;
}

.nm-mode-features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nm-mode-feature {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	background: var(--nm-bg-tertiary);
	border-radius: 12px;
	font-size: 11px;
	color: var(--nm-text-secondary);
}

.nm-mode-feature-icon {
	font-size: 12px;
}

.nm-mode-active-indicator {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 4px 10px;
	background: var(--mode-color);
	color: white;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

/* Card */
.nm-card {
	background: var(--nm-bg-secondary);
	border: 1px solid var(--nm-border);
	border-radius: var(--nm-radius-lg);
	overflow: hidden;
	margin-bottom: 20px;
}

.nm-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--nm-border);
	background: rgba(0, 0, 0, 0.3);
}

.nm-card-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 600;
}

.nm-card-title-icon {
	font-size: 20px;
}

.nm-card-badge {
	font-family: var(--nm-font-mono);
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 16px;
	background: var(--nm-mode-gradient);
	color: white;
}

.nm-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 20px;
	background: rgba(148,163,184,0.2);
	font-size: 12px;
	color: var(--nm-text-secondary);
}

.nm-card-body {
	padding: 20px;
}

/* Form Controls */
.nm-form-group {
	margin-bottom: 20px;
}

.nm-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.nm-form-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--nm-text-secondary);
}

.nm-form-hint {
	font-size: 11px;
	color: var(--nm-text-muted);
	margin-top: 6px;
}

.nm-input,
.nm-select {
	width: 100%;
	padding: 12px 16px;
	background: var(--nm-bg-primary);
	border: 1px solid var(--nm-border);
	border-radius: var(--nm-radius);
	color: var(--nm-text-primary);
	font-size: 14px;
	font-family: var(--nm-font-mono);
	transition: border-color 0.2s;
}

.nm-input:focus,
.nm-select:focus {
	outline: none;
	border-color: var(--nm-accent-orange);
}

.nm-checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.nm-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.nm-checkbox input {
	width: 18px;
	height: 18px;
	accent-color: var(--nm-accent-orange);
}

.nm-checkbox-label {
	font-size: 13px;
}

.nm-scan-results {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.nm-scan-card {
	border: 1px solid var(--nm-border);
	border-radius: var(--nm-radius);
	background: var(--nm-bg-tertiary);
	padding: 12px;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s, transform 0.2s;
}

.nm-scan-card:hover {
	border-color: var(--nm-accent-orange);
	transform: translateY(-2px);
}

.nm-scan-ssid {
	font-weight: 600;
	font-size: 14px;
}

.nm-scan-meta {
	display: flex;
	gap: 8px;
	font-size: 11px;
	color: var(--nm-text-muted);
}

.nm-empty {
	text-align: center;
	padding: 16px;
	color: var(--nm-text-muted);
	border: 1px dashed var(--nm-border);
	border-radius: var(--nm-radius);
}

/* Toggle Switch */
.nm-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: var(--nm-bg-tertiary);
	border-radius: var(--nm-radius);
	margin-bottom: 10px;
}

.nm-toggle-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nm-toggle-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nm-toggle-icon {
	font-size: 20px;
}

.nm-toggle-label {
	font-size: 14px;
	font-weight: 500;
}

.nm-toggle-desc {
	font-size: 11px;
	color: var(--nm-text-muted);
}

.nm-toggle-switch {
	width: 48px;
	height: 26px;
	background: var(--nm-bg-primary);
	border-radius: 13px;
	position: relative;
	cursor: pointer;
	transition: background 0.3s;
}

.nm-toggle-switch.active {
	background: var(--nm-accent-orange);
}

.nm-toggle-switch::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	background: white;
	border-radius: 50%;
	top: 3px;
	left: 3px;
	transition: transform 0.3s;
}

.nm-toggle-switch.active::after {
	transform: translateX(22px);
}

/* Interface Status */
.nm-interfaces-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.nm-interface-card {
	background: var(--nm-bg-tertiary);
	border: 1px solid var(--nm-border);
	border-radius: var(--nm-radius);
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.nm-interface-icon {
	width: 40px;
	height: 40px;
	background: var(--nm-bg-secondary);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.nm-interface-info {
	flex: 1;
}

.nm-interface-name {
	font-size: 14px;
	font-weight: 600;
	font-family: var(--nm-font-mono);
}

.nm-interface-ip {
	font-size: 11px;
	color: var(--nm-text-muted);
	font-family: var(--nm-font-mono);
}

.nm-interface-status {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.nm-interface-status.up {
	background: var(--nm-accent-green);
	box-shadow: 0 0 8px var(--nm-accent-green);
}

.nm-interface-status.down {
	background: var(--nm-accent-red);
}

/* Config Preview */
.nm-config-preview {
	background: var(--nm-bg-primary);
	border: 1px solid var(--nm-border);
	border-radius: var(--nm-radius);
	padding: 16px;
	font-family: var(--nm-font-mono);
	font-size: 12px;
	line-height: 1.7;
	overflow-x: auto;
	max-height: 400px;
	overflow-y: auto;
}

.nm-config-comment {
	color: var(--nm-text-muted);
}

.nm-config-section {
	color: var(--nm-accent-orange);
	font-weight: 600;
}

.nm-config-option {
	color: var(--nm-accent-amber);
}

.nm-config-value {
	color: var(--nm-text-secondary);
}

/* Buttons */
.nm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: 1px solid var(--nm-border);
	border-radius: var(--nm-radius);
	background: var(--nm-bg-tertiary);
	color: var(--nm-text-primary);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.nm-btn:hover {
	border-color: var(--nm-accent-orange);
}

.nm-btn-primary {
	background: var(--nm-mode-gradient);
	border: none;
	color: white;
}

/* Hero + Stepper */
.nm-hero {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
}

.nm-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.nm-hero-chip {
	background: rgba(255,255,255,0.1);
	border-radius: 12px;
	padding: 6px 12px;
	border: 1px solid rgba(255,255,255,0.2);
}

.nm-hero-chip-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255,255,255,0.75);
}

.nm-hero-badge {
	min-width: 120px;
}

.nm-stepper {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.nm-stepper-step {
	display: flex;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(148,163,184,0.25);
	border-radius: 10px;
	background: rgba(15,23,42,0.35);
	align-items: center;
}

.nm-stepper-step.active {
	border-color: var(--nm-accent-blue);
	box-shadow: 0 0 12px rgba(59,130,246,0.35);
}

.nm-stepper-step.complete {
	border-color: var(--nm-accent-green);
}

.nm-stepper-index {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15,23,42,0.8);
	border: 1px solid rgba(148,163,184,0.35);
	font-weight: 600;
}

.nm-stepper-step.active .nm-stepper-index {
	background: var(--nm-accent-blue);
	color: #0f172a;
	border-color: transparent;
}

.nm-stepper-step.complete .nm-stepper-index {
	background: var(--nm-accent-green);
	color: #0f172a;
}

.nm-stepper-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nm-stepper-title {
	font-weight: 600;
}

.nm-stepper-desc {
	color: #94a3b8;
	font-size: 13px;
}

/* Wizard cards */
.nm-wizard-grid .wizard-card {
	background: rgba(15,23,42,0.85);
	border: 1px solid rgba(148,163,184,0.25);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.nm-wizard-grid .wizard-card.active {
	border-color: var(--nm-accent-green);
	box-shadow: 0 0 24px rgba(34,197,94,0.35);
}

.nm-btn-primary:hover {
	box-shadow: var(--nm-shadow-glow);
	transform: translateY(-2px);
}

.nm-btn-danger {
	background: var(--nm-accent-red);
	border: none;
	color: white;
}

.nm-btn-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Virtual Host Table */
.nm-vhost-table {
	width: 100%;
	border-collapse: collapse;
}

.nm-vhost-table th {
	text-align: left;
	padding: 12px 16px;
	background: var(--nm-bg-tertiary);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--nm-text-muted);
	border-bottom: 1px solid var(--nm-border);
}

.nm-vhost-table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--nm-border);
	font-size: 13px;
}

.nm-vhost-table tr:last-child td {
	border-bottom: none;
}

.nm-vhost-table .domain {
	font-weight: 600;
	color: var(--nm-accent-orange);
}

.nm-vhost-table .mono {
	font-family: var(--nm-font-mono);
	font-size: 12px;
}

.nm-ssl-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 600;
}

.nm-ssl-badge.enabled {
	background: rgba(34, 197, 94, 0.15);
	color: var(--nm-accent-green);
}

.nm-ssl-badge.disabled {
	background: rgba(239, 68, 68, 0.15);
	color: var(--nm-accent-red);
}

/* WiFi Settings */
.nm-wifi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.nm-wifi-setting {
	background: var(--nm-bg-tertiary);
	border-radius: var(--nm-radius);
	padding: 16px;
}

.nm-wifi-setting-label {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--nm-text-muted);
	margin-bottom: 8px;
}

.nm-wifi-setting-value {
	font-family: var(--nm-font-mono);
	font-size: 20px;
	font-weight: 700;
	color: var(--nm-accent-orange);
}

/* Slider */
.nm-slider-container {
	padding: 16px;
	background: var(--nm-bg-tertiary);
	border-radius: var(--nm-radius);
}

.nm-slider-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

.nm-slider-label {
	font-size: 13px;
	font-weight: 500;
}

.nm-slider-value {
	font-family: var(--nm-font-mono);
	font-size: 14px;
	font-weight: 700;
	color: var(--nm-accent-orange);
}

.nm-slider {
	width: 100%;
	height: 8px;
	-webkit-appearance: none;
	background: var(--nm-bg-primary);
	border-radius: 4px;
	outline: none;
}

.nm-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	background: var(--nm-accent-orange);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

/* Alert */
.nm-alert {
	display: flex;
	gap: 12px;
	padding: 16px;
	border-radius: var(--nm-radius);
	margin-bottom: 20px;
}

.nm-alert-icon {
	font-size: 24px;
}

.nm-alert-info {
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.nm-alert-warning {
	background: rgba(245, 158, 11, 0.1);
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.nm-alert-success {
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.nm-alert-title {
	font-weight: 600;
	margin-bottom: 4px;
}

.nm-alert-text {
	font-size: 13px;
	color: var(--nm-text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
	.nm-header {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}
	
	.nm-modes-grid {
		grid-template-columns: 1fr;
	}
	
	.nm-btn-group {
		flex-direction: column;
	}
	
	.nm-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Scrollbar */
.network-modes-dashboard ::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.network-modes-dashboard ::-webkit-scrollbar-track {
	background: var(--nm-bg-tertiary);
}

.network-modes-dashboard ::-webkit-scrollbar-thumb {
	background: var(--nm-border);
	border-radius: 4px;
}

.network-modes-dashboard ::-webkit-scrollbar-thumb:hover {
	background: var(--nm-text-muted);
}

/* Animations */
@keyframes mode-glow {
	0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
	50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.5); }
}

.nm-mode-card.active {
	animation: mode-glow 3s ease-in-out infinite;
}

/* === Current Mode Display Card === */
.nm-current-mode-card {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
	border: 1px solid var(--nm-border, #334155);
	border-radius: 16px;
	padding: 28px;
	margin-bottom: 32px;
}

.nm-current-mode-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.nm-current-mode-icon {
	font-size: 56px;
	line-height: 1;
}

.nm-current-mode-info {
	flex: 1;
}

.nm-current-mode-label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--nm-text-secondary, #94a3b8);
	margin-bottom: 6px;
}

.nm-current-mode-name {
	font-size: 32px;
	font-weight: 700;
	margin: 0;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nm-current-mode-description {
	font-size: 15px;
	line-height: 1.6;
	color: var(--nm-text, #e2e8f0);
	margin-bottom: 24px;
}

.nm-current-mode-config {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.nm-config-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: rgba(30, 41, 59, 0.5);
	border-radius: 8px;
	border: 1px solid var(--nm-border, #334155);
}

.nm-config-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--nm-text-secondary, #94a3b8);
}

.nm-config-value {
	font-size: 14px;
	font-weight: 700;
	font-family: 'JetBrains Mono', monospace;
	color: var(--nm-text, #e2e8f0);
}

.nm-change-mode-btn {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: white;
	border: none;
	padding: 14px 28px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nm-change-mode-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* === Mode Comparison Table === */
.nm-comparison-card {
	background: var(--nm-bg-card, #1e293b);
	border: 1px solid var(--nm-border, #334155);
	border-radius: 16px;
	padding: 28px;
	margin-bottom: 32px;
	overflow: hidden;
}

.nm-comparison-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px 0;
	color: var(--nm-text, #e2e8f0);
	border-bottom: 2px solid var(--nm-border, #334155);
	padding-bottom: 12px;
}

.nm-comparison-table-wrapper {
	overflow-x: auto;
}

.nm-comparison-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14px;
}

.nm-comparison-table thead th {
	background: rgba(99, 102, 241, 0.1);
	color: var(--nm-text, #e2e8f0);
	font-weight: 700;
	padding: 16px;
	text-align: left;
	border-bottom: 2px solid var(--nm-border, #334155);
	white-space: nowrap;
}

.nm-comparison-table thead th:first-child {
	border-top-left-radius: 8px;
}

.nm-comparison-table thead th:last-child {
	border-top-right-radius: 8px;
}

.nm-comparison-table thead th.active-mode {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: white;
	position: relative;
}

.nm-comparison-table thead th.active-mode::after {
	content: '✓ Active';
	position: absolute;
	top: 4px;
	right: 8px;
	font-size: 10px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 6px;
	border-radius: 4px;
}

.nm-comparison-table tbody tr {
	transition: background 0.2s ease;
}

.nm-comparison-table tbody tr:hover {
	background: rgba(99, 102, 241, 0.05);
}

.nm-comparison-table tbody td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--nm-border, #334155);
	color: var(--nm-text-secondary, #94a3b8);
}

.nm-comparison-table tbody td.feature-label {
	font-weight: 700;
	color: var(--nm-text, #e2e8f0);
	background: rgba(30, 41, 59, 0.5);
}

.nm-comparison-table tbody td.active-mode {
	background: rgba(99, 102, 241, 0.15);
	color: var(--nm-text, #e2e8f0);
	font-weight: 600;
}

/* === Responsive Design === */
@media (max-width: 768px) {
	.nm-current-mode-header {
		flex-direction: column;
		text-align: center;
	}

	.nm-current-mode-name {
		font-size: 24px;
	}

	.nm-current-mode-config {
		grid-template-columns: 1fr;
	}

	.nm-comparison-table {
		font-size: 12px;
	}

	.nm-comparison-table thead th,
	.nm-comparison-table tbody td {
		padding: 10px 12px;
	}
}
