/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

.font-mono {
    font-family: 'JetBrains+Mono', monospace;
}

/* Color definitions matching Tailwind classes for reference/custom use */
.part-1 {
    color: #818cf8; /* Indigo 400 */
}

.part-2 {
    color: #34d399; /* Emerald 400 */
}

.part-3 {
    color: #fbbf24; /* Amber 400 */
}

.part-4 {
    color: #e879f9; /* Fuchsia 400 */
}

.part-5 {
    color: #fb7185; /* Rose 400 */
}

.bit-highlight-v {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    filter: brightness(1.5);
    color: #fbbf24;
}

.bit-highlight-var {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    filter: brightness(1.5);
    color: #e879f9;
}

.ref-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 4px;
    font-size: 0.7rem;
}

.connector-path {
    stroke-dasharray: 5;
    stroke-dashoffset: 10;
    animation: dash 5s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.bit-btn {
    width: 24px;
    height: 32px;
    font-size: 10px;
    font-family: 'JetBrains Mono';
    border-radius: 4px;
    transition: all 0.2s;
}

.bit-btn.active {
    background-color: #4f46e5;
    color: white;
    border-color: #4338ca;
}

.bit-btn.inactive {
    background-color: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
}
