h2.popup-title {
  font-size: 18px;
  line-height: 100%;
  font-weight: 500;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Popup container */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  z-index: 1001;
  transition: all 0.3s ease;
  cursor: default;
  pointer-events: all;
  overflow: hidden; /* Belangrijk! */
  display: flex;
  flex-direction: column;
}

.popup-header {
  /* Je bestaande styles blijven hetzelfde */
  flex-shrink: 0;
  padding: 30px 30px 0 30px;
}

.popup-content {
  margin: 0;
  color: #666;
  line-height: 1.6;
  overflow-y: auto;
  padding: 20px 30px;
  flex-grow: 1;
}

.popup-buttons {
  /* Je bestaande styles */
  flex-shrink: 0;
  padding: 0 30px 30px 30px;
}

/* Popup header */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.popup-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* Close button */
.popup-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #ff5000;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.popup-close:hover {
  background-color: #f0f0f0;
  color: #666;
}

/* Popup content */
.popup-content {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.6;
}

/* Popup buttons */
.popup-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* Responsive design */
@media (max-width: 600px) {
  .popup {
    margin: 0;
    width: calc(100% - 40px);
    padding: 20px;
  }

  .popup-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
