/* AI Text Module - Styles v1.1 */

/* Button styling within CKEditor toolbar */
.cke_button__aitext_reformulate,
.cke_button__aitext_generate {
	border-radius: 3px !important;
	transition: background 0.15s ease !important;
}

.cke_button__aitext_reformulate:hover,
.cke_button__aitext_generate:hover {
	background: #fef3c7 !important;
}

.cke_button__aitext_reformulate:active,
.cke_button__aitext_generate:active {
	background: #fde68a !important;
}

/* Spinner animation when loading */
.aitext-spin {
	animation: aitext-spin-anim 1.2s linear infinite;
}

@keyframes aitext-spin-anim {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Toast notification */
.aitext-toast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	padding: 12px 20px;
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	font-family: Arial, sans-serif;
	z-index: 99999;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease;
	max-width: 400px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aitext-toast.aitext-toast-show {
	opacity: 1;
	transform: translateY(0);
}

.aitext-toast-success {
	background: #059669;
}

.aitext-toast-error {
	background: #dc2626;
}

.aitext-toast-info {
	background: #d97706;
}
