.popup {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  animation: fadeIn 0.6s ease-out;
  max-width: 600px;
  width: 90%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -10%);
  }
}

.popup-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.popup-image img {
  max-width: 160px;
  height: auto;
}

.popup-text {
  flex: 1;
}

.popup-text h2 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #00b7e8;
}

.popup-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

#closePopup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
}

#closePopup:hover {
  color: #000;
}

.progress-container {
  width: 100%;
  background-color: #eee;
  height: 6px;
  margin-top: 20px;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #00b7e8;
  transition: width 0.1s linear;
}
