/* ── Trigger ── */
.ctp-96cf0579-trigger {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0;
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: inherit;
	line-height: inherit;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.ctp-96cf0579-trigger--button {
	padding: 10px 24px;
	border-radius: 4px;
	background-color: #5533ff;
	color: #ffffff;
}

.ctp-96cf0579-trigger--icon {
	padding: 4px;
}

.ctp-96cf0579-trigger-icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

/* ── Popover Overlay ── */
.ctp-96cf0579-popover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.ctp-96cf0579-popover.ctp-96cf0579-popover--open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition: visibility 0s linear 0s, opacity 0.3s ease;
}

.ctp-96cf0579-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

/* ── Popover Panel ── */
.ctp-96cf0579-popover-panel {
	position: relative;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 30px;
	width: 600px;
	max-width: 95vw;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	transform: scale(0.9) translateY(20px);
	transition: transform 0.3s ease;
}

.ctp-96cf0579-popover--open .ctp-96cf0579-popover-panel {
	transform: scale(1) translateY(0);
}

/* Animation: fade-scale */
.ctp-96cf0579-wrapper[data-animation="fade-scale"] .ctp-96cf0579-popover-panel {
	transform: scale(0.9);
}
.ctp-96cf0579-wrapper[data-animation="fade-scale"] .ctp-96cf0579-popover--open .ctp-96cf0579-popover-panel {
	transform: scale(1);
}

/* Animation: fade-up */
.ctp-96cf0579-wrapper[data-animation="fade-up"] .ctp-96cf0579-popover-panel {
	transform: translateY(30px);
}
.ctp-96cf0579-wrapper[data-animation="fade-up"] .ctp-96cf0579-popover--open .ctp-96cf0579-popover-panel {
	transform: translateY(0);
}

/* Animation: fade */
.ctp-96cf0579-wrapper[data-animation="fade"] .ctp-96cf0579-popover-panel {
	transform: none;
}

/* Animation: none */
.ctp-96cf0579-wrapper[data-animation="none"] .ctp-96cf0579-popover {
	transition: none;
}
.ctp-96cf0579-wrapper[data-animation="none"] .ctp-96cf0579-popover-panel {
	transform: none;
	transition: none;
}

/* ── Close Button ── */
.ctp-96cf0579-close-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #333333;
	transition: color 0.2s ease, background-color 0.2s ease;
	border-radius: 4px;
	z-index: 1;
}

.ctp-96cf0579-close-btn:hover {
	opacity: 0.7;
}

/* ── Content ── */
.ctp-96cf0579-popover-content {
	margin-top: 10px;
}

/* ── Scrollbar styling ── */
.ctp-96cf0579-popover-panel::-webkit-scrollbar {
	width: 6px;
}

.ctp-96cf0579-popover-panel::-webkit-scrollbar-track {
	background: transparent;
}

.ctp-96cf0579-popover-panel::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 3px;
}
