/* ACT-BEP Eligibility Screening — front-end styles */

.abes-no-scroll {
	overflow: hidden;
}

.abes-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba( 20, 20, 20, 0.55 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 16px;
	animation: abes-fade-in 0.15s ease-out;
}

.abes-popup-box {
	background: #fff;
	border-radius: 12px;
	max-width: 420px;
	width: 100%;
	padding: 32px 28px 28px;
	position: relative;
	text-align: center;
	box-shadow: 0 20px 50px rgba( 0, 0, 0, 0.25 );
	animation: abes-pop-in 0.18s ease-out;
}

.abes-popup-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #888;
}

.abes-popup-close:hover {
	color: #222;
}

.abes-popup-icon {
	width: 56px;
	height: 56px;
	line-height: 56px;
	border-radius: 50%;
	background: #e7f8ee;
	color: #1a9c4a;
	font-size: 28px;
	font-weight: bold;
	margin: 0 auto 16px;
}

.abes-popup-box h3 {
	margin: 0 0 10px;
	font-size: 20px;
}

.abes-popup-box p {
	margin: 0 0 22px;
	color: #444;
	font-size: 15px;
	line-height: 1.5;
}

.abes-popup-ok {
	background: #1a9c4a;
	color: #fff;
	border: none;
	padding: 10px 28px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
}

.abes-popup-ok:hover {
	background: #148040;
}

.abes-ineligible-message {
	border: 1px solid #e0c9c9;
	background: #fdf5f5;
	padding: 20px 22px;
	border-radius: 8px;
	margin: 16px 0;
	line-height: 1.6;
	outline: none;
}

.abes-ineligible-message a {
	font-weight: 600;
}

@keyframes abes-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes abes-pop-in {
	from { opacity: 0; transform: scale( 0.96 ); }
	to { opacity: 1; transform: scale( 1 ); }
}
