/* Estilos complementares ao Tailwind */
body {
    font-family: 'Inter', sans-serif;
}
.title-font {
    font-family: 'Outfit', sans-serif;
}
.code-font {
    font-family: 'Fira Code', monospace;
}
canvas {
    touch-action: none;
}
:focus-visible {
    outline: 3px solid #6366f1 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.4) !important;
}
/* Estilos para a Barra de Ferramentas Compacta */
.toolbar-compact .btn-text {
    display: none !important;
}
.toolbar-compact .toolbar-label {
    display: none !important;
}
.toolbar-compact button {
    padding: 0.375rem !important;
    height: 1.875rem;
    width: 1.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem !important;
}
.toolbar-compact #btn-draw-mode {
    width: auto !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    gap: 0.25rem !important;
}
/* Animação suave para a pilha */
@keyframes stackPushAnim {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.stack-item-push {
    animation: stackPushAnim 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}
