/* ═══════════════════════════════════════════════════════════════
   System Info Modal Styles
   ═══════════════════════════════════════════════════════════════ */

.sysinfo-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.sysinfo-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: right;
  color: var(--text-primary);
  font-family: inherit;
}

.sysinfo-btn:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sysinfo-btn:active {
  transform: translateY(0);
}

.sysinfo-btn-primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
  border-color: rgba(59, 130, 246, 0.3);
}

.sysinfo-btn-primary:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.15));
  border-color: rgba(59, 130, 246, 0.5);
}

.sysinfo-btn-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.sysinfo-btn-primary .sysinfo-btn-icon {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
}

.sysinfo-btn-content {
  flex: 1;
}

.sysinfo-btn-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sysinfo-btn-desc {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .sysinfo-actions {
    padding: 12px;
    gap: 10px;
  }
  
  .sysinfo-btn {
    padding: 12px 16px;
    gap: 12px;
  }
  
  .sysinfo-btn-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
  
  .sysinfo-btn-title {
    font-size: 0.92rem;
  }
  
  .sysinfo-btn-desc {
    font-size: 0.78rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   Combined Analytics & Performance Modal - Tab Switcher
   ═══════════════════════════════════════════════════════════════ */

.combined-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
}

.combined-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #94a3b8);
  padding: 12px 18px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  font-family: inherit;
}

.combined-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.combined-tab-btn.active {
  color: #60a5fa;
  border-bottom-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.combined-section {
  display: none;
}

.combined-section.active {
  display: block;
}

@media (max-width: 768px) {
  .combined-tab-btn {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
}
