/** These styles are used in tinymce editor as well **/ 
.callout {
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #4a90e2;
  background-color: #f8f9fa;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  position: relative;
}

/* Optional: Add an icon */
.callout.info::before {
  content: "💡"; /* or "⚡", "📌", "!" */
  margin-right: 0.5rem;
  color: #4a90e2;
}

.callout.stipulate::before {
  content: "📌"; /* or "⚡", "📌", "!" */
  margin-right: 0.5rem;
  color: #4a90e2;
}

/* Variations for different callout types */
.callout.warning {
  border-left-color: #ffc107;
  background-color: #fff8e1;
}

.callout.warning::before {
  content: "⚠️";
  color: #ffc107;
}

.callout.success {
  border-left-color: #28a745;
  background-color: #e8f5e9;
}

.callout.success::before {
  content: "✓";
  color: #28a745;
}

.callout.danger {
  border-left-color: #dc3545;
  background-color: #ffebee;
}

.callout.danger::before {
  content: "✗";
  color: #dc3545;
}
.stylish-quote {
  font-style: italic;
  position: relative;
  padding: 1em 1.5em;
  background: #f9f9f9;
  border-left: 5px solid #6c63ff;
  color: #333;
  margin: 1em 0;
}
.stylish-quote::before {
  content: "“";
  font-size: 2em;
  position: absolute;
  left: 10px;
  top: 10px;
  color: #6c63ff;
}
.note-box {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 1em;
  border-radius: 4px;
}
.code-block {
  background-color: #282c34;
  color: #abb2bf;
  padding: 1em;
  font-family: 'Courier New', monospace;
  border-radius: 4px;
  overflow-x: auto;
}
.checklist {
  list-style: none;
  padding-left: 1.2em;
}
.checklist li::before {
  content: '✅';
  margin-right: 0.5em;
}
.fancy-header {
  font-family: 'Playfair Display', serif;
  font-size: 2em;
  border-bottom: 2px solid #333;
  padding-bottom: 0.3em;
  margin-bottom: 0.5em;
}
/* Syntax highlighting styles */
/* Code block container */
.code-block-wrapper {
  position: relative;
  margin: 1em 0;
  background: #fafafa;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  padding-top: 30px;
}
pre {
	padding: 15px;
}
/* Syntax blocks */
pre[class*="language-"] {
  margin: 0;
  padding: 12px;
  overflow: auto;
  background: transparent !important;
}

code[class*="language-"] {
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  display: block;
}

/* Copy button */
.copy-code-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 3px 6px;
  background: #e1e1e1;
  border: none;
  border-radius: 2px;
  font-size: 11px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: #555;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.copy-code-btn:hover {
  background: #d1d1d1;
}

.code-block-wrapper:hover .copy-code-btn {
  opacity: 1;
}

/* Copy confirmation */
.copy-code-btn.copied {
  background: #4CAF50;
  color: white;
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .copy-code-btn {
    opacity: 1; /* Always visible on mobile */
  }
}


/* Emoji with sound effects */

.emoji-with-sound {
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease;
}

.emoji-with-sound:hover::after {
  content: '🔊';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.6em;
}

.emoji-with-sound.playing {
  transform: scale(1.5);
}
