/* JSON Viewer Custom Styles */
.json-view-lite {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace !important;
}

/* Stripe-like color scheme for JSON viewer */
.json-view-lite__string {
  color: #0a7ea4 !important;
}

.json-view-lite__number {
  color: #e5484d !important;
}

.json-view-lite__boolean {
  color: #8b5cf6 !important;
}

.json-view-lite__null {
  color: #6b7280 !important;
}

.json-view-lite__key {
  color: #1a1a1a !important;
  font-weight: 500 !important;
}

/* Dark mode colors */
.dark .json-view-lite__string {
  color: #7dd3c0 !important;
}

.dark .json-view-lite__number {
  color: #fca5a5 !important;
}

.dark .json-view-lite__boolean {
  color: #a78bfa !important;
}

.dark .json-view-lite__null {
  color: #9ca3af !important;
}

.dark .json-view-lite__key {
  color: #e5e7eb !important;
}

/* Hover effects */
.json-view-lite__toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.dark .json-view-lite__toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Scrollbar styling */
.custom-scrollbar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Schema viewer enhancements */
.schema-property-row:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.dark .schema-property-row:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Code block styling */
.code-block {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
}

/* Badge animations */
.badge-enter {
  animation: badgeEnter 0.2s ease-out;
}

@keyframes badgeEnter {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
