/* .custom-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-height: 400px; 
  overflow-y: auto; 
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
} */

  /* .custom-popup {
    position: fixed;
    top: 50%;              
    left: 50%;            
    transform: translate(-50%, -50%); 
    width: 320px;
    max-height: 400px;    
    overflow-y: auto; 
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
  } */


  .custom-popup {
    position: fixed;
    bottom: 20px;            /* posisikan di bawah */
    left: 50%;               /* center horizontal */
    transform: translateX(-50%); /* geser agar benar-benar center */
    width: 480px;         /* lebar popup */
    max-height: 250px;       /* batas tinggi popup */
    /* overflow-y: auto;  */
    overflow: hidden; 
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    z-index: 9999;
    animation: slideUpBottom 0.3s ease-out;
    flex-direction: column;
  }

.popup-header {
  flex-shrink: 0;  
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2c3e50;
  color: #fff;
  padding: 8px 12px;
}

.popup-title {
  font-size: 14px;
  font-weight: bold;
}

.popup-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.popup-body {
  padding: 10px 12px;
  overflow-y: auto;        /* scroll hanya di body */
  max-height: 180px;
}

.popup-body table {
  width: 100%;
  border-collapse: collapse;
}

.popup-body td.label {
  font-weight: bold;
  color: #555;
  width: 40%;
}


/* Animasi zoom dari tengah */
@keyframes zoomIn {
  from {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
/* @keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
} */
