/* Additional custom styles for enhanced visual appeal */

.behavior-block {
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    user-select: none;
}

.behavior-block:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.3);
}

.side-panel {
    box-shadow: inset 2px 0 5px rgba(0,0,0,0.3);
}

.panel-section {
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.canvas-area {
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

#canvas {
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.1);
}

.tool-group:last-child {
    border-right: none;
}

input[type="range"] {
    -webkit-appearance: none;
    background: #555;
    height: 4px;
    border-radius: 2px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4169E1;
    cursor: pointer;
    border: 2px solid #6495ED;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4169E1;
    cursor: pointer;
    border: 2px solid #6495ED;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .side-panel {
        width: 100%;
        height: 200px;
        border-left: none;
        border-top: 2px solid #4169E1;
    }
    
    .header {
        flex-direction: column;
        gap: 10px;
    }
    
    .controls {
        justify-content: center;
    }
    
    .bottom-toolbar {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tool-group {
        flex-direction: column;
        gap: 2px;
        border-right: none;
        border-bottom: 1px solid #555;
        padding-bottom: 5px;
    }
}

.glow {
    box-shadow: 0 0 10px #4169E1;
}

@keyframes spawn-effect {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.agent-spawning {
    animation: spawn-effect 0.3s ease-out;
}