.ap-864a2f14-wrapper {
	position: relative;
}

.ap-864a2f14-trigger {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ap-864a2f14-trigger.ap-type-button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    border: none; /* Reset if rendered as button */
}

.ap-trigger-icon {
    display: inline-flex;
    align-items: center;
}

.ap-trigger-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Modal Overlay */
.ap-864a2f14-modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ap-864a2f14-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* Modal Content */
.ap-864a2f14-modal-content {
	background: #fff;
	padding: 25px;
	border-radius: 8px;
	max-width: 500px;
	width: 90%;
	position: relative;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	transform: translateY(20px);
	transition: transform 0.3s ease;
}

.ap-864a2f14-modal-overlay.is-open .ap-864a2f14-modal-content {
	transform: translateY(0);
}

.ap-864a2f14-modal-close {
	position: absolute;
	top: 15px !important;
    right: 15px !important;
	font-size: 35px !important;
    padding: 0 !important;
	background: transparent;
	border: none;
	line-height: 1;
	cursor: pointer;
	color: #000;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ap-864a2f14-modal-close:hover {
	color: #333;
}

.ap-864a2f14-modal-title {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 22px;
	color: #333;
}

.ap-864a2f14-modal-text {
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

/* Editor Preview Support */
.ap-force-open {
    position: absolute !important;
    height: auto !important;
    min-height: 250px;
    padding: 40px 20px;
}
