/* Popup Overlay */
.angie-events-popup-overlay-c6045e77 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.admin-bar .angie-events-popup-overlay-c6045e77 {
	top: var(--wp-admin--admin-bar--height, 32px);
	height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
	body.admin-bar .angie-events-popup-overlay-c6045e77 {
		top: 46px;
		height: calc(100% - 46px);
	}
}

.angie-events-popup-overlay-c6045e77.is-active {
	opacity: 1;
	visibility: visible;
}

/* Popup Content - STRICTLY SCOPED */
.angie-events-popup-content-c6045e77 {
	background-color: #f9f7f2;
	width: 90%;
	max-width: 500px;
	border-radius: 8px;
	padding: 40px;
	position: relative;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transform: translateY(20px);
	transition: transform 0.4s ease;
	max-height: 85vh;
	overflow-y: auto;
	box-sizing: border-box; /* Ensures padding doesn't break width */
}

.angie-events-popup-overlay-c6045e77.is-active .angie-events-popup-content-c6045e77 {
	transform: translateY(0);
}

.angie-events-popup-close-c6045e77 {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	color: #696663;
	cursor: pointer;
	line-height: 1;
	padding: 5px 10px;
}

.angie-events-popup-header-c6045e77 {
	text-align: center;
	margin-bottom: 30px;
}

.angie-popup-h2-c6045e77 {
	font-family: 'Playfair Display', serif;
	color: #3a4a38;
	font-size: 28px;
	margin: 0 0 10px 0;
}

.angie-popup-p-header-c6045e77 {
	color: #b58257;
	margin: 0;
	font-size: 15px;
	font-family: 'Montserrat', sans-serif;
}

.angie-events-list-c6045e77 {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.angie-event-item-c6045e77 {
	display: flex;
	gap: 20px;
	padding: 15px;
	background-color: #ffffff;
	border-radius: 6px;
	border-left: 4px solid #3a4a38;
}

.angie-event-date-c6045e77 {
	flex: 0 0 100px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-right: 1px solid #e7e5e0;
	padding-right: 15px;
}

.angie-date-c6045e77 {
	font-weight: 600;
	color: #1c1917;
	font-size: 14px;
	margin-bottom: 4px;
	font-family: 'Montserrat', sans-serif;
}

.angie-time-c6045e77 {
	color: #696663;
	font-size: 12px;
	font-family: 'Montserrat', sans-serif;
}

.angie-event-details-c6045e77 {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.angie-popup-h3-c6045e77 {
	font-size: 16px;
	color: #1c1917;
	margin: 0 0 5px 0;
	font-family: 'Playfair Display', serif;
}

.angie-popup-p-c6045e77 {
	margin: 0;
	font-size: 13px;
	color: #696663;
	line-height: 1.4;
	font-family: 'Montserrat', sans-serif;
}

@media screen and (max-width: 600px) {
	.angie-event-item-c6045e77 {
		flex-direction: column;
		gap: 10px;
	}
	.angie-event-date-c6045e77 {
		flex: none;
		border-right: none;
		border-bottom: 1px solid #e7e5e0;
		padding-right: 0;
		padding-bottom: 10px;
	}
}