.vehicle-widget {
  background: rgb(255 255 255 / 67%);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  min-width: 300px;
  max-width: 300px;
  font-family: poppinsBlack;
  z-index: 1000;
  transition: all 0.3s ease;
}

.vehicle-widget.collapsed {
  height: 50px;
  overflow: hidden;
}

.vehicle-widget.collapsed .widget-content {
  display: none;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  max-height: 40px;
  padding: 0px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px 12px 0 0;
}

.veh-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.veh-name h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.veh-name img {
  max-width: 30px;
  max-height: 30px;
}

.odometer-value {
  font-size: 16px;
  color: #e74c3c;
  font-family: DIGIB;
  background: white;
  padding: 3px;
  border-radius: 4px;
}

.toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.widget-content {
  font-size: 13px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 10px;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-item label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin-bottom: 5px;
}

.info-item .value {
  font-weight: 600;
}

.speed-value {
  color: #e74c3c;
  font-weight: 700;
}

.progress-section {
  margin-top: 15px;
}

.progress-section label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  font-size: 12px;
  color: #666;
  text-align: right;
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
  .vehicle-widget {
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-width: unset;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
