/* Front-end styling for AI Blog Publisher generated content. */

.abp-toc {
	background: #f9f9fb;
	border-left: 4px solid #5b4fe8;
	border-radius: 6px;
	padding: 16px 20px;
	margin: 0 0 28px;
}

.abp-toc p {
	margin: 0 0 8px;
}

.abp-toc ul {
	margin: 0;
	padding-left: 20px;
}

.abp-toc li {
	margin-bottom: 4px;
}

.abp-table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.abp-table th,
.abp-table td {
	border: 1px solid #e2e4e7;
	padding: 10px 14px;
	text-align: left;
}

.abp-table th {
	background: #f3f2fd;
	font-weight: 600;
}

.abp-table tr:nth-child(even) td {
	background: #fafafa;
}

.abp-stat-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 10px 0;
}

.abp-stat-bar__label {
	flex: 0 0 auto;
	min-width: 120px;
	font-size: 14px;
}

.abp-stat-bar__track {
	flex: 1 1 auto;
	background: #eceaf9;
	border-radius: 6px;
	height: 10px;
	overflow: hidden;
}

.abp-stat-bar__fill {
	height: 100%;
	background: #5b4fe8;
	border-radius: 6px;
}

.abp-stat-bar__value {
	flex: 0 0 auto;
	font-weight: 600;
	min-width: 44px;
	text-align: right;
}

.abp-stat-callout {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	background: #f9f9fb;
	border-left: 4px solid #5b4fe8;
	border-radius: 6px;
	padding: 10px 16px;
	margin: 10px 12px 10px 0;
}

.abp-stat-callout__value {
	font-size: 22px;
	font-weight: 700;
	color: #1d2327;
}

.abp-stat-callout__label {
	font-size: 13px;
	color: #555;
}

.abp-inline-image {
	margin: 24px 0;
}

.abp-inline-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.abp-faq {
	margin-top: 32px;
}

.abp-faq details {
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 8px;
}

.abp-faq summary {
	font-weight: 600;
	cursor: pointer;
}

.abp-faq details p {
	margin: 10px 0 0;
}

.abp-cta {
	background: linear-gradient(135deg, #5b4fe8 0%, #4038c2 100%);
	border-radius: 12px;
	padding: 28px 32px;
	margin: 32px 0;
	text-align: center;
	color: #fff;
}

.abp-cta h3 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 20px;
}

.abp-cta p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
}

.abp-cta__button {
	display: inline-block;
	background: #fff;
	color: #4038c2;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s;
}

.abp-cta__button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	color: #4038c2;
}

.abp-disclaimer {
	background: #fbf7ec;
	border-left: 4px solid #dba617;
	border-radius: 6px;
	padding: 12px 16px;
	margin: 16px 0;
	font-size: 14px;
}
