 .page-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-popup-container.show {
  opacity: 1;
  visibility: visible;
}

.page-popup {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
}

.page-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  z-index: 10;
}

.page-popup-close:hover {
  color: #333;
}

.page-popup-content {
  display: flex;
  flex-direction: column;
}

.page-popup-image {
  margin-bottom: 15px;
  text-align: center;
}

.page-popup-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  max-width: 200px;
  margin-bottom: 30px;
}

.page-popup-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 24px;
  color: #333;
}

.page-popup-text {
  margin-bottom: 20px;
  color: #666;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  /* .page-popup-content {
      flex-direction: row;
  } */
  
  .page-popup-image {
      flex: 0 0 40%;
      margin-right: 20px;
      margin-bottom: 0;
  }
  
  .page-popup-text-content {
      flex: 1;
  }
}

.tx-page-popup .page-popup-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.tx-page-popup .page-popup-container .page-popup {
  border-radius: 30px;
  padding: 50px 70px;
}

.page-popup-text-content {
  text-align: center;
}

@media (max-width: 767px) {
  .tx-page-popup .page-popup-container .page-popup {
    border-radius: 20px;
    padding: 40px 30px;
  }
}