/* API EC Meeting Popup styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600&display=swap');

.aep-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 12, 8, 0.65);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 20px;
	box-sizing: border-box;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.aep-popup-overlay.aep-visible {
	display: flex;
	opacity: 1;
}

.aep-popup-box {
	position: relative;
	background: linear-gradient(180deg, #fffdf7 0%, #fff6e6 100%);
	border-radius: 18px;
	max-width: 400px;
	width: 100%;
	padding: 38px 32px 30px;
	text-align: center;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(232, 137, 12, 0.15);
	transform: translateY(18px) scale(0.96);
	transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
	opacity: 0;
	overflow: hidden;
}

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

.aep-popup-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 7px;
	background: linear-gradient(90deg, #B5450F, #E8890C 25%, #F5A623 50%, #E8890C 75%, #B5450F);
}

.aep-popup-ribbon {
	display: inline-block;
	background: #16294F;
	color: #F5C87A;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 20px;
	margin-bottom: 18px;
}

.aep-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 28px;
	height: 28px;
	background: rgba(22, 41, 79, 0.06);
	border: none;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #16294F;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.aep-popup-close:hover {
	background: rgba(211, 58, 10, 0.12);
	color: #C33A0A;
	transform: rotate(90deg);
}

.aep-popup-logo {
	margin: 0 auto 18px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(232, 137, 12, 0.35), 0 0 0 4px #fff, 0 0 0 5px rgba(232, 137, 12, 0.45);
}

.aep-popup-logo img {
	width: 88px;
	height: 88px;
	object-fit: contain;
	border-radius: 50%;
}

.aep-popup-title {
	margin: 0 0 6px;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: #16294F;
	line-height: 1.3;
}

.aep-popup-divider {
	width: 46px;
	height: 3px;
	background: #E8890C;
	border-radius: 2px;
	margin: 12px auto 16px;
}

.aep-popup-message {
	margin: 0;
	font-size: 15.5px;
	font-weight: 500;
	color: #4a3a24;
	line-height: 1.6;
}

.aep-popup-message strong {
	display: block;
	color: #C33A0A;
	font-size: 16.5px;
	font-weight: 600;
	margin-top: 4px;
}

.aep-popup-button {
	display: inline-block;
	margin-top: 20px;
	padding: 11px 28px;
	background: linear-gradient(135deg, #E8890C, #C33A0A);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border-radius: 30px;
	box-shadow: 0 8px 18px rgba(195, 58, 10, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aep-popup-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(195, 58, 10, 0.45);
	color: #fff;
}

@media (max-width: 480px) {
	.aep-popup-box {
		padding: 32px 22px 24px;
	}
	.aep-popup-logo {
		width: 82px;
		height: 82px;
	}
	.aep-popup-logo img {
		width: 74px;
		height: 74px;
	}
}
