/* Shared styles */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #e5e7eb;
}

#code-area {
    background: #1e293b;
    border-color: #334155;
}

#pc-area {
    background: #422006;
    border-color: #713f12;
}

#db-area {
    background: #172554;
    border-color: #1e3a8a;
}

.timeline-marker {
    color: #94a3b8;
}

.text-gray-800 {
    color: #f1f5f9;
}

.text-gray-600 {
    color: #cbd5e1;
}

.text-gray-700 {
    color: #e2e8f0;
}

#explanation {
    background: #1e293b;
    border-color: #334155;
}

.step-explanation {
    background: #0f172a;
    border-color: #1e293b;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.entity {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.entity-blue {
    background: #3b82f6;
}

.entity-yellow {
    background: #f59e0b;
}

.entity-green {
    background: #10b981;
}

.tooltip {
    position: absolute;
    background: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    max-width: 200px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#explanation {
    transition: all 0.3s ease;
}

.sql-query {
    font-family: 'Courier New', monospace;
    background: #1e293b;
    color: #f8fafc;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    overflow-x: auto;
}