:root {
  /* Luxury Dark Glass Base */
  --bg-dark: #080e18;
  --bg-sidebar: rgba(11, 18, 30, 0.88);
  --bg-card: rgba(14, 24, 40, 0.72);
  --bg-card-hover: rgba(18, 32, 54, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);

  /* User Specified Highlight Palette */
  --hl-green: #87b940;      /* Main Highlight: FamilySearch Tree Green */
  --hl-navy: #164588;       /* Deep Heritage Royal Blue */
  --hl-cyan: #27c4f4;       /* Sky Cyan / Electric Cyan */
  --hl-gold: #fcb34b;       /* Warm Honey Amber / Gold */
  --hl-lime: #BFD730;       /* Vibrant Lime Chartreuse */
  --hl-purple: #996799;     /* Amethyst Plum Purple */

  /* Functional Mappings (Green as the primary leader) */
  --primary: var(--hl-green);
  --primary-hover: #75a434;
  --primary-glow: rgba(135, 185, 64, 0.35);
  --border-accent: rgba(135, 185, 64, 0.45);

  --success: var(--hl-green);
  --success-glow: rgba(135, 185, 64, 0.25);
  --warning: var(--hl-gold);
  --info: var(--hl-cyan);
  --danger: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(135, 185, 64, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(22, 69, 136, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(153, 103, 153, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(39, 196, 244, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: var(--bg-sidebar);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.brand-logo-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.12));
}

.brand-subtext {
  display: flex;
  align-items: center;
  gap: 8px;
}

.subtext-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.badge.luxury-badge {
  background: rgba(135, 185, 64, 0.15);
  color: var(--hl-lime);
  border: 1px solid rgba(135, 185, 64, 0.35);
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.badge {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(135, 185, 64, 0.15);
  color: var(--hl-lime);
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid rgba(135, 185, 64, 0.3);
}

.badge.super-only {
  background: rgba(22, 69, 136, 0.35);
  color: var(--hl-cyan);
  border: 1px solid rgba(39, 196, 244, 0.3);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(135, 185, 64, 0.2) 0%, rgba(22, 69, 136, 0.2) 100%);
  border: 1px solid rgba(135, 185, 64, 0.45);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(135, 185, 64, 0.15);
}

.count-pill {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.launch-sim-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.launch-sim-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 32px 40px;
  overflow-y: auto;
  max-width: 1400px;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.header-title h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.header-title p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--hl-green) 0%, #6f9b2d 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(135, 185, 64, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #96cb49 0%, #7caa35 100%);
  box-shadow: 0 6px 24px rgba(135, 185, 64, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.stat-card:nth-child(1)::before { background: linear-gradient(90deg, var(--hl-green), var(--hl-lime)); }
.stat-card:nth-child(2)::before { background: linear-gradient(90deg, var(--hl-gold), #f97316); }
.stat-card:nth-child(3)::before { background: linear-gradient(90deg, var(--hl-cyan), var(--hl-navy)); }
.stat-card:nth-child(4)::before { background: linear-gradient(90deg, var(--hl-purple), #ec4899); }

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.online { 
  background: rgba(135, 185, 64, 0.16); 
  color: var(--hl-green); 
  box-shadow: 0 0 20px rgba(135, 185, 64, 0.25);
  border: 1px solid rgba(135, 185, 64, 0.3);
}
.stat-icon.saver { 
  background: rgba(252, 179, 75, 0.16); 
  color: var(--hl-gold); 
  box-shadow: 0 0 20px rgba(252, 179, 75, 0.25);
  border: 1px solid rgba(252, 179, 75, 0.3);
}
.stat-icon.locked { 
  background: rgba(39, 196, 244, 0.16); 
  color: var(--hl-cyan); 
  box-shadow: 0 0 20px rgba(39, 196, 244, 0.25);
  border: 1px solid rgba(39, 196, 244, 0.3);
}
.stat-icon.battery { 
  background: rgba(153, 103, 153, 0.18); 
  color: var(--hl-purple); 
  box-shadow: 0 0 20px rgba(153, 103, 153, 0.25);
  border: 1px solid rgba(153, 103, 153, 0.3);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 2px;
}

/* Filter Controls */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filter-controls {
  display: flex;
  gap: 12px;
}

.filter-controls input[type="text"] {
  width: 260px;
}

input[type="text"], input[type="url"], input[type="number"], input[type="email"], input[type="password"], select {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

input[type="text"]:focus, input[type="url"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

/* Fix browser autofill white background */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text-main) !important;
  -webkit-box-shadow: 0 0 0px 1000px #0f172a inset !important;
  box-shadow: 0 0 0px 1000px #0f172a inset !important;
  caret-color: var(--text-main);
  transition: background-color 5000s ease-in-out 0s;
}

/* Devices Grid */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.device-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.device-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.device-meta h4 {
  font-size: 17px;
  font-weight: 600;
}

.device-meta p {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-top: 2px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.online {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.screensaver {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.offline {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.url-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-metrics {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
}

.empty-icon {
  font-size: 48px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.video-card video {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.video-card-body {
  padding: 16px;
}

.video-card-body h4 {
  font-size: 15px;
  margin-bottom: 10px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.status-indicator.online { background: var(--success); }
.status-indicator.offline { background: var(--text-dim); }

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

/* Live Preview Column */
.screen-frame {
  background: #000;
  border-radius: var(--radius-md);
  border: 2px solid #1f2937;
  overflow: hidden;
}

.screen-header-bar {
  background: #1f2937;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.live-tag {
  color: var(--success);
  font-weight: 600;
}

.screen-display {
  aspect-ratio: 16/10;
  background: #050811;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.screen-placeholder {
  text-align: center;
  color: var(--text-dim);
}

.screen-placeholder i {
  font-size: 36px;
  margin-bottom: 8px;
}

.screen-display img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hidden { display: none !important; }

.remote-action-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.btn-action {
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-action:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

/* Switch */
.switch-group {
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #374151;
  transition: .2s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(20px); }

/* Tabs Pane */
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.subtab-pane { display: none; }
.subtab-pane.active { display: block; }

.tabs-header {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.subtab {
  padding: 8px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.subtab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.info-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row span { color: var(--text-muted); }

/* User Profile Sidebar Card */
.user-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

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

.user-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-role {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--hl-lime);
  font-weight: 600;
}

.logout-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: color 0.2s;
}

.logout-btn:hover { color: var(--danger); }

/* Login Modal */
.login-card {
  max-width: 420px !important;
  padding: 36px 32px;
  border: 1px solid rgba(135, 185, 64, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(135, 185, 64, 0.15);
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.login-fs-logo {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(255, 255, 255, 0.15));
}

.login-hints {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.login-hints code { color: #818cf8; font-family: var(--font-mono); }

.login-error, .pair-error {
  color: var(--danger);
  font-size: 13px;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
}

.btn-block { width: 100%; justify-content: center; }

/* User Management Table */
.card-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.flex-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.table-container { overflow-x: auto; margin-top: 16px; }

.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.users-table th, .users-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.users-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.role-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.role-tag.super { background: rgba(99, 102, 241, 0.2); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.4); }
.role-tag.manager { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }

.status-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; }
.status-tag.active { color: var(--success); }
.status-tag.blocked { color: var(--danger); }

/* Pairing Input */
.code-input {
  font-size: 24px !important;
  letter-spacing: 6px;
  text-align: center;
  font-family: var(--font-mono);
  color: #818cf8 !important;
  text-transform: uppercase;
}

.sm-modal { max-width: 440px !important; }
.badge.super-only { background: rgba(99, 102, 241, 0.3); color: #a5b4fc; font-size: 10px; margin-left: 6px; }

