        .network-container {
            background: white;
            border: 2px solid #ddd;
            border-radius: 0;
            padding: 20px;
            min-height: 500px;
            position: relative;
            overflow: visible;
        }

        .network-node {
            position: absolute;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid #333;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: white;
            font-family: monospace;
        }

        .network-node:hover {
            transform: scale(1.1);
            border-width: 3px;
        }

        .network-node.input {
            background: #e3f2fd;
            border-color: #1976d2;
            color: #1976d2;
        }

        .network-node.hidden {
            background: #f3e5f5;
            border-color: #7b1fa2;
            color: #7b1fa2;
        }

        .network-node.output {
            background: #e8f5e8;
            border-color: #388e3c;
            color: #388e3c;
        }

        .network-edge {
            position: absolute;
            height: 2px;
            background: #666;
            transform-origin: left center;
            pointer-events: none;
            opacity: 0.6;
            transition: opacity 0.2s ease;
        }

        .network-edge.active {
            opacity: 1;
            background: #ff4444;
            height: 3px;
        }

        .pre-activation-label {
            position: absolute;
            font-size: 10px;
            font-weight: bold;
            font-family: monospace;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #ccc;
            border-radius: 0;
            padding: 2px 4px;
            color: #666;
            pointer-events: none;
            z-index: 10;
        }

        .neuron-value-label {
            position: absolute !important;
            font-size: 12px !important;
            font-weight: bold !important;
            font-family: monospace !important;
            background: white !important;
            border: 1px solid white !important;
            border-radius: 0;
            padding: 1px 3px !important;
            pointer-events: none;
            z-index: 10 !important;
            text-align: center;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .network-layer-label {
            position: absolute;
            font-weight: bold;
            color: #666;
            font-size: 14px;
        }

        .input-controls {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }

        .input-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .input-group label {
            width: 60px;
            font-weight: bold;
        }

        .layer-controls {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 0;
            margin-bottom: 20px;
        }

        .layer-control-group {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
            padding: 10px;
            background: white;
            border-radius: 0;
            border: 1px solid #ddd;
        }

        .layer-control-group:last-child {
            margin-bottom: 0;
        }

        /* Button styles moved to demo-common.css */


        .weight-input {
            width: 80px;
            padding: 4px;
            border: 1px solid #ddd;
            border-radius: 0;
            font-size: 12px;
        }

        .modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .modal-content {
            background: white;
            padding: 20px;
            border-radius: 0;
            max-width: 400px;
            width: 90%;
        }

        .modal-content h3 {
            margin-top: 0;
        }