* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; background: #fff; } .popup { width: 200px; padding: 16px; } h1 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: #333; } .toggle-row { display: flex; align-items: center; gap: 12px; } #status-text { font-weight: 500; color: #555; } /* Toggle switch */ .toggle { position: relative; display: inline-block; width: 44px; height: 24px; } .toggle input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.2s; border-radius: 24px; } .slider::before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: 0.2s; border-radius: 50%; } input:checked + .slider { background-color: #4caf50; } input:checked + .slider::before { transform: translateX(20px); } /* Connection status */ .connection-status { margin-top: 12px; font-size: 12px; color: #888; min-height: 16px; } .connection-status.connected { color: #4caf50; } .connection-status.connecting { color: #ff9800; }