/**
 * How to Customize Your AI Chatbot in WordPress - Post-Specific Styles
 *
 * Custom styles for chatbot customization guide.
 *
 * Components included:
 * - Setting example callouts
 * - Setting recommendations
 * - Instructions template
 * - Blueprint cards
 *
 * Reuses from shared/other post CSS:
 * - TL;DR definition + takeaways (agentic-ai post)
 * - FAQ list (agentic-ai post)
 * - Getting started steps (agentic-ai post)
 * - Action box (agentic-ai post)
 * - Comparison table (agentic-ai post)
 * - Problem grid (shared-post-components.css)
 * - CTA card (shared-post-components.css)
 *
 * @package AgenticWP
 */

/* ==========================================================================
   Setting Example Callout
   ========================================================================== */

.setting-example {
	margin: 24px 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.setting-example-header {
	padding: 12px 20px;
	background: #111827;
	border-bottom: 1px solid var(--line);
}

.setting-example-label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--accent);
}

.setting-example-body {
	padding: 20px;
}

.setting-example-body p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0;
}

/* ==========================================================================
   Setting Recommendation
   ========================================================================== */

.setting-recommendation {
	margin: 20px 0 40px;
	padding: 16px 20px;
	background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(34,197,94,0.15) 100%);
	border: 1px solid rgba(34,197,94,0.3);
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ink);
}

.setting-recommendation strong {
	color: #86efac;
}

/* ==========================================================================
   Instructions Template
   ========================================================================== */

.instructions-template {
	margin: 20px 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.instructions-template-header {
	padding: 12px 20px;
	background: var(--accent);
}

.instructions-template-label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bg);
}

.instructions-template-body {
	padding: 20px 24px;
	background: #111827;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink);
}

.instructions-template-body p {
	margin: 0 0 12px;
}

.instructions-template-body p:last-child {
	margin-bottom: 0;
}

.instructions-template-body ul {
	margin: 8px 0 0;
	padding-left: 24px;
}

.instructions-template-body li {
	margin-bottom: 6px;
}

.instructions-template-body li:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Blueprint Cards
   ========================================================================== */

.blueprint-card {
	margin: 32px 0;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}

.blueprint-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: linear-gradient(135deg, #111827 0%, rgba(99,102,241,0.1) 100%);
	border-bottom: 1px solid var(--line);
}

.blueprint-card-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--accent);
	border-radius: 12px;
	color: var(--bg);
}

.blueprint-card-icon svg {
	width: 22px;
	height: 22px;
}

.blueprint-card-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
}

.blueprint-card-body {
	padding: 24px;
}

/* Blueprint Settings Grid */
.blueprint-settings {
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.blueprint-setting {
	display: grid;
	grid-template-columns: 140px 120px 1fr;
	gap: 12px;
	align-items: baseline;
	padding: 12px 16px;
	background: #111827;
	border-radius: 8px;
	font-size: 15px;
}

.blueprint-setting-label {
	font-weight: 600;
	color: var(--ink);
}

.blueprint-setting-value {
	font-weight: 600;
	color: var(--accent);
}

.blueprint-setting-reason {
	color: var(--muted);
	font-size: 14px;
}

/* Blueprint Instructions */
.blueprint-instructions {
	margin-bottom: 20px;
	padding: 16px 20px;
	background: #111827;
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: 0 8px 8px 0;
}

.blueprint-instructions-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--accent);
	margin-bottom: 12px;
}

.blueprint-instructions-text p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0;
	font-style: italic;
}

/* Blueprint Why */
.blueprint-why {
	font-size: 15px;
	line-height: 1.65;
	color: var(--ink);
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.blueprint-why strong {
	color: var(--accent);
}

/* ==========================================================================
   Responsive: Tablet (max-width: 900px)
   ========================================================================== */

@media (max-width: 900px) {
	.blueprint-setting {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.blueprint-setting-reason {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   Responsive: Mobile (max-width: 640px)
   ========================================================================== */

@media (max-width: 640px) {
	.setting-example-body {
		padding: 16px;
	}

	.setting-recommendation {
		padding: 14px 16px;
	}

	.instructions-template-body {
		padding: 16px 20px;
	}

	.blueprint-card-header {
		padding: 16px 20px;
	}

	.blueprint-card-title {
		font-size: 18px;
	}

	.blueprint-card-body {
		padding: 20px;
	}

	.blueprint-setting {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 12px;
	}

	.blueprint-setting-reason {
		font-size: 13px;
	}

	.blueprint-instructions {
		padding: 14px 16px;
	}
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.blueprint-card,
	.setting-example {
		transition: none;
	}
}
