.available-structure-permalinkslug {
	padding-top: 8px;
}

.available-structure-permalinkslug ul {
	display: flex;
	flex-wrap: wrap;
	margin: 8px 0 0;
}

.available-structure-permalinkslug li {
	margin-right: 8px;
}

.esfw-image-choose, .esfw-settings-image-choose {
	img {
		width: 240px;
	}
	div:has(.components-button) {
		display: inline;
	}
}

.easy-settings-for-wordpress label { cursor: pointer }

.esfw-settings-overlay {
	min-width: 400px;
	padding: 2rem 2rem;
	transition: opacity 0.5s;
	opacity: 1;
	border: 1px solid #fff;
	background-color: #fff;
	border-radius: 8px;
}

.esfw-settings-overlay > * {
	margin: 0 0 1em;
}

.esfw-settings-overlay > *:last-child {
	margin-bottom: 0;
}

.esfw-settings-overlay label {
	cursor: pointer;
	display: block;
	font-weight: bold;
	margin-bottom: .4em;
}

.wp-core-ui .esfw-settings-post-type-listing .button {
	display: block;
	margin-bottom: .4em;
}

@media (min-width: 960px) {
	.esfw-settings-overlay {
		max-height: 70%;
	}
}

.esfw-settings-overlay::backdrop {
	background: #00000059;
	transition: opacity 0.5s;
	opacity: 1;
}

.easy-settings-for-wordpress tr.hide { display: none }

.easy-settings-for-wordpress tr.show_with_animation {
	animation: easy-settings-animation 1s ease-in forwards;
}

.easy-settings-for-wordpress .form-table td p { margin: 2px 0 5px }

.easy-settings-for-wordpress .form-table td label + p { text-indent: 24px }

@keyframes easy-settings-animation {
	0% {
		opacity: 0;
		background-color: #fca15b00;
	}
	25% {
		opacity: .25;
		background-color: #fca15b20;
	}
	50% {
		opacity: .5;
		background-color: #fca15b40;
	}
	75% {
		opacity: .75;
		background-color: #fca15b60;
	}
	100% {
		opacity: 1;
		background-color: transparent;
	}
}

.esfw-save-button { margin-top: 1em }

.esfw-settings-snackbars {
	position: fixed !important;
	top: auto !important;
	bottom: 24px !important;
	left: auto !important;
	right: 24px !important;
	width: max-content;
	max-width: calc(100vw - 48px);
	z-index: 100000;
}

.esfw-settings-flyout {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 100000;
	max-width: calc(100vw - 48px);
	padding: 10px 16px;
	border-radius: 4px;
	background: #1e1e1e;
	color: #fff;
	font-size: 13px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}

.esfw-settings-flyout.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.esfw-settings-flyout--success {
	border-left: 4px solid #00a32a;
}

.esfw-settings-flyout--error {
	border-left: 4px solid #d63638;
}

#easy-settings-for-wordpress-settings .esfw-tab-title::after, .easy-settings-for-wordpress .nav-tab[target='_blank']:after {
	content: " ↗";
	font-size: 0.85em;
	opacity: 0.7;
}
