.simulator-canvas-container { display: flex; height: 100%; position: relative; } /* Board Selector */ .board-selector { padding: 6px 10px; background: #1e2a38; color: #e0e0e0; border: 1px solid #3d5a73; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color 0.2s; } .board-selector:hover:not(:disabled) { border-color: #007acc; } .board-selector:disabled { opacity: 0.5; cursor: not-allowed; } /* Add Component Button */ .add-component-btn { padding: 8px 16px; background: #007acc; color: white; border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; } .add-component-btn:hover { background: #005a9e; transform: translateY(-1px); } .add-component-btn:active { transform: translateY(0); } .simulator-canvas { flex: 1; background-color: #1e1e1e; color: #fff; display: flex; flex-direction: column; } .canvas-header { padding: 15px; background-color: #2d2d2d; border-bottom: 1px solid #444; display: flex; justify-content: space-between; align-items: center; } .canvas-header-info { display: flex; align-items: center; gap: 15px; } .canvas-header h3 { margin: 0; font-size: 16px; font-weight: 500; } .status-indicator { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; } .status-indicator.running { background-color: #28a745; color: white; } .status-indicator.stopped { background-color: #6c757d; color: white; } .component-count { font-size: 12px; color: #888; } .canvas-content { flex: 1; padding: 20px; position: relative; overflow: auto; background-color: #1e1e1e; background-image: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 255, 255, 0.03) 19px, rgba(255, 255, 255, 0.03) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255, 255, 255, 0.03) 19px, rgba(255, 255, 255, 0.03) 20px); } .arduino-board { background-color: #2196f3; border-radius: 8px; padding: 20px; width: 300px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); } .board-label { text-align: center; font-weight: bold; margin-bottom: 15px; font-size: 14px; } .pins-container { background-color: #1976d2; border-radius: 4px; padding: 10px; } .pin-row { display: flex; flex-wrap: wrap; gap: 5px; } .pin { width: 30px; height: 30px; background-color: #333; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: bold; } .pin-label { color: #ffd700; } .components-area { position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .component { pointer-events: auto; } /* Component wrapper styles */ .components-area > div { pointer-events: auto; transition: all 0.2s; } .components-area > div:hover { transform: scale(1.05); } .led-component { display: flex; flex-direction: column; align-items: center; gap: 8px; } .led-circle { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #666; transition: all 0.2s; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .led-circle.on { box-shadow: 0 0 20px currentColor; border-color: #fff; } .led-circle.off { background-color: #444 !important; } .component-label { font-size: 11px; background-color: #2d2d2d; padding: 3px 8px; border-radius: 3px; white-space: nowrap; margin-top: 5px; text-align: center; } /* Remove old styles */ .arduino-board, .board-label, .pins-container, .pin-row, .pin, .pin-label, .led-component, .led-circle { /* These are no longer used with wokwi-elements */ }