/* Custom styles */
.font-geist-mono {
    font-family: ui-monospace, 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    letter-spacing: -0.03em;
}

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 8px;
}

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

/* Timeline step styles */
.timeline-step {
    position: relative;
    padding-left: 24px;
    padding-bottom: 16px;
    cursor: pointer;
}

.timeline-step:before {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    width: 1px;
    height: 100%;
    background-color: #333;
    z-index: 0;
}

.timeline-step:last-child:before {
    height: 8px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #333;
    border: 1px solid #444;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-step.active .timeline-marker {
    background-color: white;
    border-color: white;
    transform: scale(1.2);
}

.timeline-step.completed .timeline-marker {
    background-color: #555;
}

/* Canvas loading animation */
@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
        margin-bottom: 20px;
    }
}

/* Process label styles */
#process-label {
    transition: opacity 0.3s ease;
}

/* Main container to allow scrolling */
.container {
    max-height: 100vh;
    overflow-y: auto;
}

/* 3D canvas container with proper aspect ratio */
@media (min-width: 768px) {
    .h-[500px] {
        height: calc(100vh - 240px);
        min-height: 500px;
    }
}
