body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #f5f5f5; color: #1a1a1a; margin: 0; padding: 2em; display: flex; flex-direction: column; align-items: center; }
.container { max-width: 800px; width: 100%; background: white; padding: 2em; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
h1, h2 { color: #1a1a1a; border-bottom: 1px solid #eee; padding-bottom: 0.5em; }
button { background-color: #1a8ed1; color: white; border: none; padding: 12px 18px; border-radius: 6px; cursor: pointer; font-size: 16px; margin-top: 10px; transition: background-color 0.2s; }
button:disabled { background-color: #a0a0a0; cursor: not-allowed; }
button:hover:not(:disabled) { background-color: #136da2; }
#disconnect-btn { background-color: #6c757d; }
#disconnect-btn:hover:not(:disabled) { background-color: #5a6268; }
input[type="text"], select { font-size: 16px; padding: 10px; border-radius: 6px; border: 1px solid #ccc; width: 100%; margin-bottom: 1em; box-sizing: border-box; }
select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; }
#log-output { background-color: #2b2b2b; color: #f0f0f0; border-radius: 5px; padding: 15px; margin-top: 20px; font-family: 'SF Mono', 'Courier New', monospace; white-space: pre-wrap; word-wrap: break-word; height: 300px; overflow-y: scroll; }
#keys-display { margin-top: 1em; font-size: 14px; word-break: break-all; }
.hidden { display: none; }
.success { color: #28a745; }
.error { color: #dc3545; }
.site-footer { text-align: center; margin-top: 2em; padding: 1em; font-size: 14px; color: #888; }
.site-footer a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; transition: color 0.2s; }
.site-footer a:hover { color: #1a8ed1; }
.site-footer p { padding-top: 1.0em; padding-right: 0.5em; }
.site-footer img { height: 36px; margin-left: 8px; }