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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f0f0f;
  color: #e0e0e0;
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #1a1a1a;
  padding: 30px 20px;
  border-right: 1px solid #333;
}

.logo h2 {
  color: #ff0000;
  font-size: 2rem;
}

.main-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

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

header h1 {
  font-size: 2.2rem;
}

.online {
  color: #00ff00;
  font-weight: bold;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.card {
  background: #1f1f1f;
  border-radius: 16px;
  padding: 25px;
  border: 1px solid #333;
}

.card h3 {
  margin-bottom: 20px;
  color: #ccc;
  font-size: 1.3rem;
}

.battery-card {
  text-align: center;
  font-size: 3.5rem;
  font-weight: bold;
}

.battery-level {
  font-size: 4.5rem;
  color: #00ff00;
  margin: 15px 0;
}

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

.btn {
  background: #cc0000;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background: #ff0000;
  transform: translateY(-2px);
}

.map-placeholder {
  height: 180px;
  background: #2a2a2a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
}

.footer {
  margin-top: 50px;
  text-align: center;
  color: #555;
  font-size: 0.9rem;
}