.gwt-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 999999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.admin-bar .gwt-popup-overlay {
	top: var(--wp-admin--admin-bar--height, 32px);
	height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
	body.admin-bar .gwt-popup-overlay {
		top: 46px;
		height: calc(100vh - 46px);
	}
}

.gwt-popup-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.gwt-popup-content {
	background-color: #ffffff;
	border-radius: 8px;
	width: 90%;
	max-width: 800px;
	max-height: 90vh;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gwt-popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #ffffff;
	border: 2px solid #54595F;
	color: #54595F;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 10;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	transition: all 0.2s ease;
}

.gwt-popup-close:hover {
	background: #54595F;
	color: #ffffff;
}

.gwt-popup-layout {
	display: flex;
	flex-direction: column;
	max-height: 90vh;
}

.gwt-popup-image-container {
	width: 100%;
	max-height: 250px;
	overflow: hidden;
}

.gwt-popup-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gwt-popup-text-container {
	padding: 30px 20px;
	text-align: center;
	overflow-y: auto;
}

.gwt-popup-heading {
	color: #54595F;
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 10px 0;
	text-transform: uppercase;
}

.gwt-popup-subheading {
	color: #6EC1E4;
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 20px 0;
}

.gwt-popup-description {
	color: #7A7A7A;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 25px;
}

.gwt-popup-description p {
	margin: 0 0 10px 0;
}

.gwt-popup-description p:last-child {
	margin-bottom: 0;
}

.gwt-popup-actions {
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
}

.gwt-popup-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.2s ease;
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
}

.gwt-popup-btn:hover {
	opacity: 0.9;
}

.gwt-popup-btn-primary {
	background-color: #6EC1E4;
	color: #ffffff;
}

.gwt-popup-btn-secondary {
	background-color: transparent;
	color: #54595F;
	border: 2px solid #54595F;
}

@media screen and (min-width: 768px) {
	.gwt-popup-layout {
		flex-direction: row;
		max-height: 500px;
	}
	
	.gwt-popup-image-container {
		width: 50%;
		max-height: none;
	}
	
	.gwt-popup-text-container {
		width: 50%;
		padding: 40px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	
	.gwt-popup-actions {
		flex-direction: row;
		justify-content: center;
	}
	
	.gwt-popup-btn {
		width: auto;
	}
}