/* ==============================================================================
   DESIGN SYSTEM & GLOBAL VARIABLES
   ============================================================================== */
:root {
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', source-code-pro, Menlo, Monaco, Consolas, monospace;

  /* Colors */
  --bg-deep: #07090e;
  --bg-surface: rgba(22, 29, 45, 0.45);
  --bg-glass: rgba(16, 22, 36, 0.6);
  --bg-card: rgba(20, 28, 48, 0.4);
  
  --border-glass: rgba(255, 255, 255, 0.05);
  --border-focus: rgba(99, 102, 241, 0.4);

  --color-primary: #5850ec;
  --color-primary-light: #6875f5;
  --color-primary-gradient: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  
  --color-success: #10b981;
  --color-success-glow: rgba(16, 185, 129, 0.25);
  
  --color-danger: #f05252;
  --color-danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px 2px rgba(99, 102, 241, 0.15);
  --shadow-success: 0 0 15px 1px rgba(16, 185, 129, 0.2);
}

/* ==============================================================================
   BASE RESET
   ============================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Stunning glowing background spots */
.glow-bg {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(59, 130, 246, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ==============================================================================
   TYPOGRAPHY & ACCENTS
   ============================================================================== */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #fff;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

p.subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  margin-top: 4px;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.mono {
  font-family: var(--font-mono);
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-primary {
  color: var(--color-primary-light);
}

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

.text-error {
  color: var(--color-danger);
}

/* ==============================================================================
   HEADER COMPONENT
   ============================================================================== */
.header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 24px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary-light);
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

/* ==============================================================================
   CARD & GLASSMORPHISM LAYOUTS
   ============================================================================== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-premium);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

/* ==============================================================================
   STATUS SECTION
   ============================================================================== */
.status-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .status-row {
    grid-template-columns: 1fr 1fr;
  }
}

.status-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.status-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.status-item .label {
  color: var(--text-secondary);
}

.status-item .value {
  font-weight: 500;
}

.status-item .value.online {
  color: var(--color-success);
  text-shadow: var(--shadow-success);
}

.status-item .value.offline {
  color: var(--color-danger);
}

/* Pulsing Online/Offline LEDs */
.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pulse-indicator.online {
  background-color: var(--color-success);
  box-shadow: 0 0 10px var(--color-success), 0 0 20px var(--color-success-glow);
  animation: pulse 2s infinite;
}

.pulse-indicator.offline {
  background-color: var(--color-danger);
  box-shadow: 0 0 10px var(--color-danger);
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 12px var(--color-success), 0 0 24px var(--color-success-glow); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==============================================================================
   MAIN ARCHITECTURE PANELS (COLUMNS)
   ============================================================================== */
.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 1200px) {
  .main-grid {
    grid-template-columns: 1.1fr 1.3fr;
  }
}

.grid-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flex-grow {
  flex-grow: 1;
}

/* ==============================================================================
   CONTROL CARD (ACTIONS & PROGRESS)
   ============================================================================== */
.control-card {
  position: relative;
}

.action-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

/* Spinner loader */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-primary-light);
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Progress Bar */
.progress-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  animation: slideDown 0.3s ease-out;
}

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

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

#progress-label {
  color: var(--text-secondary);
  font-weight: 500;
}

#progress-percent {
  font-family: var(--font-mono);
  color: #fff;
  font-weight: 600;
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary-gradient);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* ==============================================================================
   STUNNING VIRTUAL LOGS CONSOLE (TERMINAL)
   ============================================================================== */
.terminal-card {
  background: #080a0f !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  height: 380px;
}

.terminal-header {
  background-color: #0c0f17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.btn-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-clear:hover {
  color: var(--text-secondary);
}

.terminal-body {
  padding: 18px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

/* Customize scrollbars for terminal */
.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-track {
  background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Logging states */
.log-line {
  word-break: break-all;
  line-height: 1.4;
  white-space: pre-wrap;
}

.log-time {
  color: var(--text-muted);
  margin-right: 6px;
}

.log-line.system { color: #818cf8; }
.log-line.info { color: #e5e7eb; }
.log-line.progress { color: #38bdf8; }
.log-line.success { color: #34d399; font-weight: 500; }
.log-line.error { color: #f87171; font-weight: 500; }

/* ==============================================================================
   HISTORICAL SNAPSHOTS TABLE CARD
   ============================================================================== */
.history-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
  margin-top: 12px;
  flex-grow: 1;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.table th {
  padding: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-glass);
  background-color: rgba(255, 255, 255, 0.01);
}

.table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-glass);
  vertical-align: middle;
}

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

.table-empty {
  text-align: center;
  padding: 40px !important;
  color: var(--text-secondary);
  font-style: italic;
}

/* ==============================================================================
   BUTTON DESIGN SYSTEM
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  outline: none;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* Primary Trigger */
.btn-primary {
  background: var(--color-primary-gradient);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.45), var(--shadow-glow);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

/* Action Trigger (Table Row) */
.btn-action {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--color-primary-light);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-action:hover:not(:disabled) {
  background-color: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Secondary Cancel */
.btn-secondary {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.03);
  color: #fff;
}

/* Danger Modal Button */
.btn-danger {
  background: var(--color-danger-gradient);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.2);
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.35);
}

/* Abort Operation Button */
.btn-abort {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-abort:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

/* Disabled State */
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==============================================================================
   MODAL WINDOW COMPONENTS
   ============================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
  display: none; /* Controlled via JS */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #0f1524;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  animation: modalScale 0.25s cubic-bezier(0.1, 0.8, 0.3, 1);
  overflow: hidden;
}

@keyframes modalScale {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.warning-alert {
  background-color: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 16px;
  color: #fca5a5;
  font-size: 0.9rem;
}

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

.mono-badge {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--color-primary-light);
}

.input-confirm {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.input-confirm:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 2px var(--border-focus);
}

.modal-footer {
  padding: 16px 24px;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ==============================================================================
   DYNAMIC SYSTEM & AUTOMATION TAB LAYOUTS
   ============================================================================== */

.tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
}

.tab-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.tab-btn:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--color-primary-light);
  background-color: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.tab-content {
  display: none;
  animation: fadeInTab 0.3s ease-out;
}

.tab-content.active {
  display: block;
}

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

/* Profiles Grids & Dynamic Inputs */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .profile-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-control {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 2px var(--border-focus);
}

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

/* Profile Badge Cards List */
.profiles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
}

.profiles-list::-webkit-scrollbar {
  width: 4px;
}
.profiles-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}

.profile-badge-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.profile-badge-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.profile-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  word-break: break-all;
}

.profile-actions {
  display: flex;
  gap: 8px;
}

.btn-sm-action {
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.btn-sm-action.btn-trash {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.15);
}
.btn-sm-action.btn-trash:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-sm-action.btn-test {
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.15);
}
.btn-sm-action.btn-test:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Toggle Switches */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.06);
  transition: .3s;
  border-radius: 24px;
  border: 1px solid var(--border-glass);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary);
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success-glow);
}

/* Dynamic Pairing Dropdowns Selection Bar */
.coupling-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
}

.selector-item {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.selector-item label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.coupling-select {
  background-color: #0c1220;
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coupling-select:focus {
  border-color: var(--color-primary-light);
}

.coupling-select option {
  background-color: #0c1220;
  color: #fff;
}

/* Premium Badge Status Indicators */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.badge-gray {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.08);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.1);
}

.badge-red {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.2);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.1);
}

/* Target Connection Card Wrappers */
.target-section-wrapper {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 18px;
  transition: all 0.2s ease;
}

.target-section-wrapper:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}


