/**
 * Sant Chat AI - Playful Design System: Purple Variation
 *
 * @package Sant_Chat_AI
 * @since 1.0.0
 *
 * Primary accent: #9B7ED9 (purple)
 */

.sant-design-playful {
	--playful-primary: #9B7ED9;
	--playful-primary-hover: #8A6DC8;
	--playful-primary-text: #FFFFFF;
	--playful-user-msg-bg: #9B7ED9;
	--playful-user-msg-text: #FFFFFF;
}

/* Purple-specific overrides for better contrast */
.sant-design-playful #home-message-btn {
	box-shadow: 0 4px 14px rgba(155, 126, 217, 0.4) !important;
}

.sant-design-playful #home-message-btn:hover {
	box-shadow: 0 6px 20px rgba(155, 126, 217, 0.5) !important;
}

.sant-design-playful #send-button {
	box-shadow: 0 4px 12px rgba(155, 126, 217, 0.4) !important;
}

.sant-design-playful #send-button:hover {
	box-shadow: 0 6px 16px rgba(155, 126, 217, 0.5) !important;
}

.sant-design-playful #user-input:focus {
	border-color: #9B7ED9 !important;
	box-shadow: 0 0 0 3px rgba(155, 126, 217, 0.2) !important;
}

.sant-design-playful #help-search:focus {
	border-color: #9B7ED9 !important;
	box-shadow: 0 0 0 3px rgba(155, 126, 217, 0.2) !important;
}

.sant-design-playful .nav-tab:hover {
	background: rgba(155, 126, 217, 0.1) !important;
}

.sant-design-playful .nav-tab.active {
	background: rgba(155, 126, 217, 0.15) !important;
}

.sant-design-playful #sant-quick-replies button:hover {
	background: #9B7ED9 !important;
	color: #FFFFFF !important;
	border-color: #9B7ED9 !important;
}

.sant-design-playful #messages-new-chat,
.sant-design-playful #messages-start-chat {
	box-shadow: 0 4px 14px rgba(155, 126, 217, 0.3) !important;
}

.sant-design-playful + div #chat-bubble,
#chatbot-container.sant-design-playful ~ div #chat-bubble {
	background: #9B7ED9 !important;
	box-shadow: 0 6px 24px rgba(155, 126, 217, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.sant-design-playful + div #chat-bubble:hover,
#chatbot-container.sant-design-playful ~ div #chat-bubble:hover {
	box-shadow: 0 8px 32px rgba(155, 126, 217, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.sant-design-playful + div #chat-bubble svg,
#chatbot-container.sant-design-playful ~ div #chat-bubble svg {
	stroke: #FFFFFF !important;
	color: #FFFFFF !important;
}

/* Help tab icon backgrounds */
.sant-design-playful #tab-help > div:first-child a > div,
.sant-design-playful #tab-help > div:first-child button > div {
	background: #9B7ED9 !important;
}

.sant-design-playful #tab-help > div:first-child a:hover,
.sant-design-playful #tab-help > div:first-child button:hover {
	background: rgba(155, 126, 217, 0.1) !important;
}

/* FAQ icon container */
.sant-design-playful .help-faq-header > div:first-child {
	background: rgba(155, 126, 217, 0.2) !important;
}

/* News card image gradient */
.sant-design-playful .news-card-image {
	background: linear-gradient(135deg, #9B7ED9 0%, #B8A4E8 100%) !important;
}

/* Messages empty state icon */
.sant-design-playful #messages-empty > div:first-child {
	background: #9B7ED9 !important;
}

/* Alternate card colors - use purple tones */
.sant-design-playful .help-faq-item:nth-child(3n+1) {
	border-left-color: #E8D4F0 !important;
}

.sant-design-playful .help-faq-item:nth-child(3n+2) {
	border-left-color: #D4E8F0 !important;
}

.sant-design-playful .help-faq-item:nth-child(3n+3) {
	border-left-color: #E8E4F0 !important;
}

.sant-design-playful .news-card:nth-child(3n+1) {
	border-top-color: #E8D4F0 !important;
}

.sant-design-playful .news-card:nth-child(3n+2) {
	border-top-color: #D4E8F0 !important;
}

.sant-design-playful .news-card:nth-child(3n+3) {
	border-top-color: #E8E4F0 !important;
}
