/* SmallPDFKit Custom Styling */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.45);
  }
}

.glow-indigo {
  animation: pulseGlow 3s infinite ease-in-out;
}

/* Custom Drag & Drop Zone */
.dropzone-active {
  border-color: #6366F1 !important;
  background-color: rgba(99, 102, 241, 0.05) !important;
  transform: scale(1.01);
}

.dark .dropzone-active {
  background-color: rgba(99, 102, 241, 0.12) !important;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #475569;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Effect */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dark .glass-panel {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ================================================================
   Rich Article & Educational Guide Typography
   Guarantees distinct visual hierarchy for H2, H3, P, UL, LI
   ================================================================ */
article h2, .prose h2, .article-content h2 {
  font-size: 1.65rem !important;
  line-height: 2.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.025em !important;
  margin-top: 2.25rem !important;
  margin-bottom: 0.85rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.dark article h2, .dark .prose h2, .dark .article-content h2 {
  color: #f8fafc !important;
  border-bottom-color: #334155 !important;
}

article h3, .prose h3, .article-content h3 {
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.65rem !important;
}

.dark article h3, .dark .prose h3, .dark .article-content h3 {
  color: #f1f5f9 !important;
}

article p, .prose p, .article-content p {
  font-size: 1rem !important;
  line-height: 1.85 !important;
  color: #475569 !important;
  margin-top: 0.75rem !important;
  margin-bottom: 1.25rem !important;
}

.dark article p, .dark .prose p, .dark .article-content p {
  color: #94a3b8 !important;
}

article ul, .prose ul, .article-content ul {
  list-style-type: disc !important;
  padding-left: 1.75rem !important;
  margin-top: 0.85rem !important;
  margin-bottom: 1.5rem !important;
}

article li, .prose li, .article-content li {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
  margin-bottom: 0.65rem !important;
}

.dark article li, .dark .prose li, .dark .article-content li {
  color: #cbd5e1 !important;
}

article strong, .prose strong, .article-content strong {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.dark article strong, .dark .prose strong, .dark .article-content strong {
  color: #f8fafc !important;
}

