.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: hidden;
	z-index: 9998;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	&.active, &.active .popup {
		opacity: 1;
	}
}

.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50rem;
	max-width: calc(100% - 2rem);
	transform: translate(-50%, -50%);
	background-color: #fff;
	border-radius: 1rem;
	padding: 0;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	font-size: var(--waw_textSize_m);
	& .button-container {
		display: flex;
		justify-content: center;
		gap: 1rem;
		margin-bottom:2rem;
	}
	& .popup-content {
		height: 100%;
		max-height: 80vh;
		overflow: auto;
		padding: 2rem;
	}
	& .popup-close {
		position: absolute;
		top: 1.5rem;
		right: 1.5rem;
		width: 3rem;
		height: 3rem;
		background-color: var(--waw_colorPeps);
		border-radius: 3rem;
		color: var(--waw_colorWhite);
		font-size: 3rem;
		text-align: center;
		line-height: 2.5rem;
		cursor: pointer;
		&::before {
			content: '×';
		}
	}
	&.active {
		opacity: 1;
	}
}