* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f7fa; }
.container { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px;
  background: #1e293b;
  color: white;
  padding: 20px 0;
}
.logo { text-align: center; padding: 10px; font-size: 1.2rem; }
.sidebar nav ul { list-style: none; }
.sidebar nav li { margin: 10px 0; }
.sidebar nav a { display: block; padding: 12px 20px; color: #e2e8f0; text-decoration: none; }
.sidebar nav a.active { background: #2d3748; color: white; }

.main-content {
  flex: 1;
  background: white;
  padding: 20px;
}

.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.header h1 { color: #2563eb; }
.refresh-btn { background: #3b82f6; color: white; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; }

.filters { display: flex; gap: 10px; margin-bottom: 20px; }
.filters select, .filters input { padding: 8px; border: 1px solid #ccc; border-radius: 4px; }

.device-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.device-name { font-weight: 600; color: #1e293b; }
.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}
.status-online { background: #dcfce7; color: #16a34a; }
.status-offline { background: #fee2e2; color: #dc2626; }
.device-info { font-size: 14px; color: #64748b; line-height: 1.5; }
