/* Custom styles that complement Tailwind */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    animation: rotate 1s linear infinite;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Transition for the bottleneck meter */
#bottleneck-meter {
    transition: stroke-dasharray 1s ease-out;
}

/* Highlight selected components */
.selected-component {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
}