:root {
	--zen-primary: #6c5ce7;
	--zen-success: #00b894;
	--zen-warning: #fdcb6e;
	--zen-error: #d63031;
	--zen-info: #0984e3;
	--zen-dark: #2d3436;
	--zen-light: #f8f9fa;
	--zen-border: #dfe6e9;
	--zen-radius: 8px;
}

/* ── Wrap ──────────────────────────────────────────────────────────────────── */
.zs-seo-wrap {
	max-width: 1200px;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.zs-seo-header {
	margin-bottom: 24px;
}
.zs-seo-logo {
	display: flex;
	align-items: center;
	gap: 8px;
}
.zs-seo-logo h1 {
	margin: 0;
	font-size: 28px;
	color: var(--zen-primary);
}
.zs-seo-logo-icon {
	font-size: 32px;
}
.zs-seo-version {
	background: var(--zen-primary);
	color: #fff;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 20px;
	font-weight: 600;
}
.zs-seo-tagline {
	color: #636e72;
	font-size: 14px;
	margin: 4px 0 0;
}

/* ── Box ────────────────────────────────────────────────────────────────────── */
.zs-seo-box {
	background: #fff;
	border: 1px solid var(--zen-border);
	border-radius: var(--zen-radius);
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.zs-seo-box h2 {
	margin-top: 0;
	font-size: 18px;
	color: var(--zen-dark);
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.zs-seo-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}
.zs-seo-card {
	background: #fff;
	border: 1px solid var(--zen-border);
	border-radius: var(--zen-radius);
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.zs-seo-card-icon {
	font-size: 28px;
}
.zs-seo-card-number {
	display: block;
	font-size: 26px;
	font-weight: 700;
	color: var(--zen-primary);
	line-height: 1;
}
.zs-seo-card-label {
	display: block;
	font-size: 12px;
	color: #636e72;
	margin-top: 2px;
}

/* ── Features Grid ─────────────────────────────────────────────────────────── */
.zs-seo-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.zs-seo-feature {
	background: var(--zen-light);
	border-radius: var(--zen-radius);
	padding: 16px;
}
.zs-seo-feature .dashicons {
	font-size: 22px;
	color: var(--zen-primary);
	width: auto;
	height: auto;
}
.zs-seo-feature h4 {
	margin: 8px 0 4px;
	font-size: 14px;
}
.zs-seo-feature p {
	margin: 0;
	font-size: 12px;
	color: #636e72;
}

/* ── Row ────────────────────────────────────────────────────────────────────── */
.zs-seo-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.zs-seo-select {
	min-width: 300px;
}

/* ── Metabox ────────────────────────────────────────────────────────────────── */
.zs-seo-metabox {
	padding: 4px 0;
}
.zs-seo-section {
	margin-bottom: 20px;
}
.zs-seo-section h3 {
	font-size: 15px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--zen-border);
	padding-bottom: 6px;
}
.zs-seo-field {
	margin-bottom: 14px;
}
.zs-seo-field label {
	display: block;
	margin-bottom: 4px;
}
.zs-seo-inline {
	display: flex;
	gap: 20px;
	align-items: center;
}

.zs-seo-audit-bar {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ── Score Badge ────────────────────────────────────────────────────────────── */
.zs-seo-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 14px;
	color: #fff;
}
.zs-seo-score-high {
	background: var(--zen-success);
}
.zs-seo-score-medium {
	background: var(--zen-warning);
	color: #333;
}
.zs-seo-score-low {
	background: var(--zen-error);
}

.zs-seo-badge-301 {
	background: var(--zen-primary);
	color: #fff;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 4px;
}
.zs-seo-badge-302 {
	background: var(--zen-info);
	color: #fff;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 4px;
}

/* ── Audit Results ──────────────────────────────────────────────────────────── */
.zs-seo-audit-section {
	margin-bottom: 16px;
}
.zs-seo-audit-section h4 {
	font-size: 14px;
	margin: 0 0 8px;
	padding: 6px 12px;
	background: var(--zen-light);
	border-left: 3px solid var(--zen-primary);
	border-radius: 0 4px 4px 0;
}
.zs-seo-issue-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.zs-seo-issue-list li {
	padding: 5px 10px 5px 28px;
	font-size: 13px;
	position: relative;
	border-bottom: 1px solid #f1f1f1;
}
.zs-seo-issue-list li:before {
	position: absolute;
	left: 8px;
}
.zs-seo-issue-error {
	color: var(--zen-error);
}
.zs-seo-issue-error:before {
	content: '✕';
}
.zs-seo-issue-warning {
	color: #b7791f;
}
.zs-seo-issue-warning:before {
	content: '⚠';
}
.zs-seo-issue-info {
	color: var(--zen-info);
}
.zs-seo-issue-info:before {
	content: 'ℹ';
}
.zs-seo-issue-good {
	color: var(--zen-success);
}
.zs-seo-issue-good:before {
	content: '✓';
}

/* ── Scan All Table ─────────────────────────────────────────────────────────── */
.zs-seo-score-cell {
	font-weight: 700;
	font-size: 15px;
}
.zs-seo-score-high-text {
	color: var(--zen-success);
}
.zs-seo-score-medium-text {
	color: #b7791f;
}
.zs-seo-score-low-text {
	color: var(--zen-error);
}

/* Score progress bar */
.zs-seo-score-bar {
	height: 5px;
	background: #eee;
	border-radius: 3px;
	margin-top: 4px;
	overflow: hidden;
}
.zs-seo-score-fill {
	height: 100%;
	border-radius: 3px;
	transition: width 0.4s;
}
.zs-seo-fill-high {
	background: var(--zen-success);
}
.zs-seo-fill-medium {
	background: var(--zen-warning);
}
.zs-seo-fill-low {
	background: var(--zen-error);
}

/* Issue count badge */
.zs-seo-issue-count {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 12px;
	background: #f1f1f1;
	color: #555;
}
.zs-seo-count-high {
	background: #ffeaea;
	color: var(--zen-error);
}
.zs-seo-count-med {
	background: #fff3cd;
	color: #856404;
}

/* Detail expandable row */
.zs-seo-detail-row td {
	padding: 0 !important;
	border-top: none !important;
}
.zs-seo-detail-cell {
	background: #fafafa !important;
}
.zs-seo-detail-inner {
	padding: 16px 20px;
	border-left: 4px solid var(--zen-primary);
}

#zs-seo-all-table tbody tr:not(.zs-seo-detail-row):hover {
	background: #f9f6ff;
}

/* ── FAQ rows ───────────────────────────────────────────────────────────────── */
.zs-seo-faq-row {
	background: var(--zen-light);
	padding: 10px;
	border-radius: 6px;
	margin-bottom: 10px;
}

/* ── Spinner ────────────────────────────────────────────────────────────────── */
.zs-seo-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 3px solid #ddd;
	border-top-color: var(--zen-primary);
	border-radius: 50%;
	animation: zs-seo-spin 0.7s linear infinite;
	vertical-align: middle;
	margin-right: 6px;
}
@keyframes zs-seo-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ── Image Manager ──────────────────────────────────────────────────────────── */
.zs-seo-bulk-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 4px 0;
}
.zs-seo-check-all-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.zs-seo-bulk-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.zs-seo-selected-label {
	font-size: 13px;
	color: #636e72;
	font-weight: 600;
}

/* Image Grid */
.zs-seo-image-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
	margin-top: 12px;
}

.zs-seo-img-card {
	background: #fff;
	border: 2px solid var(--zen-border);
	border-radius: var(--zen-radius);
	padding: 12px;
	position: relative;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.zs-seo-img-card:hover {
	border-color: var(--zen-primary);
	box-shadow: 0 2px 12px rgba(108, 92, 231, 0.12);
}
.zs-seo-img-card.zs-seo-selected {
	border-color: var(--zen-primary);
	background: #f9f6ff;
}
.zs-seo-img-card.zs-seo-img-done {
	border-color: #b2f0e0;
	background: #f0fff8;
}
.zs-seo-img-card.zs-seo-saved {
	border-color: var(--zen-success);
	animation: zs-seo-pop 0.3s ease;
}

@keyframes zs-seo-pop {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.03);
	}
	100% {
		transform: scale(1);
	}
}

/* Checkbox */
.zs-seo-img-check {
	position: absolute;
	top: 8px;
	left: 8px;
}
.zs-seo-img-check input {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* Preview */
.zs-seo-img-preview {
	width: 100%;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 8px;
	position: relative;
}
.zs-seo-img-preview img {
	max-width: 100%;
	max-height: 110px;
	object-fit: cover;
	width: 100%;
}
.zs-seo-img-placeholder {
	font-size: 11px;
	color: #aaa;
	background: #f0f0f0;
	padding: 6px 10px;
	border-radius: 4px;
}
.zs-seo-img-done-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	background: var(--zen-success);
	color: #fff;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}

/* Filename */
.zs-seo-img-filename {
	font-size: 11px;
	color: #636e72;
	margin-bottom: 6px;
	word-break: break-all;
}

/* Alt input */
.zs-seo-alt-input {
	font-size: 12px !important;
	padding: 5px 8px !important;
	border-radius: 4px !important;
	margin-bottom: 8px;
	border-color: #ddd !important;
}
.zs-seo-alt-input:focus {
	border-color: var(--zen-primary) !important;
	box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.15) !important;
}
.zs-seo-alt-input.zs-seo-alt-filled {
	border-color: var(--zen-success) !important;
}

/* Alt current (done cards) */
.zs-seo-img-alt-current {
	font-size: 11px;
	color: #2d3436;
	background: #e8f8f2;
	padding: 4px 7px;
	border-radius: 4px;
	margin-bottom: 8px;
	line-height: 1.4;
}

/* Action buttons */
.zs-seo-img-actions {
	display: flex;
	gap: 5px;
}
.zs-seo-img-actions .button {
	flex: 1;
	text-align: center;
	font-size: 11px !important;
	padding: 3px 0 !important;
}

/* Status */
.zs-seo-img-status {
	font-size: 11px;
	margin-top: 5px;
	min-height: 16px;
	text-align: center;
}
.zs-seo-img-status.success {
	color: var(--zen-success);
}
.zs-seo-img-status.error {
	color: var(--zen-error);
}

/* Done grid — smaller */
.zs-seo-image-grid-done {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}
.zs-seo-img-done .zs-seo-img-preview {
	height: 80px;
}

/* ── Modals ─────────────────────────────────────────────────────────────────── */
.zs-seo-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 999999;
	align-items: center;
	justify-content: center;
}
.zs-seo-modal-box {
	background: #fff;
	border-radius: 12px;
	padding: 36px 32px 28px;
	max-width: 480px;
	width: 90%;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	animation: zs-seo-modal-in 0.2s ease;
	text-align: center;
}
@keyframes zs-seo-modal-in {
	from {
		transform: scale(0.92);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}
.zs-seo-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: #aaa;
	line-height: 1;
	padding: 4px 8px;
}
.zs-seo-modal-close:hover {
	color: #333;
}
.zs-seo-modal-icon {
	font-size: 42px;
	margin-bottom: 8px;
}
.zs-seo-modal-title {
	font-size: 22px;
	margin: 0 0 10px;
	color: var(--zen-primary);
}
.zs-seo-modal-issue {
	font-size: 14px;
	color: #d63031;
	background: #ffeaea;
	border-radius: 6px;
	padding: 8px 12px;
	margin: 0 0 10px;
	text-align: left;
}
.zs-seo-modal-tip {
	font-size: 13px;
	color: #636e72;
	margin: 0 0 16px;
}

.zs-seo-modal-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-bottom: 20px;
	text-align: left;
}
.zs-seo-modal-feat {
	font-size: 13px;
	color: #2d3436;
	background: #f8f9fa;
	border-radius: 5px;
	padding: 6px 10px;
}
.zs-seo-modal-cta {
	font-size: 16px !important;
	padding: 10px 28px !important;
	background: var(--zen-primary) !important;
	border-color: var(--zen-primary) !important;
	height: auto !important;
}
.zs-seo-modal-note {
	font-size: 11px;
	color: #aaa;
	margin-top: 10px;
}

/* Edit alt modal */
.zs-seo-edit-modal-box {
	text-align: left;
}
.zs-seo-edit-modal-box h3 {
	margin-top: 0;
}
.zs-seo-edit-modal-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

/* ── Fix Now buttons in audit results ───────────────────────────────────────── */
.zs-seo-issue-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex-wrap: wrap;
}
.zs-seo-issue-text {
	flex: 1;
	min-width: 0;
}
.zs-seo-fix-pro-btn {
	flex-shrink: 0;
	background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	font-size: 11px !important;
	padding: 3px 10px !important;
	cursor: pointer;
	white-space: nowrap;
	height: auto !important;
	line-height: 1.6 !important;
}
.zs-seo-fix-pro-btn:hover {
	opacity: 0.88;
}
.zs-seo-fix-free-btn {
	flex-shrink: 0;
	background: var(--zen-success) !important;
	color: #fff !important;
	border-color: var(--zen-success) !important;
	font-size: 11px !important;
	padding: 3px 10px !important;
	white-space: nowrap;
	text-decoration: none;
	border-radius: 4px;
	display: inline-block;
	line-height: 1.6;
}
.zs-seo-fix-tip-btn {
	flex-shrink: 0;
	background: var(--zen-info) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	font-size: 11px !important;
	padding: 3px 10px !important;
	cursor: pointer;
	height: auto !important;
	line-height: 1.6 !important;
}
.zs-seo-fix-tip-text {
	width: 100%;
	font-size: 12px;
	background: #f0f8ff;
	border-left: 3px solid var(--zen-info);
	padding: 6px 10px;
	border-radius: 0 4px 4px 0;
	margin-top: 4px;
	color: #2d3436;
}
.zs-seo-audit-score-row {
	margin-bottom: 16px;
}

/* ── Pricing Page ───────────────────────────────────────────────────────────── */
.zs-seo-pricing-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	max-width: 860px;
	margin-bottom: 24px;
}
.zs-seo-pricing-card {
	background: #fff;
	border: 2px solid var(--zen-border);
	border-radius: 12px;
	padding: 28px 24px;
	position: relative;
	text-align: center;
}
.zs-seo-pricing-card--pro {
	border-color: var(--zen-primary);
	box-shadow: 0 4px 24px rgba(108, 92, 231, 0.15);
}
.zs-seo-pricing-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.zs-seo-badge-free {
	background: #f0f0f0;
	color: #636e72;
}
.zs-seo-badge-pro {
	background: var(--zen-primary);
	color: #fff;
}

.zs-seo-pricing-card h2 {
	font-size: 28px;
	margin: 0 0 8px;
}
.zs-seo-pricing-price {
	font-size: 48px;
	font-weight: 800;
	color: var(--zen-primary);
	line-height: 1;
	margin-bottom: 4px;
}
.zs-seo-pricing-price span {
	font-size: 16px;
	font-weight: 400;
	color: #636e72;
}
.zs-seo-pricing-sub {
	font-size: 12px;
	color: #636e72;
	margin-bottom: 16px;
}

.zs-seo-pricing-features {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	text-align: left;
}
.zs-seo-pricing-features li {
	padding: 5px 0;
	font-size: 13px;
	border-bottom: 1px solid #f8f9fa;
	color: #2d3436;
}
.zs-seo-pricing-features li.no {
	color: #b2bec3;
}
.zs-seo-pricing-features li.pro {
	color: var(--zen-primary);
	font-weight: 600;
}

.zs-seo-pricing-btn-pro {
	width: 100%;
	font-size: 15px !important;
	padding: 12px !important;
	height: auto !important;
	background: var(--zen-primary) !important;
	border-color: var(--zen-primary) !important;
	border-radius: 8px !important;
	margin-bottom: 10px;
}
.zs-seo-pricing-btn-pro:hover {
	background: #5849c4 !important;
}
.zs-seo-pricing-btn-free {
	width: 100%;
	font-size: 14px !important;
	padding: 10px !important;
	height: auto !important;
	border-radius: 8px !important;
}
.zs-seo-pricing-guarantee {
	font-size: 11px;
	color: #aaa;
	margin: 0;
}

/* Compare table */
.zs-seo-compare-table th:last-child {
	color: var(--zen-primary);
}

/* FAQ static */
.zs-seo-faq-static {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.zs-seo-faq-item {
	background: var(--zen-light);
	border-radius: var(--zen-radius);
	padding: 16px;
}
.zs-seo-faq-item h4 {
	margin: 0 0 6px;
	font-size: 14px;
}
.zs-seo-faq-item p {
	margin: 0;
	font-size: 13px;
	color: #636e72;
}

@media (max-width: 782px) {
	.zs-seo-pricing-grid {
		grid-template-columns: 1fr;
	}
	.zs-seo-faq-static {
		grid-template-columns: 1fr;
	}
}

/* Hide Freemius default pricing block at the bottom of the page */
#fs_pricing {
	display: none !important;
}

/* ── Image Manager Tabs ─────────────────────────────────────────────────────── */
.zs-seo-tab-nav {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--zen-border);
	padding-bottom: 0;
}
.zs-seo-tab-btn {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #636e72;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: -2px;
	border-radius: 6px 6px 0 0;
	transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.zs-seo-tab-btn:hover {
	color: var(--zen-primary);
	background: #f9f6ff;
}
.zs-seo-tab-btn.active {
	color: var(--zen-primary);
	border-bottom-color: var(--zen-primary);
	background: #f9f6ff;
}
.zs-seo-tab-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.zs-seo-tab-badge--warn {
	background: #ffeaea;
	color: var(--zen-error);
}
.zs-seo-tab-badge--pro {
	background: linear-gradient(135deg, #6c5ce7, #a29bfe);
	color: #fff;
	font-size: 10px;
	padding: 0 7px;
}

/* ── Image Optimizer Controls Bar ────────────────────────────────────────────── */
.zs-seo-opt-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.zs-seo-opt-controls-left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.zs-seo-opt-controls-right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* ── Optimizer Grid ──────────────────────────────────────────────────────────── */
.zs-seo-opt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
	margin-top: 4px;
}
.zs-seo-opt-card {
	background: #fff;
	border: 2px solid var(--zen-border);
	border-radius: var(--zen-radius);
	padding: 0;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
	position: relative;
}
.zs-seo-opt-card:hover {
	border-color: var(--zen-primary);
	box-shadow: 0 4px 16px rgba(108, 92, 231, 0.12);
}
.zs-seo-opt-card.zs-seo-selected {
	border-color: var(--zen-primary);
	background: #f9f6ff;
}
.zs-seo-opt-card.status-optimized {
	border-color: #b2f0e0;
}
.zs-seo-opt-card.status-ok {
	border-color: var(--zen-border);
	opacity: 0.85;
}

/* Card checkbox */
.zs-seo-opt-check {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
}
.zs-seo-opt-check input {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* Card preview area */
.zs-seo-opt-preview {
	width: 100%;
	height: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	overflow: hidden;
	position: relative;
}
.zs-seo-opt-preview img {
	max-width: 100%;
	max-height: 130px;
	object-fit: cover;
	width: 100%;
}

/* Status overlay badge on image */
.zs-seo-opt-status-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	padding: 3px 8px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.zs-seo-opt-status-badge.needs-opt {
	background: #ffeaea;
	color: #c0392b;
}
.zs-seo-opt-status-badge.optimized {
	background: #d4f5e9;
	color: #00695c;
}
.zs-seo-opt-status-badge.ok {
	background: #f0f0f0;
	color: #636e72;
}

/* Card body */
.zs-seo-opt-card-body {
	padding: 12px;
}
.zs-seo-opt-filename {
	font-size: 11px;
	color: #636e72;
	margin-bottom: 8px;
	word-break: break-all;
	line-height: 1.3;
}

/* Size info row */
.zs-seo-opt-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 6px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.zs-seo-opt-size {
	font-size: 12px;
	font-weight: 700;
	color: var(--zen-dark);
}
.zs-seo-opt-dims {
	font-size: 11px;
	color: #636e72;
}

/* Savings badge */
.zs-seo-savings-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: linear-gradient(135deg, #00b894, #00cec9);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 12px;
	white-space: nowrap;
}
.zs-seo-savings-badge.small {
	background: #f0f0f0;
	color: #636e72;
}

/* Size after optimization */
.zs-seo-opt-result {
	font-size: 11px;
	margin-bottom: 8px;
	padding: 6px 10px;
	background: #f0fdf4;
	border-left: 3px solid var(--zen-success);
	border-radius: 0 4px 4px 0;
	color: #374151;
	line-height: 1.5;
}
.zs-seo-opt-result.error {
	background: #fff5f5;
	border-left-color: var(--zen-error);
}

/* Card actions */
.zs-seo-opt-actions {
	display: flex;
	gap: 6px;
}
.zs-seo-opt-actions .button {
	flex: 1;
	text-align: center;
	font-size: 11px !important;
	padding: 4px 6px !important;
	height: auto !important;
	line-height: 1.5 !important;
	border-radius: 4px !important;
}
.zs-seo-opt-btn {
	background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
	color: #fff !important;
	border: none !important;
	font-weight: 600 !important;
}
.zs-seo-opt-btn:hover {
	opacity: 0.9;
}
.zs-seo-opt-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.zs-seo-revert-btn {
	color: #dc2626 !important;
	border-color: #fca5a5 !important;
	background: #fff5f5 !important;
}

@media (max-width: 782px) {
	.zs-seo-opt-controls {
		flex-direction: column;
		align-items: flex-start;
	}
	.zs-seo-tab-btn {
		font-size: 13px;
		padding: 8px 14px;
	}
}

