/**
 * AI Read Summarize - Frontend Styles stylesheet
 * Elegant Purple Accent Theme with Responsive Layout
 */

.ars-summary-card {
	border: 2px solid #a855f7;
	background-color: #ffffff;
	border-radius: 8px;
	padding: 1.5rem;
	margin: 1.5rem 0;
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.04);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	transition: all 0.2s ease-in-out;
}

.ars-summary-card:hover {
	box-shadow: 0 6px 16px rgba(139, 92, 246, 0.08);
}

.ars-summary-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1.25rem;
}

.ars-summary-header-left {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.ars-summary-sparkle-container {
	color: #a855f7;
	flex-shrink: 0;
	margin-top: 2px;
}

.ars-summary-title-wrapper {
	display: flex;
	flex-direction: column;
}

.ars-summary-main-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #7c3aed;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
}

.ars-summary-sub-title {
	font-size: 0.8rem;
	color: #6b7280;
	margin: 4px 0 0 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
}

.ars-summary-toggle-btn {
	background: none;
	border: none;
	color: #9333ea;
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.ars-summary-toggle-btn:hover {
	background-color: #f3e8ff;
}

.ars-summary-body {
	margin: 0 !important;
	padding: 0 !important;
}

.ars-summary-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 0 0 4px !important;
}

.ars-summary-list li {
	position: relative;
	padding-left: 20px !important;
	margin-bottom: 0.75rem !important;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #374151;
}

.ars-summary-list li:last-child {
	margin-bottom: 0 !important;
}

.ars-summary-list li::before {
	content: "•";
	position: absolute;
	left: 2px;
	top: -1px;
	color: #9333ea;
	font-size: 1.5rem;
	line-height: 1;
}

/* Shimmer Skeleton Styles for Fully Automated Live Dynamic Loading */
.ars-skeleton-container {
	padding: 4px 0;
}

.ars-skeleton {
	background: #f3f4f6;
	background-image: linear-gradient(
		90deg,
		#f3f4f6 0%,
		#e5e7eb 40%,
		#f3f4f6 80%
	);
	background-size: 200% 100%;
	display: inline-block;
	position: relative;
	animation: arsShimmer 1.8s infinite ease-in-out;
	border-radius: 6px;
}

@keyframes arsShimmer {
	0% {
		background-position: 70% 0;
	}
	100% {
		background-position: -70% 0;
	}
}

.ars-skeleton-text {
	height: 14px;
	margin-bottom: 12px;
	width: 100%;
}

.ars-skeleton-text.short {
	width: 85%;
}

.ars-skeleton-text.shorter {
	width: 65%;
	margin-bottom: 0;
}

