/* styles.css */

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

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #2A2445;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6C5CE7;
}

/* Prism Overrides */
pre[class*="language-"] {
    margin: 0 !important;
    background: transparent !important;
    text-shadow: none !important;
}

code[class*="language-"],
pre[class*="language-"] {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 14px !important;
    line-height: 1.625 !important;
}

.token.keyword {
    color: #A29BFE !important;
    font-weight: bold;
}

.token.function {
    color: #FDCB6E !important;
}

.token.string {
    color: #00b894 !important;
}

.token.number {
    color: #fd79a8 !important;
}

.token.operator {
    color: #F8F9FA !important;
}

.token.punctuation {
    color: #A0AABF !important;
}

/* Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-step {
    animation: slideUpFade 0.4s ease-out forwards;
}

/* Timeline specific styles */
.timeline-dot {
    box-shadow: 0 0 0 4px #0D0A19;
}

/* Diagram node animations */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(108, 92, 231, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(108, 92, 231, 0.6);
    }
}

.diag-node {
    animation: slideUpFade 0.5s ease-out forwards, pulseGlow 3s infinite alternate;
}