/* ===== Popup (fondo) ===== */
.popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	backdrop-filter: blur(4px);
	z-index: 999;
  }

  .popup-overlay.active {
	opacity: 1;
	pointer-events: all;
  }

  /* ===== Contenedor del popup ===== */
  .popup {
	background: #fff;
	padding: 2rem;
	border-radius: 20px;
	width: 90%;
	max-height: 90%;
	overflow: auto;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
	transform: translateY(-30px) scale(0.9);
	opacity: 0;
	transition: all 0.3s ease;
  }

  .popup-overlay.active .popup {
	transform: translateY(0) scale(1);
	opacity: 1;
  }

  .popup h2 {
	margin-top: 0;
  }

  .close-btn {
	margin-top: 20px;
	max-width: 135px;
	/* background: #764ba2;
	color: white; */
  }

  /* .close-btn:hover {
	background: #5a3784;
  } */

  #popupTitle {
	text-align: left;
  }
  #popupMessage{
	margin: 15px;
	text-align: justify;
  }