body {
  font-family: Arial, sans-serif;
  padding: 20px;
}

#map {
  height: 600px;
  width: 100%;
}

.sidebar {
  position: absolute;
  top: 100px; 
  left: 35px;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.sidebar h3 {
  font-size: 20px;
}

.technician-list {
  list-style: none;
  padding: 0;
}

.technician-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.technician-color-box {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 50%;
}

.gm-style-iw button[aria-label="Close"] {
  display: none !important;
}

/* ========================
   INFOWINDOW STYLES
   ======================== */
.infowindow-content {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #333;
  width: 240px; /* Adjust if you need more/less width */
}

.infowindow-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes speed to the right */
  margin-bottom: 6px;
}

.infowindow-left {
  display: flex;
  align-items: center;
}

.infowindow-photo {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.infowindow-header-text {
  display: flex;
  flex-direction: column;
  /* no extra margin needed, but adjust if desired */
}

.infowindow-vehicleName {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 2px;
}

.infowindow-driverName {
  font-size: 13px;
  color: #555;
}

.infowindow-speed {
  font-size: 13px;
  color: #333;
  white-space: nowrap; /* keep it on one line if short */
}

.infowindow-engineTime {
  margin-bottom: 4px;
  font-size: 13px;
}

.infowindow-lastUpdate {
  margin-bottom: 4px;
  font-size: 13px;
}

.infowindow-address {
  margin-bottom: 8px;
  font-size: 13px;
}

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

.infowindow-actions span {
  color: #007BFF;
  cursor: default; 
  font-size: 13px;
}