/**
 * Synoveo Dashboard Styles
 * Matching Next.js Dashboard Design System
 *
 * @package Synoveo
 * @since 2.0.7
 */

/* === Design Tokens (from Next.js globals.css) === */
:root {
	/* Base colors */
	--background: 255 255 255;
	--foreground: 25 25 25;
	--card: 250 250 250;
	--card-foreground: 25 25 25;
	--popover: 255 255 255;
	--popover-foreground: 25 25 25;

	/* Primary (indigo) */
	--primary: 79 70 229;
	--primary-foreground: 255 255 255;

	/* Secondary and muted */
	--secondary: 229 229 229;
	--secondary-foreground: 25 25 25;
	--muted: 229 229 229;
	--muted-foreground: 115 115 115;
	--accent: 229 229 229;
	--accent-foreground: 25 25 25;

	/* Status colors */
	--success: 34 148 110;
	--success-foreground: 255 255 255;
	--warning: 202 138 4;
	--warning-foreground: 255 255 255;
	--destructive: 220 38 38;
	--destructive-foreground: 255 255 255;
	--info: 59 130 246;
	--info-foreground: 255 255 255;

	/* Borders and inputs */
	--border: 229 229 229;
	--input: 229 229 229;
	--ring: 79 70 229;

	/* Radius */
	--radius: 0.5rem;

	/* Typography */
	--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* === Lucide Icons === */
.synoveo-lucide-icon,
[data-lucide] {
	display: inline-flex;
	vertical-align: middle;
	flex-shrink: 0;
}

.synoveo-plugin-icon [data-lucide] {
	color: rgb(var(--muted-foreground));
}

/* Button icons */
button [data-lucide],
.button [data-lucide] {
	margin-right: 0.375rem;
}

/* Status banner icon */
.synoveo-status-banner-icon [data-lucide] {
	color: currentColor;
}

/* === Reset & Base === */
.synoveo-dashboard-wrapper {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.5rem;
	background-color: rgb(var(--background));
	font-family: var(--font-sans);
	color: rgb(var(--foreground));
	line-height: 1.5;
}

.synoveo-dashboard-wrapper * {
	box-sizing: border-box;
}

/* === Hero Banner === */
.synoveo-hero {
	background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(99 102 241) 100%);
	border-radius: var(--radius);
	padding: 2rem;
	margin-bottom: 1.5rem;
	color: rgb(var(--primary-foreground));
}

.synoveo-hero-content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
}

.synoveo-hero-main {
	flex: 1;
}

.synoveo-hero-logo {
	height: 28px;
	width: auto;
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
}

.synoveo-hero-title {
	font-size: 1.5rem;
	font-weight: 500;
	margin: 0 0 0.5rem;
	letter-spacing: 0.05em;
	word-spacing: 0.1em;
	color: rgb(var(--primary-foreground));
	font-family: system-ui, sans-serif;
}

.synoveo-hero-description {
	font-size: 0.9375rem;
	margin: 0;
	opacity: 0.9;
	max-width: 500px;
	line-height: 1.5;
}

.synoveo-hero-stats {
	display: flex;
	gap: 1.5rem;
}

.synoveo-hero-stat {
	text-align: center;
	padding: 0.75rem 1rem;
	background-color: rgb(255 255 255 / 0.15);
	border-radius: calc(var(--radius) - 2px);
	min-width: 100px;
}

.synoveo-hero-stat-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.synoveo-hero-stat-label {
	display: block;
	font-size: 0.6875rem;
	opacity: 0.85;
	margin-top: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

@media (max-width: 768px) {
	.synoveo-hero-content {
		flex-direction: column;
	}

	.synoveo-hero-stats {
		width: 100%;
		justify-content: space-between;
	}

	.synoveo-hero-stat {
		flex: 1;
		min-width: 0;
	}
}

/* === Page Header === */
.synoveo-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgb(var(--border));
}

.synoveo-page-header-content {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.synoveo-logo {
	height: 32px;
	width: auto;
}

.synoveo-page-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: rgb(var(--foreground));
	margin: 0;
	letter-spacing: -0.025em;
}

.synoveo-page-description {
	font-size: 0.875rem;
	color: rgb(var(--muted-foreground));
	margin: 0.25rem 0 0;
}

/* === Cards === */
.synoveo-card {
	background-color: rgb(var(--card));
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	margin-bottom: 1.5rem;
}

.synoveo-card-header {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	padding: 1.5rem;
	border-bottom: 1px solid rgb(var(--border));
}

.synoveo-card-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.synoveo-card-title {
	font-size: 1rem;
	font-weight: 600;
	color: rgb(var(--card-foreground));
	margin: 0;
	letter-spacing: -0.01em;
}

.synoveo-card-description {
	font-size: 0.875rem;
	color: rgb(var(--muted-foreground));
	margin: 0;
}

.synoveo-card-content {
	padding: 1.5rem;
}

.synoveo-card-footer {
	display: flex;
	align-items: center;
	padding: 1.5rem;
	padding-top: 0;
}

/* === Badges === */
.synoveo-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	border: 1px solid transparent;
	padding: 0.125rem 0.625rem;
	font-size: 0.75rem;
	font-weight: 600;
	transition: colors 150ms ease;
}

.synoveo-badge-default {
	background-color: rgb(var(--primary));
	color: rgb(var(--primary-foreground));
}

.synoveo-badge-secondary {
	background-color: rgb(var(--secondary));
	color: rgb(var(--secondary-foreground));
}

.synoveo-badge-success {
	background-color: rgb(var(--success) / 0.1);
	color: rgb(var(--success));
	border-color: rgb(var(--success) / 0.2);
}

.synoveo-badge-warning {
	background-color: rgb(var(--warning) / 0.1);
	color: rgb(var(--warning));
	border-color: rgb(var(--warning) / 0.2);
}

.synoveo-badge-destructive {
	background-color: rgb(var(--destructive) / 0.1);
	color: rgb(var(--destructive));
	border-color: rgb(var(--destructive) / 0.2);
}

.synoveo-badge-info {
	background-color: rgb(var(--info) / 0.1);
	color: rgb(var(--info));
	border-color: rgb(var(--info) / 0.2);
}

.synoveo-badge-muted {
	background-color: rgb(var(--muted));
	color: rgb(var(--muted-foreground));
	border-color: rgb(var(--border));
}

.synoveo-badge-primary {
	background-color: rgb(var(--primary) / 0.1);
	color: rgb(var(--primary));
	border-color: rgb(var(--primary) / 0.2);
}

/* === Buttons === */
.synoveo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: calc(var(--radius) - 2px);
	font-size: 0.875rem;
	font-weight: 500;
	height: 2.25rem;
	padding: 0 1rem;
	transition: all 150ms ease;
	cursor: pointer;
	text-decoration: none;
	border: none;
}

.synoveo-btn:focus-visible {
	outline: 2px solid rgb(var(--ring));
	outline-offset: 2px;
}

.synoveo-btn-default {
	background-color: rgb(var(--primary));
	color: rgb(var(--primary-foreground));
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.synoveo-btn-default:hover {
	background-color: rgb(var(--primary) / 0.9);
}

.synoveo-btn-secondary {
	background-color: rgb(var(--secondary));
	color: rgb(var(--secondary-foreground));
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.synoveo-btn-secondary:hover {
	background-color: rgb(var(--secondary) / 0.8);
}

.synoveo-btn-outline {
	border: 1px solid rgb(var(--input));
	background-color: rgb(var(--background));
	color: rgb(var(--foreground));
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.synoveo-btn-outline:hover {
	background-color: rgb(var(--accent));
	color: rgb(var(--accent-foreground));
}

.synoveo-btn-ghost {
	background-color: transparent;
	color: rgb(var(--foreground));
}

.synoveo-btn-ghost:hover {
	background-color: rgb(var(--accent));
	color: rgb(var(--accent-foreground));
}

.synoveo-btn-sm {
	height: 2rem;
	padding: 0 0.75rem;
	font-size: 0.75rem;
	border-radius: calc(var(--radius) - 2px);
}

.synoveo-btn-lg {
	height: 2.5rem;
	padding: 0 2rem;
	border-radius: calc(var(--radius) - 2px);
}

.synoveo-btn-icon {
	height: 2.25rem;
	width: 2.25rem;
	padding: 0;
}

.synoveo-btn-success {
	background-color: #10b981;
	color: #fff;
	border-color: #10b981;
}

.synoveo-btn-success:hover {
	background-color: #059669;
	border-color: #059669;
}

/* === Form Elements === */
.synoveo-form-group {
	margin-bottom: 1rem;
}

.synoveo-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: rgb(var(--foreground));
	margin-bottom: 0.5rem;
}

.synoveo-input {
	display: flex;
	height: 2.5rem;
	width: 100%;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid rgb(var(--input));
	background-color: rgb(var(--background));
	padding: 0 0.75rem;
	font-size: 0.875rem;
	color: rgb(var(--foreground));
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.synoveo-input::placeholder {
	color: rgb(var(--muted-foreground));
}

.synoveo-input:focus {
	outline: none;
	border-color: rgb(var(--ring));
	box-shadow: 0 0 0 2px rgb(var(--ring) / 0.2);
}

.synoveo-input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* === Status Banner === */
.synoveo-status-banner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: var(--radius);
	border: 1px solid;
	margin-bottom: 1.5rem;
}

.synoveo-status-banner-success {
	background-color: rgb(var(--success) / 0.1);
	border-color: rgb(var(--success) / 0.2);
}

.synoveo-status-banner-warning {
	background-color: rgb(var(--warning) / 0.1);
	border-color: rgb(var(--warning) / 0.2);
}

.synoveo-status-banner-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	flex-shrink: 0;
}

.synoveo-status-banner-success .synoveo-status-banner-icon {
	background-color: rgb(var(--success));
	color: rgb(var(--success-foreground));
}

.synoveo-status-banner-info {
	flex: 1;
}

.synoveo-status-banner-title {
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 0.125rem;
}

.synoveo-status-banner-success .synoveo-status-banner-title {
	color: rgb(22 101 52);
}

.synoveo-status-banner-text {
	font-size: 0.75rem;
	margin: 0;
}

.synoveo-status-banner-success .synoveo-status-banner-text {
	color: rgb(22 101 52);
}

/* === Plan Badge === */
.synoveo-plan-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background-color: rgb(var(--primary) / 0.2);
	color: rgb(var(--primary));
	border: 1px solid rgb(var(--primary) / 0.3);
}

/* === Grid Layouts === */
.synoveo-grid {
	display: grid;
	gap: 1.5rem;
}

.synoveo-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.synoveo-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.synoveo-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
	.synoveo-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.synoveo-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.synoveo-grid-4,
	.synoveo-grid-3,
	.synoveo-grid-2 {
		grid-template-columns: 1fr;
	}
}

/* === Plugin Cards === */
.synoveo-plugin-card {
	background-color: rgb(var(--background));
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
	padding: 1rem;
	transition: box-shadow 150ms ease;
}

.synoveo-plugin-card:hover {
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.synoveo-plugin-header {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.synoveo-plugin-icon {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.synoveo-plugin-logo {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.synoveo-plugin-info {
	flex: 1;
	min-width: 0;
}

.synoveo-plugin-name {
	font-size: 0.875rem;
	font-weight: 600;
	color: rgb(var(--foreground));
	margin: 0 0 0.25rem;
}

.synoveo-plugin-description {
	font-size: 0.75rem;
	color: rgb(var(--muted-foreground));
	margin: 0;
	line-height: 1.4;
}

.synoveo-plugin-footer {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

/* === Collapsible Sections === */
.synoveo-collapsible-header {
	cursor: pointer;
	user-select: none;
}

.synoveo-collapsible-content {
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.2s ease-out;
}

/* Default expanded state - no max-height restriction */
.synoveo-card-content.synoveo-collapsible-content {
	padding: 1.5rem;
	max-height: none;
	opacity: 1;
}

/* Collapsed state */
.synoveo-card-content.synoveo-collapsible-content.is-collapsed {
	max-height: 0 !important;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
	overflow: hidden;
}

.synoveo-toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: calc(var(--radius) - 2px);
	background-color: rgb(var(--muted));
	color: rgb(var(--muted-foreground));
	font-size: 1rem;
	font-weight: 500;
	transition: background-color 150ms ease;
	flex-shrink: 0;
}

.synoveo-collapsible-header:hover .synoveo-toggle-icon {
	background-color: rgb(var(--accent));
}

/* === Steps === */
.synoveo-steps {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.synoveo-step {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem;
	background-color: rgb(var(--background));
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
	transition: box-shadow 150ms ease, transform 150ms ease;
}

.synoveo-step:hover {
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
	transform: translateY(-1px);
}

.synoveo-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background-color: rgb(var(--primary));
	color: rgb(var(--primary-foreground));
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	flex-shrink: 0;
}

.synoveo-step-content {
	flex: 1;
}

.synoveo-step-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: rgb(var(--foreground));
	margin: 0 0 0.25rem;
}

.synoveo-step-description {
	font-size: 0.8125rem;
	color: rgb(var(--muted-foreground));
	margin: 0;
	line-height: 1.5;
}

/* === Connection Form === */
.synoveo-connection-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* === Message Alerts === */
.synoveo-message {
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	border: 1px solid;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.synoveo-message-success {
	background-color: rgb(var(--success) / 0.1);
	border-color: rgb(var(--success) / 0.2);
	color: rgb(22 101 52);
}

.synoveo-message-error {
	background-color: rgb(var(--destructive) / 0.1);
	border-color: rgb(var(--destructive) / 0.2);
	color: rgb(153 27 27);
}

.synoveo-message p {
	margin: 0;
}

/* === Loading Spinner === */
.synoveo-spinner {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 2px solid rgb(var(--primary-foreground) / 0.3);
	border-top-color: rgb(var(--primary-foreground));
	border-radius: 9999px;
	animation: synoveo-spin 0.6s linear infinite;
}

@keyframes synoveo-spin {
	to {
		transform: rotate(360deg);
	}
}

/* === Footer === */
.synoveo-footer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgb(var(--border));
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.synoveo-footer-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.synoveo-footer-logo {
	height: 20px;
	width: auto;
	opacity: 0.6;
}

.synoveo-footer-text {
	font-size: 0.75rem;
	color: rgb(var(--muted-foreground));
	margin: 0;
}

.synoveo-footer-links {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.synoveo-footer-link {
	font-size: 0.75rem;
	color: rgb(var(--muted-foreground));
	text-decoration: none;
	transition: color 150ms ease;
}

.synoveo-footer-link:hover {
	color: rgb(var(--foreground));
}

/* === Utility Classes === */
.synoveo-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.synoveo-flex {
	display: flex;
}

.synoveo-items-center {
	align-items: center;
}

.synoveo-justify-between {
	justify-content: space-between;
}

.synoveo-gap-2 {
	gap: 0.5rem;
}

.synoveo-gap-4 {
	gap: 1rem;
}

.synoveo-mt-4 {
	margin-top: 1rem;
}

.synoveo-mb-4 {
	margin-bottom: 1rem;
}

.synoveo-text-sm {
	font-size: 0.875rem;
}

.synoveo-text-muted {
	color: rgb(var(--muted-foreground));
}

.synoveo-font-medium {
	font-weight: 500;
}

.synoveo-mt-6 {
	margin-top: 1.5rem;
}

/* === Hero Compact Variant === */
.synoveo-hero-compact {
	padding: 1.5rem 2rem;
}

.synoveo-hero-compact .synoveo-hero-title {
	/* Inherit from base - no font-size override */
}

.synoveo-hero-compact .synoveo-hero-description {
	font-size: 0.875rem;
}

.synoveo-hero-compact .synoveo-hero-stat {
	padding: 0.5rem 0.75rem;
	min-width: 80px;
}

.synoveo-hero-compact .synoveo-hero-stat-value {
	font-size: 1.25rem;
}

/* === Card Icon === */
.synoveo-card-icon {
	margin-right: 0.5rem;
}

/* === Code Box (Shortcodes) === */
.synoveo-shortcode-block {
	margin-bottom: 1rem;
}

.synoveo-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgb(var(--muted-foreground));
	margin-bottom: 0.5rem;
}

.synoveo-code-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: rgb(var(--surface-a10));
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	gap: 1rem;
}

.synoveo-code-box code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.875rem;
	color: rgb(var(--foreground));
	background: none;
	padding: 0;
	flex: 1;
	word-break: break-all;
}

.synoveo-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: rgb(var(--muted-foreground));
	background-color: rgb(var(--background));
	border: 1px solid rgb(var(--border));
	border-radius: calc(var(--radius) - 2px);
	cursor: pointer;
	transition: all 150ms ease;
	flex-shrink: 0;
}

.synoveo-copy-btn:hover {
	background-color: rgb(var(--accent));
	color: rgb(var(--foreground));
}

.synoveo-copy-btn.synoveo-copy-success {
	background-color: rgb(var(--success) / 0.1);
	border-color: rgb(var(--success) / 0.3);
	color: rgb(var(--success));
}

.synoveo-copy-btn svg {
	flex-shrink: 0;
}

/* Copy Icon Button (icon only) */
.synoveo-copy-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	color: rgb(var(--muted-foreground));
	background-color: transparent;
	border: none;
	border-radius: calc(var(--radius) - 2px);
	cursor: pointer;
	transition: all 150ms ease;
	flex-shrink: 0;
}

.synoveo-copy-icon:hover {
	background-color: rgb(var(--accent));
	color: rgb(var(--foreground));
}

.synoveo-copy-icon.synoveo-copy-success {
	color: rgb(var(--success));
}

.synoveo-copy-icon.synoveo-copy-success:hover {
	background-color: rgb(var(--success) / 0.1);
}

.synoveo-copy-icon svg {
	flex-shrink: 0;
}

/* === Tables === */
.synoveo-table-wrapper {
	overflow-x: auto;
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
}

.synoveo-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.synoveo-table th,
.synoveo-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid rgb(var(--border));
}

.synoveo-table th {
	background-color: rgb(var(--surface-a10));
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgb(var(--muted-foreground));
}

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

.synoveo-table tbody tr:hover {
	background-color: rgb(var(--surface-a10) / 0.5);
}

.synoveo-table code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.8125rem;
	background-color: rgb(var(--surface-a10));
	padding: 0.125rem 0.375rem;
	border-radius: calc(var(--radius) - 2px);
	color: rgb(var(--primary));
}

/* Table Example Cell with Copy Icon */
.synoveo-table-example {
	white-space: nowrap;
}

.synoveo-table-example code {
	display: inline;
	vertical-align: middle;
}

.synoveo-table-example .synoveo-copy-icon {
	width: 1.5rem;
	height: 1.5rem;
	vertical-align: middle;
	margin-left: 0.25rem;
	opacity: 0.5;
	transition: opacity 150ms ease;
}

.synoveo-table-example:hover .synoveo-copy-icon {
	opacity: 1;
}

.synoveo-table-example .synoveo-copy-icon.synoveo-copy-success {
	opacity: 1;
}

/* === Example Cards === */
.synoveo-example-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	background-color: rgb(var(--surface-a10));
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
}

.synoveo-example-card code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.8125rem;
	color: rgb(var(--foreground));
	word-break: break-all;
}

.synoveo-example-desc {
	font-size: 0.8125rem;
	color: rgb(var(--muted-foreground));
}

/* === Alerts === */
.synoveo-alert {
	display: flex;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: var(--radius);
	border-left: 4px solid;
}

.synoveo-alert-icon {
	flex-shrink: 0;
	display: flex;
	align-items: flex-start;
	padding-top: 0.125rem;
}

.synoveo-alert-content {
	flex: 1;
}

.synoveo-alert-content strong {
	display: block;
	font-size: 0.875rem;
	margin-bottom: 0.25rem;
}

.synoveo-alert-content p {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.synoveo-alert-info {
	background-color: rgb(var(--info) / 0.1);
	border-left-color: rgb(var(--info));
}

.synoveo-alert-info .synoveo-alert-icon {
	color: rgb(var(--info));
}

.synoveo-alert-info .synoveo-alert-content strong {
	color: rgb(var(--info));
}

.synoveo-alert-info .synoveo-alert-content p {
	color: rgb(var(--foreground) / 0.8);
}

.synoveo-alert-warning {
	background-color: rgb(var(--warning) / 0.1);
	border-left-color: rgb(var(--warning));
}

.synoveo-alert-warning .synoveo-alert-icon {
	color: rgb(var(--warning));
}

.synoveo-alert-warning .synoveo-alert-content strong {
	color: rgb(var(--warning));
}

.synoveo-alert-warning .synoveo-alert-content p {
	color: rgb(var(--foreground) / 0.8);
}

/* === Status Banner Warning === */
.synoveo-status-banner-warning {
	background-color: rgb(var(--warning) / 0.1);
	border-color: rgb(var(--warning) / 0.2);
}

.synoveo-status-banner-warning .synoveo-status-banner-icon {
	background-color: rgb(var(--warning) / 0.2);
	color: rgb(var(--warning));
}

.synoveo-status-banner-warning .synoveo-status-banner-title {
	color: rgb(var(--warning));
}

/* === Footer Version === */
.synoveo-footer-version {
	font-size: 0.75rem;
	color: rgb(var(--muted-foreground));
}

/* === FAQ Styles === */
.synoveo-faq-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.synoveo-faq-item {
	padding: 1rem;
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
	background-color: rgb(var(--background));
}

.synoveo-faq-item.synoveo-faq-highlight {
	background-color: rgb(var(--primary) / 0.03);
	border-color: rgb(var(--primary) / 0.15);
}

.synoveo-faq-question {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.synoveo-faq-question [data-lucide] {
	color: rgb(var(--primary));
	flex-shrink: 0;
}

.synoveo-faq-question h3 {
	font-size: 0.9375rem;
	font-weight: 600;
	margin: 0;
	color: rgb(var(--foreground));
}

.synoveo-faq-answer {
	padding-left: 2.25rem;
}

.synoveo-faq-answer p {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgb(var(--muted-foreground));
	margin: 0 0 0.75rem;
}

.synoveo-faq-answer p:last-child {
	margin-bottom: 0;
}

/* Lists */
.synoveo-list {
	margin: 0.75rem 0;
	padding-left: 1.25rem;
	list-style: disc;
}

.synoveo-list li {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgb(var(--muted-foreground));
	margin-bottom: 0.375rem;
}

.synoveo-list li strong {
	color: rgb(var(--foreground));
}

.synoveo-list-numbered {
	margin: 0.75rem 0;
	padding-left: 1.25rem;
	list-style: decimal;
}

.synoveo-list-numbered li {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgb(var(--muted-foreground));
	margin-bottom: 0.5rem;
}

/* Mini Stats (for FAQ highlights) */
.synoveo-stat-mini {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background-color: rgb(var(--surface-a10));
	border-radius: calc(var(--radius) - 2px);
	font-size: 0.8125rem;
	color: rgb(var(--muted-foreground));
}

.synoveo-stat-mini [data-lucide] {
	color: rgb(var(--primary));
}

/* Support Cards */
.synoveo-support-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.5rem;
	background-color: rgb(var(--surface-a10));
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
	gap: 0.75rem;
}

.synoveo-support-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	background-color: rgb(var(--primary) / 0.1);
	border-radius: 50%;
	color: rgb(var(--primary));
}

.synoveo-support-card h3 {
	font-size: 0.9375rem;
	font-weight: 600;
	margin: 0;
	color: rgb(var(--foreground));
}

.synoveo-support-card p {
	font-size: 0.8125rem;
	color: rgb(var(--muted-foreground));
	margin: 0;
}

/* 4-column grid */
.synoveo-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
}

/* === Responsive === */
@media (max-width: 768px) {
	.synoveo-dashboard-wrapper {
		padding: 1rem;
	}

	.synoveo-page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.synoveo-step {
		flex-direction: column;
		text-align: center;
	}

	.synoveo-step-number {
		margin: 0 auto;
	}

	.synoveo-footer {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	/* Hero compact responsive */
	.synoveo-hero-compact {
		padding: 1.25rem 1rem;
	}

	.synoveo-hero-compact .synoveo-hero-content {
		flex-direction: column;
		gap: 1rem;
	}

	.synoveo-hero-compact .synoveo-hero-stats {
		width: 100%;
		justify-content: space-between;
	}

	/* Code box responsive */
	.synoveo-code-box {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.synoveo-copy-btn {
		align-self: flex-start;
	}

	/* Table responsive */
	.synoveo-table th,
	.synoveo-table td {
		padding: 0.5rem 0.75rem;
		font-size: 0.8125rem;
	}

	/* Status banner with button */
	.synoveo-status-banner-warning {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.synoveo-status-banner-warning .synoveo-btn {
		width: 100%;
		justify-content: center;
	}

	/* FAQ responsive */
	.synoveo-faq-answer {
		padding-left: 0;
	}

	.synoveo-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.synoveo-stat-mini {
		justify-content: center;
		text-align: center;
	}

	.synoveo-support-card {
		padding: 1rem;
	}
}

/* === Switch Toggle Component === */
.synoveo-switch-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 1rem 0;
	border-bottom: 1px solid rgb(var(--border));
}

.synoveo-switch-row:last-child {
	border-bottom: none;
}

.synoveo-switch-info {
	flex: 1;
	padding-right: 1.5rem;
}

.synoveo-switch-info .synoveo-label {
	margin-bottom: 0.25rem;
}

.synoveo-switch-description {
	font-size: 0.8125rem;
	color: rgb(var(--muted-foreground));
	margin: 0;
}

.synoveo-switch {
	flex-shrink: 0;
}

.synoveo-switch input[type="checkbox"] {
	display: none;
}

.synoveo-switch-track {
	display: inline-block;
	width: 3rem;
	height: 1.5rem;
	background-color: rgb(var(--muted));
	border-radius: 9999px;
	position: relative;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.synoveo-switch-track::after {
	content: '';
	position: absolute;
	width: 1.25rem;
	height: 1.25rem;
	background-color: white;
	border-radius: 50%;
	top: 0.125rem;
	left: 0.125rem;
	transition: transform 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.synoveo-switch input[type="checkbox"]:checked + .synoveo-switch-track {
	background-color: rgb(var(--success));
}

.synoveo-switch input[type="checkbox"]:checked + .synoveo-switch-track::after {
	transform: translateX(1.5rem);
}

/* === Form Actions === */
.synoveo-form-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgb(var(--border));
}

/* === Code Block === */
.synoveo-code-block {
	background-color: rgb(17 24 39);
	color: rgb(229 231 235);
	padding: 1rem;
	border-radius: var(--radius);
	font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
	font-size: 0.75rem;
	line-height: 1.6;
	overflow-x: auto;
	max-height: 400px;
	overflow-y: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

/* === Feature List === */
.synoveo-feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.synoveo-feature-list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0;
	color: rgb(var(--foreground));
}

.synoveo-feature-list li svg {
	color: rgb(var(--success));
	flex-shrink: 0;
}

/* Feature List Grid (for 2-column layout) */
.synoveo-feature-list-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.5rem;
}

@media (max-width: 600px) {
	.synoveo-feature-list-grid {
		grid-template-columns: 1fr;
	}
}

/* === Card Highlight (Schema.org Value Prop) === */
.synoveo-card-highlight {
	border: 2px solid rgb(var(--primary));
	background: linear-gradient(135deg, rgb(var(--primary) / 0.03) 0%, rgb(var(--primary) / 0.08) 100%);
}

/* === Value Proposition === */
.synoveo-value-prop {
	margin-bottom: 1.5rem;
}

.synoveo-value-prop-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.synoveo-value-prop-icon {
	flex-shrink: 0;
}

.synoveo-value-prop-icon img {
	display: block;
}

.synoveo-value-prop-title h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: rgb(var(--foreground));
}

.synoveo-value-prop-title p {
	margin: 0.25rem 0 0;
	color: rgb(var(--muted-foreground));
	font-size: 0.875rem;
}

.synoveo-value-prop-text {
	margin: 0 0 1rem;
	line-height: 1.6;
	color: rgb(var(--muted-foreground));
}

.synoveo-value-prop-highlight {
	background: rgb(var(--primary) / 0.08);
	padding: 1rem;
	border-radius: var(--radius);
	border-left: 3px solid rgb(var(--primary));
}

.synoveo-value-prop-highlight strong {
	color: rgb(var(--foreground));
}

@media (max-width: 600px) {
	.synoveo-value-prop-header {
		flex-direction: column;
		text-align: center;
	}
}

/* === Benefits Grid === */
.synoveo-benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.synoveo-benefit-card {
	background: rgb(var(--card));
	border: 1px solid rgb(var(--border));
	border-radius: var(--radius);
	padding: 1.25rem;
	text-align: center;
}

.synoveo-benefit-icon {
	margin-bottom: 0.75rem;
}

.synoveo-benefit-icon img,
.synoveo-benefit-icon svg {
	display: inline-block;
}

.synoveo-icon-ai {
	color: #8b5cf6;
}

.synoveo-icon-sync {
	color: rgb(var(--success));
}

.synoveo-benefit-card h3 {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgb(var(--foreground));
}

.synoveo-benefit-card p {
	margin: 0;
	font-size: 0.8125rem;
	color: rgb(var(--muted-foreground));
	line-height: 1.5;
}

@media (max-width: 900px) {
	.synoveo-benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.synoveo-benefits-grid {
		grid-template-columns: 1fr;
	}
}
