/**
 * Frontend styles for AI Summary Generator.
 *
 * @package Fast_AI_LLM_Summarizer
 */


.fastaill-ai-summary-container {
	position: relative;
	padding: 50px;
	margin: 2rem 0;
	border-radius: 0;
	overflow: hidden;
	z-index: 991;
}

.fastaill-ai-summary-container::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 15px;
	border-radius: 50px;
	background: linear-gradient(130deg,
			#4d9aff,
			#8a5bff,
			#ff3df5,
			#ff6b6b,
			#ffb56b,
			#4d9aff);
	background-size: 300% 300%;
	animation: googleDeepDive 4s linear infinite;
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	z-index: 2;
	opacity: 50%;
}

.fastaill-ai-summary-container::after {
	inset: 0;
	background: #ffffff;
	border-radius: 14px;
	z-index: 1;
}

@keyframes googleDeepDive {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.fastaill-ai-summary-content {
	position: relative;
	z-index: 99999;
	color: #333;
	line-height: 1.7;
	font-size: 1rem;
}

.fastaill-ai-summary-header {
	position: relative;
	z-index: 999999;
}

.fastaill-small-subheader {
	margin-bottom: 5px !important;
	font-weight: 600;
	font-size: 14px;
}

.fastaill-ai-summary-title {
	display: flex;
	column-gap: 15px;
	align-items: center;
	margin-bottom: 15px;
	margin-top: 0;
	line-height: inherit;
}

.fastaill-ai-summary-content p {
	margin: 0 0 1rem 0;
}

.fastaill-ai-summary-content p:last-child {
	margin-bottom: 0;
}

span#sase-test-api-response .error {
	color: red;
	line-height: 2;
	padding-left: 10px;
	display: none;
}

@media (max-width: 768px) {
	.fastaill-ai-summary-container {
		padding: 2.5rem;
		margin: 1.5rem 0;
	}

	.fastaill-small-subheader {
		font-size: 15px;
	}
}