.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
}

.modal-content {
  background: rgba(0,0,0,0.85);
  margin: 10% auto;
  padding: 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  position: relative;
  text-align: center;
}

.modal .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  cursor: pointer;
}

.progress-container {
  position: relative;
  width: 100%;
  height: 18px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  margin: 15px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%; /* JS állítja majd a %-ot */
  background: rgba(0,180,255,0.6);
  border-radius: 12px;
  transition: width 15s ease; /* animált feltöltés */
}

.truck-icon {
  position: absolute;
  top: -6px;
  left: -5%; /* kezdjen kicsit balról */
  font-size: 1.5rem;
  animation: drive 15s linear infinite; /* folyamatos mozgás a teljes sávon */
}

@keyframes drive {
  0% { left: -5%; }
  100% { left: 105%; } /* kilóg a jobb oldalon */
}