/**
 * Freemius admin-notice styles — scoped to our plugin slug.
 *
 * Targets .fs-slug-storesheet so styles never bleed
 * into other plugins' Freemius notices.
 */

/* ── Reset WordPress default notice chrome ───────────────────────────── */

.fs-notice.fs-slug-storesheet {
	position: relative;
	padding: 0;
	margin: 5px 20px 5px 2px;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #1d2327;
	background: #fff;
	border: 1px solid #dcdcde;
	border-left: 4px solid #dcdcde;
	border-radius: 4px;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / .07);
}

/* ── Colour variants via left border ─────────────────────────────────── */

.fs-notice.fs-slug-storesheet.success {
	border-left-color: #16a34a;
}

.fs-notice.fs-slug-storesheet.error {
	border-left-color: #d63638;
}

.fs-notice.fs-slug-storesheet.notice-warning {
	border-left-color: #dba617;
}

.fs-notice.fs-slug-storesheet.promotion {
	border-left-color: #16a34a;
}

/* ── Plugin title label ──────────────────────────────────────────────── */

.fs-notice.fs-slug-storesheet .fs-plugin-title {
	display: block;
	padding: 7px 48px 7px 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #50575e;
	text-transform: uppercase;
	background: #f6f7f7;
	border-bottom: 1px solid #f0f0f1;
}

.fs-notice.fs-slug-storesheet:not(.fs-has-title) .fs-plugin-title {
	display: none;
}

/* ── Dismiss button ──────────────────────────────────────────────────── */

.fs-notice.fs-slug-storesheet .fs-close {
	position: absolute;
	top: 6px;
	right: 8px;
	display: flex;
	gap: 2px;
	align-items: center;
	padding: 3px 6px;
	font-size: 11px;
	font-weight: 500;
	color: #8c8f94;
	cursor: pointer;
	background: transparent;
	border: none;
	border-radius: 3px;
	transition: color 120ms, background 120ms;
}

.fs-notice.fs-slug-storesheet .fs-close:hover {
	color: #1d2327;
	background: #f0f0f1;
}

.fs-notice.fs-slug-storesheet .fs-close .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}

.fs-notice.fs-slug-storesheet .fs-close span {
	line-height: 1;
}

/* ── Notice body ─────────────────────────────────────────────────────── */

.fs-notice.fs-slug-storesheet .fs-notice-body {
	padding: 11px 48px 11px 14px;
	font-size: 13px;
	line-height: 1.6;
	color: #1d2327;
}

.fs-notice.fs-slug-storesheet .fs-notice-body strong {
	font-weight: 600;
	color: #16a34a;
}

.fs-notice.fs-slug-storesheet.error .fs-notice-body strong {
	color: #d63638;
}

.fs-notice.fs-slug-storesheet.notice-warning .fs-notice-body strong {
	color: #996800;
}

.fs-notice.fs-slug-storesheet .fs-notice-body a {
	color: #16a34a;
	text-decoration: underline;
}

.fs-notice.fs-slug-storesheet .fs-notice-body a:hover {
	color: #15803d;
}

.fs-notice.fs-slug-storesheet .fs-notice-body ol,
.fs-notice.fs-slug-storesheet .fs-notice-body ul {
	margin: 6px 0 0 18px;
}

.fs-notice.fs-slug-storesheet .fs-notice-body ol li,
.fs-notice.fs-slug-storesheet .fs-notice-body ul li {
	margin-bottom: 3px;
}

/* ── No-title variant: shift dismiss button to body row ──────────────── */

.fs-notice.fs-slug-storesheet:not(.fs-has-title) .fs-close {
	top: 50%;
	transform: translateY(-50%);
}
