@keyframes popupBounceIn {
  0% {
    transform: scale(0) translateY(30px);
    opacity: 0;
  }
  60% {
    transform: scale(1.2) translateY(-10px);
    opacity: 1;
  }
  80% {
    transform: scale(0.95) translateY(2px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}


.custom-popup {
  animation: popupBounceIn 0.8s ease-out;
  transform-origin: center center;


    background: #f0f0f0;
    border: 1px solid #999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
    border-radius: 4px;
    overflow: hidden;
    position: absolute;
    min-width: 200px;
    min-height: 100px;
    max-width: none;
    max-height: none;
    box-sizing: border-box;
  }

  .popup-header {
    background: #0078d7;
    color: white;
    padding: 6px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    user-select: none;
  }

  .popup-title {
    font-weight: bold;
    flex: 1;
  }

  .popup-controls {
    display: flex;
    gap: 4px;
  }

  .popup-btn {
    background: #005a9e;
    border: none;
    color: white;
    font-size: 14px;
    padding: 0 6px;
    cursor: pointer;
  }

  .popup-btn:hover {
    background: #003f73;
  }

  .popup-content {
    padding: 10px;
    background: white;
    overflow: auto;
  }
