/* בסיס הגוף */
body {
  font-family: 'Courier New', monospace;
  background: #0a0a0a;
  color: #0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* הצג כולו */
.dashboard {
  width: 100%;
  max-width: 100%;
  height: 550px;
  background: #1c1c1c;
  border: 2px solid silver;
  border-radius: 10px;
  position: relative;
  padding: 15px;
  box-shadow: 0 0 20px #0f0 inset;
  overflow: hidden;
}

/* מחוג מרכזי */
.speedometer {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid #0f0;
  border-radius: 50%;
  box-shadow: 0 0 20px #0f0 inset;
}

.dial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
}

.needle {
  width: 4px;
  height: 90px;
  background: red;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  box-shadow: 0 0 5px #f00;
}

.speed-text {
  position: absolute;
  width: 100%;
  bottom: 10px;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: #0f0;
  text-shadow: 0 0 8px #0f0, 0 0 15px #0f0;
}

/* סוללה */
.battery {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 25px;
  background: #111;
  border-radius: 5px;
  border: 2px solid silver;
  box-shadow: 0 0 8px #0f0 inset;
}

#battery-level {
  height: 100%;
  width: 80%;
  background: linear-gradient(to right, green, limegreen);
  border-radius: 5px;
  transition: width 0.3s, background 0.3s;
  box-shadow: 0 0 10px #0f0;
}

#battery-text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 0;
  line-height: 25px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px #0f0;
}

/* מצב סיוע */
.assist {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 18px;
  font-weight: bold;
  color: cyan;
  text-shadow: 0 0 5px cyan;
}

/* מרחק נסיעה */
.distance {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 16px;
  color: yellow;
  text-shadow: 0 0 5px yellow;
}

/* מהירויות */
.speeds {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 16px;
  color: orange;
  text-shadow: 0 0 5px orange;
}

/* טמפרטורה */
.temperature {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
  color: lime;
  text-shadow: 0 0 8px lime;
}

/* כפתורים */
.controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.controls button {
  font-size: 20px;
  padding: 8px 15px;
  margin: 5px;
  cursor: pointer;
  background: #111;
  color: #0f0;
  border: 2px solid silver;
  border-radius: 5px;
  box-shadow: 0 0 8px #0f0;
  transition: all 0.2s ease;
}

.controls button:hover {
  background: #0f0;
  color: #111;
  box-shadow: 0 0 15px #0f0;
}

/* רספונסיבי לניידים */
@media (max-width: 500px) {
  .dashboard {
    height: 400px;
    padding: 10px;
  }
  .speedometer {
    width: 150px;
    height: 150px;
  }
  .speed-text {
    font-size: 30px;
  }
  .controls button {
    font-size: 18px;
    padding: 6px 12px;
  }
  .assist, .distance, .speeds, .temperature {
    font-size: 14px;
  }
}
