.popup-header {
  display: flex;
  flex-direction: column; /* <-- add this */
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.popup-header h3 {
  margin: 10px 0 0 0; /* update margin */
  font-size: 24px;
  color: #2c3e50;
}

.popup-icon {
  font-size: 36px; /* icon size */
  margin-bottom: 8px; /* space between icon and title */
}

.icon-success {
  color: #27ae60;
}

.icon-error {
  color: #e74c3c;
}

.icon-info {
  color: #3498db;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.popup-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  padding: 25px 30px;
  z-index: 9999;
  border-radius: 12px;
  text-align: center;
  width: 320px;
  max-width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: popupShow 0.3s ease;
}

@keyframes popupShow {
  0% { transform: translate(-50%, -60%) scale(0.95); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.popup-box h3 {
  /*margin: 0 0 10px 0;*/
  font-size: 24px;
  color: #2c3e50;
}

.popup-box p {
  font-size: 16px;
  color: #555;
  margin: 10px 0 20px 0;
  line-height: 1.5;
}

.popup-confirm {
  margin-top: 10px;
  padding: 10px 25px;
  background-color: #3498db;
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.popup-confirm:hover {
  background-color: #2980b9;
}

#copyTicketId {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  background: #f1f1f1;
  border-radius: 6px;
  cursor: pointer;
  user-select: all;
  font-family: monospace;
  font-size: 16px;
  color: #333;
  transition: background 0.2s ease;
}

#copyTicketId:hover {
  background: #ddd;
}

.popup-box small {
  display: block;
  margin-top: 8px;
  color: #888;
  font-size: 12px;
}
