
    * { margin: 0; padding: 0; box-sizing: border-box; }
    
    #flowchart-toolbar {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 8px 8px 0 0;
    }
    
    .tool-group {
        display: flex;
        gap: 5px;
        padding: 5px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
    }
    
    .tool-btn {
        background: white;
        border: 2px solid transparent;
        padding: 10px 15px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 500;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .tool-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    .tool-btn.active {
        background: #4CAF50;
        color: white;
        border-color: #45a049;
    }
    
    .color-btn {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        border: 3px solid white;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .color-btn:hover {
        transform: scale(1.15);
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }
    
    .color-btn.active {
        border-color: #FFD700;
        box-shadow: 0 0 0 3px rgba(255,215,0,0.3);
    }
    
    #flowchart-canvas-container {
        position: relative;
        width: 100%;
        height: 70vh;
        overflow: hidden;
        background: #ffffff;
        background-image: 
            linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
        background-size: 20px 20px;
        border: 1px solid #ddd;
        border-radius: 0 0 8px 8px;
    }
    
    #flowchart-canvas {
        cursor: crosshair;
        display: block;
    }
    
    .text-input {
        position: absolute;
        border: 2px solid #4CAF50;
        padding: 5px;
        font-size: 14px;
        font-family: Arial, sans-serif;
        text-align: center;
        background: white;
        border-radius: 4px;
        outline: none;
        min-width: 100px;
        z-index: 1000;
    }
    
    .zoom-indicator {
        position: absolute;
        bottom: 20px;
        right: 20px;
        background: rgba(0,0,0,0.7);
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
    }
    
    .separator {
        width: 2px;
        height: 30px;
        background: rgba(255,255,255,0.3);
    }

    background-color: #f8f9fa; /* Garante uma cor de fundo visível */
    position: relative; /* Importante para os inputs de texto absolutos */
