/**
 * Eryndo admin welcome notice (ZoloBlocks recommendation).
 */

.eryndo-zoloblocks-notice.notice {
	position: relative;
	margin: 12px 0 16px;
	padding: 0;
	border: 1px solid #c3c4c7;
	border-left: 4px solid #c2410c;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.eryndo-zoloblocks-notice .notice-dismiss {
	top: 12px;
	right: 12px;
}

.eryndo-zoloblocks-notice .notice-dismiss::before {
	color: #646970;
}

.eryndo-notice-container {
	padding: 20px 48px 20px 20px;
}

.eryndo-notice-header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 16px;
}

.eryndo-notice-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #c2410c;
	color: #fff;
}

.eryndo-notice-icon .dashicons {
	width: 22px;
	height: 22px;
	font-size: 22px;
	line-height: 22px;
}

.eryndo-notice-content {
	flex: 1;
	min-width: 0;
}

.eryndo-notice-title {
	margin: 0 0 6px;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
}

.eryndo-notice-description {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #50575e;
}

.eryndo-notice-features {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin-bottom: 16px;
	padding: 12px 14px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
}

.eryndo-feature-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #1d2327;
}

.eryndo-feature-item .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 18px;
	color: #c2410c;
}

.eryndo-notice-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.eryndo-notice-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	margin: 0;
	padding: 0 14px;
	line-height: 1;
}

.eryndo-notice-actions .button .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
	margin: 0;
}

.eryndo-notice-actions .button-primary {
	background: #c2410c;
	border-color: #a3380a;
	box-shadow: none;
}

.eryndo-notice-actions .button-primary:hover,
.eryndo-notice-actions .button-primary:focus {
	background: #a3380a;
	border-color: #8a2f08;
	color: #fff;
}

.eryndo-notice-actions .button-primary:focus {
	box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c2410c;
}

.eryndo-notice-actions .button-secondary {
	color: #1d2327;
	border-color: #8c8f94;
	background: #fff;
}

.eryndo-notice-actions .button-secondary:hover,
.eryndo-notice-actions .button-secondary:focus {
	color: #c2410c;
	border-color: #c2410c;
}

.eryndo-notice-details {
	display: none;
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
}

.eryndo-notice-details.is-open {
	display: block;
}

.eryndo-details-content h4 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.eryndo-benefits-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eryndo-benefits-list li {
	padding: 8px 0;
	border-bottom: 1px solid #dcdcde;
	font-size: 13px;
	line-height: 1.5;
	color: #50575e;
}

.eryndo-benefits-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.eryndo-benefits-list strong {
	color: #1d2327;
}

.eryndo-notice-toggle .dashicons {
	transition: transform 0.2s ease;
}

.eryndo-notice-toggle.is-open .dashicons-arrow-down-alt2 {
	transform: rotate(180deg);
}

@media screen and (max-width: 782px) {
	.eryndo-notice-container {
		padding: 16px 40px 16px 16px;
	}

	.eryndo-notice-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.eryndo-notice-features {
		flex-direction: column;
		gap: 10px;
	}

	.eryndo-notice-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.eryndo-notice-actions .button {
		width: 100%;
		justify-content: center;
	}
}
