@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

#three-container {
    position: relative;
}

#three-container canvas {
    display: block;
    border-radius: 0.5rem;
}

.chart-container {
    position: relative;
    height: 100%;
    width: 100%;
}
/* Console styles */
#console-output.hidden {
    display: none;
}

/* Kappa slider */
input[type="range"] {
    -webkit-appearance: none;
    height: 6px;
    background: #4b5563;
    border-radius: 3px;
    background-image: linear-gradient(#8b5cf6, #8b5cf6);
    background-repeat: no-repeat;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #8b5cf6;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}
/* Math rendering styles */
.katex-display {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0;
}

.katex {
  font-size: 1.1em !important;
}

/* Warning highlights */
[data-warning]::after {
  content: "⚠️";
  margin-left: 0.3em;
  font-size: 0.8em;
  vertical-align: super;
}

.warning-note {
  background: rgba(234, 179, 8, 0.1);
  border-left: 3px solid rgba(234, 179, 8, 0.5);
  padding: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.85rem;
}
/* Animation for test results */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading spinner */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Test status badges */
.status-badge {
    @apply text-xs font-semibold px-2 py-1 rounded-full;
}

.status-pending {
    @apply bg-yellow-500/20 text-yellow-400;
}

.status-pass {
    @apply bg-green-500/20 text-green-400;
}

.status-fail {
    @apply bg-red-500/20 text-red-400;
}
.test-result {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Tooltip styles */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.2s;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}