/* Custom styles for All-to-Markdown */
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

code, pre {
  font-family: 'JetBrains Mono', monospace;
}

/* Prose Markdown Styling inside Modal */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.825rem;
}

.prose th, .prose td {
  border: 1px solid #334155;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.prose th {
  background-color: #1e293b;
  color: #e2e8f0;
  font-weight: 600;
}

.prose tr:nth-child(even) {
  background-color: #0f172a;
}

.prose h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.25rem;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin: 0.6rem 0;
  line-height: 1.6;
  color: #cbd5e1;
}

.prose blockquote {
  border-left: 3px solid #6366f1;
  padding-left: 1rem;
  margin: 0.75rem 0;
  color: #94a3b8;
  background-color: rgba(99, 102, 241, 0.05);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.prose li {
  margin: 0.25rem 0;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.15s ease-out forwards;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
