/* Centered popup and responsive layout */
.dp-demo-btn {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.dp-popup-overlay {
  display: none;
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.dp-popup-content {
  background: #fff;
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform-origin: center center;
  animation: dpFadeIn 260ms ease;
}

@keyframes dpFadeIn {
  from {opacity: 0; transform: scale(0.97);}
  to {opacity: 1; transform: scale(1);}
}

.dp-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  background: transparent;
  border: none;
}

.dp-popup-inner {
  display: flex;
  flex-wrap: wrap;
}

.dp-left, .dp-right {
  flex: 1 1 50%;
  padding: 30px;
  box-sizing: border-box;
  min-width: 260px;
}

.dp-left img {
  width: 100%;
  border-radius: 8px;
  margin-top: 15px;
  object-fit: cover;
  height: auto;
}

@media (max-width: 768px) {
  .dp-popup-inner {
    flex-direction: column;
  }
  .dp-left, .dp-right {
    flex: 1 1 100%;
    padding: 18px;
  }
}
