/* Custom scrollbar for results */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: var(--ifm-color-content-secondary) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--ifm-color-content-secondary);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: var(--ifm-color-primary);
}

/* Animation for search results */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.3s ease-out;
}

/* Syntax highlighting for code values - using Docusaurus colors */
.syntax-key {
  color: var(--ifm-color-primary);
}

.syntax-string {
  color: var(--ifm-color-success);
}

.syntax-number {
  color: var(--ifm-color-warning);
}

.syntax-boolean {
  color: var(--ifm-color-danger);
}

.syntax-null {
  color: var(--ifm-color-content-secondary);
}

/* Ensure entitlements page uses proper theme colors */
.entitlements-page {
  background-color: var(--ifm-background-color);
  color: var(--ifm-color-content);
}
