/**
 * Synced Pattern Popups Admin Styles
 */

.sppopups-table-wrapper {
	width: 100%;
	max-width: 960px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 20px;
	position: relative;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	overflow-y: visible;
}

/* Scroll indicator shadows */

.sppopups-table-wrapper::before,
.sppopups-table-wrapper::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 20px;
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.2s ease;
	opacity: 0;
}

.sppopups-table-wrapper::before {
	left: 0;
	background: linear-gradient(to right, rgba(255, 255, 255, 0.95), transparent);
}

.sppopups-table-wrapper::after {
	right: 0;
	background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
}

.sppopups-table-wrapper.scrollable-left::before,
.sppopups-table-wrapper.scrollable-right::after {
	opacity: 1;
}

.sppopups-patterns-table {
	margin-top: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	width: 100%;
	max-width: 960px;
	table-layout: fixed;
	display: table;
	box-sizing: border-box;
}

.sppopups-patterns-table thead {
	display: table-header-group;
	position: sticky;
	top: 0;
	z-index: 10;
}

.sppopups-patterns-table tbody {
	display: table-row-group;
}

.sppopups-patterns-table thead tr {
	background: #f6f7f7;
}

.sppopups-patterns-table thead th {
	background: #f6f7f7;
	border-bottom: 1px solid #c3c4c7;
	font-weight: 600;
	padding: 12px 16px;
	color: #1d2327;
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
}

.sppopups-patterns-table thead th:first-child {
	border-top-left-radius: 4px;
}

.sppopups-patterns-table tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f1;
	vertical-align: middle;
}

.sppopups-patterns-table tbody tr:last-child td {
	border-bottom: none;
}

.sppopups-patterns-table tbody tr:hover {
	background: #f6f7f7;
}

.sppopups-patterns-table .column-id {
	max-width: 50px;
	width: 50px;
	padding: 8px;
	text-align: center;
}

.sppopups-patterns-table .column-id .pattern-id {
	font-size: 11px;
	font-weight: 600;
	color: #1d2327;
	display: inline-block;
}

.sppopups-patterns-table .column-title {
	max-width: 25%;
	width: 25%;
}

.sppopups-patterns-table .column-title strong a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 600;
}

.sppopups-patterns-table .column-title strong a:hover {
	color: #135e96;
	text-decoration: underline;
}

.sppopups-patterns-table .column-status {
	max-width: 10%;
	width: 10%;
}

.sppopups-patterns-table .column-trigger {
	width: 180px;
	min-width: 180px;
	max-width: 20%;
}

.sppopups-patterns-table .column-actions {
	max-width: 20%;
	width: 20%;
}

.sppopups-trigger-code-wrapper {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
	padding: 0;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sppopups-trigger-code-wrapper:focus-within {
	border-color: #2271b1;
	background: #fff;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

.sppopups-trigger-code-text {
	font-family: 'Courier New', Courier, monospace;
	font-size: 13px;
	color: #1d2327;
	flex: 1;
	min-width: 0;
	padding: 6px 10px;
	background: transparent;
	border: none;
}

.sppopups-copy-trigger-icon {
	padding: 6px 8px;
	min-width: 32px;
	height: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	border: none;
	border-left: 1px solid #dcdcde;
	border-radius: 0;
	background: #f0f0f1;
	margin: 0;
	box-shadow: none;
}

.sppopups-copy-trigger-icon .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	display: inline-block;
	vertical-align: middle;
}

.sppopups-copy-trigger-icon .dashicons-clipboard:before {
	display: inline-block;
	transform: rotate(-45deg) !important;
	-webkit-transform: rotate(-45deg) !important;
	-moz-transform: rotate(-45deg) !important;
	-ms-transform: rotate(-45deg) !important;
	-o-transform: rotate(-45deg) !important;
}

.sppopups-copy-trigger-icon:hover {
	border-color: #dcdcde;
	border-left-color: #dcdcde;
	color: #2271b1;
	background: #e5e5e5;
	box-shadow: none;
}

.sppopups-copy-trigger-icon:focus {
	border-color: #dcdcde;
	border-left-color: #dcdcde;
	color: #2271b1;
	background: #e5e5e5;
	box-shadow: inset 0 0 0 1px #2271b1;
	outline: none;
}

.sppopups-copy-trigger-icon.copied {
	background: #00a32a;
	border-color: #dcdcde;
	border-left-color: #dcdcde;
	color: #fff;
	box-shadow: none;
}

.sppopups-copy-trigger-icon.copied .dashicons:before {
	content: "\f147"; /* dashicons-yes */
	transform: none !important;
	-webkit-transform: none !important;
}

.sppopups-actions-wrapper {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sppopups-actions-row {
	display: flex;
	gap: 8px;
}

.sppopups-actions-wrapper .button {
	margin: 0;
}

.sppopups-actions-wrapper .sppopups-action-transient {
	width: 100%;
}

.sppopups-patterns-table .trigger-code-input {
	font-family: 'Courier New', Courier, monospace;
	font-size: 13px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 6px 10px;
	width: 100%;
	max-width: 200px;
	min-width: 150px;
	color: #1d2327;
	box-sizing: border-box;
}

.sppopups-patterns-table .trigger-code-input:focus {
	background: #fff;
	border-color: #2271b1;
	outline: none;
	box-shadow: 0 0 0 1px #2271b1;
}

.sppopups-patterns-table .status-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
}

.sppopups-patterns-table .status-badge.status-publish {
	background: #00a32a;
	color: #fff;
}

.sppopups-patterns-table .status-badge.status-draft {
	background: #dba617;
	color: #fff;
}

.sppopups-patterns-table .status-badge.status-synced {
	background: #2271b1;
	color: #fff;
}

.sppopups-patterns-table .status-badge.status-unsynced {
	background: #d63638;
	color: #fff;
}

.sppopups-patterns-table .column-actions .button {
	margin: 0;
	padding: 6px 12px;
	height: auto;
	line-height: 1.4;
	font-size: 13px;
	border-radius: 4px;
	box-shadow: none;
	border: 1px solid #dcdcde;
	transition: all 0.15s ease;
}

.sppopups-patterns-table .column-actions .button:hover {
	border-color: #2271b1;
	color: #2271b1;
	background: #fff;
}

.sppopups-patterns-table .column-actions .button:focus {
	border-color: #2271b1;
	color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

.sppopups-patterns-table .column-actions .delete-pattern {
	color: #b32d2e;
	border-color: #d63638;
}

.sppopups-patterns-table .column-actions .delete-pattern:hover {
	color: #fff;
	background: #d63638;
	border-color: #d63638;
}

/* Responsive table adjustments */
@media screen and (max-width: 782px) {
	.sppopups-table-wrapper {
		border: none;
		background: transparent;
		box-shadow: none;
	}

	.sppopups-patterns-table {
		display: block;
		overflow-x: visible;
		min-width: 100%;
	}

	.sppopups-patterns-table thead,
	.sppopups-patterns-table tbody,
	.sppopups-patterns-table tr {
		display: block;
	}

	.sppopups-patterns-table thead {
		display: none;
	}

	.sppopups-patterns-table tbody tr {
		border: 1px solid #c3c4c7;
		border-radius: 4px;
		margin-bottom: 12px;
		padding: 12px;
		background: #fff;
		box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	}

	.sppopups-patterns-table tbody tr::after {
		display: none;
	}

	.sppopups-patterns-table tbody td {
		display: block;
		border: none;
		padding: 8px 0;
		text-align: left;
		width: 100% !important;
	}

	.sppopups-patterns-table tbody td:before {
		content: attr(data-colname) ': ';
		font-weight: 600;
		display: inline-block;
		min-width: 120px;
		color: #1d2327;
		margin-right: 8px;
	}

	.sppopups-patterns-table .column-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 12px;
		padding-top: 12px;
		border-top: 1px solid #f0f0f1;
		white-space: normal;
	}

	.sppopups-patterns-table .column-actions:before {
		content: attr(data-colname) ': ';
		font-weight: 600;
		display: block;
		width: 100%;
		margin-bottom: 8px;
		color: #1d2327;
	}

	.sppopups-patterns-table .column-actions .button {
		margin-right: 0;
		flex: 1;
		min-width: 100px;
	}
}

/* Medium screens - improve horizontal scroll experience */
@media screen and (min-width: 783px) and (max-width: 1200px) {
	.sppopups-table-wrapper {
		overflow-x: auto;
	}

	.sppopups-patterns-table {
		min-width: 800px;
	}
}

/* How to use section styling */
.sppopups-usage-instructions {
	margin-top: 32px;
	padding: 24px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	max-width: 600px;
	line-height: 1.8;
	font-size: 14px;
	color: #1d2327;
}

.sppopups-usage-instructions strong {
	display: block;
	margin-bottom: 12px;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

.sppopups-usage-instructions code {
	display: block;
	margin: 8px 0 16px 0;
	padding: 12px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 13px;
	color: #1d2327;
	line-height: 1.6;
	overflow-x: auto;
}

.sppopups-usage-instructions br {
	line-height: 1.8;
}

/* Tab Navigation Styles */
.sppopups-admin-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
	max-width: 960px;
	width: 100%;
	box-sizing: border-box;
}

.sppopups-header-actions {
	display: flex;
	align-items: center;
}

.sppopups-learn-more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #2271b1;
	text-decoration: none;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 4px;
	transition: all 0.15s ease;
}

.sppopups-learn-more-link:hover {
	background: #f0f6fc;
	color: #135e96;
	text-decoration: none;
}

.sppopups-learn-more-link .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.sppopups-tab-nav {
	display: flex;
	max-width: 960px;
	gap: 0;
	margin: 0 0 0 -2px;
	border-bottom: 1px solid #c3c4c7;
	background: transparent;
}

.sppopups-tab-nav-link {
	display: inline-block;
	padding: 12px 20px;
	margin: 0;
	text-decoration: none;
	color: #646970;
	font-size: 14px;
	font-weight: 500;
	border: none;
	border-bottom: 3px solid transparent;
	background: transparent;
	cursor: pointer;
	transition: all 0.15s ease;
	position: relative;
	top: 1px;
}

.sppopups-tab-nav-link:hover {
	color: #50575e;
	border-bottom: 3px solid #50575e;
	background: transparent;
	text-decoration: none;
}

.sppopups-tab-nav-link.active {
	color: #2271b1;
	border-bottom-color: #2271b1;
	background: transparent;
	font-weight: 600;
}

.sppopups-tab-nav-link:focus {
	outline: none;
	box-shadow: 0 0 0 1px #2271b1;
	border-radius: 2px 2px 0 0;
}

.sppopups-tab-nav-link .dashicons-external {
	font-size: 16px;
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

.sppopups-tab-content-wrapper {
	margin-top: 0;
	max-width: 960px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-top: none;
	border-radius: 0 0 4px 4px;
	padding: 0;
}

.sppopups-tab-content {
	display: none;
	padding: 24px;
}

.sppopups-tab-content.active {
	display: block;
}

.sppopups-tab-actions {
	margin-bottom: 20px;
}

.sppopups-tab-content-inner {
	max-width: 800px;
}

.sppopups-tab-content-inner h2 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.4;
}

.sppopups-tab-content-inner h3 {
	margin-top: 24px;
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.4;
}

.sppopups-tab-content-inner p {
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #1d2327;
}

.sppopups-tab-content-inner .description {
	margin-bottom: 20px;
	color: #646970;
	font-size: 14px;
	line-height: 1.6;
}

.sppopups-tab-content-inner pre {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 16px;
	margin: 12px 0 20px 0;
	overflow-x: auto;
	font-family: 'Courier New', Courier, monospace;
	font-size: 13px;
	line-height: 1.6;
	color: #1d2327;
}

.sppopups-tab-content-inner pre code {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.sppopups-tab-content-inner code {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 2px 6px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 13px;
	color: #1d2327;
}

.sppopups-usage-method {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #f0f0f1;
}

.sppopups-usage-method:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.sppopups-tab-content-inner .form-table {
	margin-top: 20px;
}

.sppopups-tab-content-inner .form-table th {
	padding: 20px 10px 20px 0;
	font-weight: 600;
	color: #1d2327;
	width: 200px;
}

.sppopups-tab-content-inner .form-table td {
	padding: 15px 10px;
}

.sppopups-tab-content-inner .form-table .description {
	margin-top: 8px;
	margin-bottom: 0;
	font-size: 13px;
	color: #646970;
}

.sppopups-tab-content-inner .notice {
	margin: 0 0 20px 0;
}

.sppopups-tab-content-inner .notice p {
	margin: 0.5em 0;
}

/* Requirements Checklist Styles */
.sppopups-requirements-checklist {
	list-style: none;
	padding: 0;
	margin: 24px 0;
	max-width: 700px;
	position: relative;
}

.sppopups-requirement-item {
	display: flex;
	align-items: flex-start;
	padding: 24px;
	margin-bottom: 0;
	background: #fff;
	border: none;
	border-radius: 0;
	position: relative;
}

.sppopups-requirement-item:not(:last-child) {
	border-bottom: 1px solid #f0f0f1;
}

.sppopups-requirement-status {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-right: 20px;
	flex-shrink: 0;
	width: 40px;
	height: auto;
	position: relative;
	padding-top: 4px;
}

/* Connecting line between status indicators */
.sppopups-requirement-item:not(:last-child) .sppopups-requirement-status::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 32px;
	transform: translateX(-50%);
	width: 2px;
	height: calc(100% + 24px);
	background: #e0e0e0;
	z-index: 0;
}

.sppopups-status-circle {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.sppopups-requirement-item.requirement-met .sppopups-status-circle {
	background: #00a32a;
	border: 2px solid #00a32a;
}

.sppopups-requirement-item.requirement-met .sppopups-status-circle::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -60%) rotate(45deg);
}

.sppopups-requirement-item.requirement-not-met .sppopups-status-circle {
	background: #fff;
	border: 2px solid #d63638;
}

.sppopups-requirement-item.requirement-not-met .sppopups-status-circle::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 8px;
	background: #d63638;
	border-radius: 50%;
}

.sppopups-requirement-content {
	flex: 1;
	min-width: 0;
}

.sppopups-requirement-header {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 4px;
}

.sppopups-requirement-number {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.sppopups-requirement-item.requirement-met .sppopups-requirement-number {
	color: #00a32a;
}

.sppopups-requirement-item.requirement-not-met .sppopups-requirement-number {
	color: #d63638;
}

.sppopups-requirement-text {
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.5;
}

.sppopups-requirement-description {
	margin: 0;
	font-size: 13px;
	color: #646970;
	line-height: 1.5;
	font-weight: 400;
}

.sppopups-requirement-action {
	margin-left: 20px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.sppopups-action-button {
	display: inline-block;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.15s ease;
	cursor: pointer;
	border: none;
	box-shadow: none;
}

.sppopups-requirement-item.requirement-not-met .sppopups-action-button {
	background: #d63638;
	color: #fff;
}

.sppopups-requirement-item.requirement-not-met .sppopups-action-button:hover {
	background: #b32d2e;
	color: #fff;
	text-decoration: none;
}

.sppopups-requirement-item.requirement-not-met .sppopups-action-button:focus {
	background: #b32d2e;
	color: #fff;
	outline: 2px solid #d63638;
	outline-offset: 2px;
	text-decoration: none;
}

.sppopups-action-button.sppopups-installing {
	cursor: wait;
	opacity: 0.7;
}

.sppopups-action-button .sppopups-button-text {
	display: inline-block;
}

.sppopups-loading-dots {
	display: inline-block;
	margin-left: 4px;
}

.sppopups-loading-dots span {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: currentColor;
	margin: 0 1px;
	animation: sppopups-dot-bounce 1.4s infinite ease-in-out both;
}

.sppopups-loading-dots span:nth-child(1) {
	animation-delay: -0.32s;
}

.sppopups-loading-dots span:nth-child(2) {
	animation-delay: -0.16s;
}

.sppopups-loading-dots span:nth-child(3) {
	animation-delay: 0s;
}

@keyframes sppopups-dot-bounce {
	0%, 80%, 100% {
		transform: scale(0);
		opacity: 0.5;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
}

/* Review Notice Styles */
.sppopups-review-notice-wrapper {
	margin: 20px 0;
	width: 100%;
	max-width: 960px;
}

.sppopups-review-notice {
	position: relative;
	width: 100%;
	max-width: 100%;
	padding: 24px 32px;
	background: linear-gradient(135deg, #f7f8f9 0%, #f0f1f3 100%);
	border: 1px solid #e5e7e9;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

.sppopups-review-notice-heading {
	margin: 0 0 8px 0;
	padding: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.4;
}

.sppopups-review-notice-subheading {
	margin: 0 0 12px 0;
	padding: 0;
	font-size: 14px;
	color: #50575e;
	line-height: 1.5;
}

.sppopups-review-notice-stars {
	margin: 0 0 16px 0;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 2px;
}

.sppopups-review-notice-actions {
	margin: 0 0 12px 0;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.sppopups-review-notice-button {
	display: inline-block;
	padding: 10px 20px;
	background: #2271b1;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sppopups-review-notice-button:hover,
.sppopups-review-notice-button:focus {
	background: #135e96;
	color: #fff;
	text-decoration: none;
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.sppopups-review-notice-button:active {
	background: #0a4b78;
}

.sppopups-review-notice-footer {
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #646970;
	line-height: 1.5;
}

.sppopups-review-notice-footer em {
	font-style: italic;
	color: #646970;
}

.sppopups-review-notice-dismiss-link {
	color: #646970;
	text-decoration: none;
	font-size: 13px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.sppopups-review-notice-dismiss-link:hover,
.sppopups-review-notice-dismiss-link:focus {
	color: #1d2327;
	text-decoration: underline;
	outline: none;
}

.sppopups-review-notice-dismiss-link:active {
	color: #0a4b78;
}

/* Gallery Block Editor Styles - Using standard TextControl, no custom styles needed */

/* Defaults Accordion Styles */
.sppopups-defaults-accordion {
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.sppopups-defaults-accordion-header {
	border-bottom: 1px solid #dcdcde;
}

.sppopups-defaults-accordion:last-of-type {
	margin-bottom: 20px;
}

.sppopups-defaults-accordion-trigger {
	width: 100%;
	padding: 16px 24px;
	background: #f6f7f7;
	border: none;
	cursor: pointer;
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	color: #1d2327;
	transition: background-color 0.15s ease, color 0.15s ease;
	position: relative;
}

.sppopups-defaults-accordion-trigger:hover {
	background: #f0f0f1;
	color: #2271b1;
}

.sppopups-defaults-accordion-trigger:focus {
	outline: none;
	box-shadow: inset 0 0 0 1px #2271b1;
}

.sppopups-defaults-accordion-trigger[aria-expanded="true"] {
	background: #f6f7f7;
	border-bottom: 1px solid #dcdcde;
}

.sppopups-defaults-accordion-title {
	flex: 1;
}

.sppopups-defaults-accordion-icon {
	width: 20px;
	height: 20px;
	position: relative;
	flex-shrink: 0;
	margin-left: 12px;
	transition: transform 0.3s ease;
}

.sppopups-defaults-accordion-icon::before,
.sppopups-defaults-accordion-icon::after {
	content: '';
	position: absolute;
	background: currentColor;
	transition: transform 0.3s ease;
}

.sppopups-defaults-accordion-icon::before {
	width: 12px;
	height: 2px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.sppopups-defaults-accordion-icon::after {
	width: 2px;
	height: 12px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.sppopups-defaults-accordion-trigger[aria-expanded="true"] .sppopups-defaults-accordion-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

.sppopups-defaults-accordion-content {
	overflow: hidden;
	transition: opacity 0.3s ease;
	opacity: 0;
	max-height: 0;
}

.sppopups-defaults-accordion-content.is-open {
	opacity: 1;
	max-height: none;
}