/* Popup Styling */
.popup-overlay {
  font-family: Arial, sans-serif;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  display: flex;
  flex-direction: row;
  background: #fff;
  width: 90%;
  max-width: 850px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  padding-right: 10px;
}

.popup-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #fff;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-box {
  flex: 1;
  padding: 30px;
  position: relative;
}

.popup-box h2 {
  margin-bottom: 20px;
  color: #333;
}

.popup-box input,
.popup-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.popup-box button {
  width: 100%;
  background-color: #f77c1f;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-box button:hover {
  background-color: #e36302;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 7px;
  font-size: 24px;
  cursor: pointer;
}

/* 📱 Responsive design */
@media screen and (max-width: 768px) {
  .popup-content {
    flex-direction: column;
  }

  .popup-image {
    height: 200px;
    max-width: 100%;
  }

  .popup-image img {
    object-fit: cover;
    height: 100%;
    width: 110%;
  }

  .popup-box {
    padding: 20px;
  }
}


