/* IRT Popup Frontend Styles */

.irt-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1999999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.irt-popup-overlay.active {
	opacity: 1;
}

.irt-popup-container {
	position: relative;
	width: 345px;
	transform: scale(0.9);
	transition: transform 0.35s ease;
}

.irt-popup-overlay.active .irt-popup-container {
	transform: scale(1);
}

.irt-popup-header {
	position: relative;
	padding: 60px 70px 27px;
	margin: 0;
	-webkit-transform: rotate(-1deg);
	-ms-transform: rotate(-1deg);
	transform: rotate(-1deg);
	-webkit-transform-origin: left bottom;
	-ms-transform-origin: left bottom;
	transform-origin: left bottom;
}

.irt-popup-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 24px 24px 0px 0px;
	-webkit-mask:
		radial-gradient(circle 20px at bottom left, transparent 20px, #fff 20px) bottom left,
		radial-gradient(circle 20px at bottom right, transparent 20px, #fff 20px) bottom right;
	-webkit-mask-size: 51% 100%, 51% 100%;
	-webkit-mask-repeat: no-repeat;
	mask:
		radial-gradient(circle 20px at bottom left, transparent 20px, #fff 20px) bottom left,
		radial-gradient(circle 20px at bottom right, transparent 20px, #fff 20px) bottom right;
	mask-size: 51% 100%, 51% 100%;
	mask-repeat: no-repeat;
	z-index: -1;

}

.irt-popup-header::after {
	content: "";
	position: absolute;
	bottom: 1px;
	left: 20px;
	right: 20px;
	height: 1;
	border-top: 1px dashed rgba(0, 0, 0, 0.4);
	z-index: -1;
}

.irt-popup-logo {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 106px;
	height: 85px;
	z-index: 10;
}

.irt-popup-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.irt-popup-title {

	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
}



.irt-popup-content {
	padding: 44px 28px;
	font-size: 14px !important;
	position: relative;
	max-height: 60vh;
	overflow-y: auto;
}

.irt-popup-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 0px 0px 24px 24px;
	-webkit-mask:
		radial-gradient(circle 20px at top left, transparent 20px, #fff 20px) top left,
		radial-gradient(circle 20px at top right, transparent 20px, #fff 20px) top right;
	-webkit-mask-size: 51% 100%, 51% 100%;
	-webkit-mask-repeat: no-repeat;
	mask:
		radial-gradient(circle 20px at top left, transparent 20px, #fff 20px) top left,
		radial-gradient(circle 20px at top right, transparent 20px, #fff 20px) top right;
	mask-size: 51% 100%, 51% 100%;
	mask-repeat: no-repeat;
	z-index: -1;
	border-top: 1px dashed rgba(0, 0, 0, 0.4);
}

.irt-popup-content::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 20px;
	right: 20px;
	height: 1;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.4);
	z-index: -1;
}

.irt-popup-content p {
	margin: 0 0 1em 0;
}

.irt-popup-content p:last-child {
	margin-bottom: 0;
}

.irt-popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 30px;
	height: 30px;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #333;
	cursor: pointer;
	z-index: 20;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.irt-popup-close:hover {
	color: #000;
}

@media screen and (min-width: 1200px) {
	.irt-popup-container {
		width: 408px !important;
	}

	.irt-popup-content {
		font-size: 16px !important;
	}
}

@media screen and (max-width: 767px) {
	.irt-popup-container {
		width: 90%;
		max-width: 345px;
	}

	.irt-popup-title {
		padding: 50px 50px 20px;
		font-size: 16px;
	}

	.irt-popup-content {
		padding: 30px 20px;
		font-size: 14px !important;
	}
}