* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; padding: 20px; }
.container { max-width: 900px; margin: 0 auto; }
h1 { text-align: center; margin-bottom: 24px; color: #f8fafc; }
.card { background: #1e293b; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
label { display: block; margin-bottom: 6px; font-weight: 600; color: #cbd5e1; }
input[type="text"] { width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid #334155; background: #0f172a; color: #e2e8f0; margin-bottom: 16px; font-size: 14px; }
.ua-controls { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.ua-controls button { padding: 6px 12px; border-radius: 6px; border: 1px solid #475569; background: #334155; color: #e2e8f0; cursor: pointer; font-size: 12px; }
.ua-controls button:hover { background: #475569; }
.ua-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; max-height: 200px; overflow-y: auto; }
.ua-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #0f172a; border-radius: 6px; }
.ua-item input { cursor: pointer; }
.ua-item span { font-size: 12px; font-family: monospace; color: #94a3b8; }
.primary { width: 100%; padding: 14px; border-radius: 10px; border: none; background: linear-gradient(135deg, #3b82f6, #6366f1); color: white; font-size: 16px; font-weight: 600; cursor: pointer; }
.primary:hover { opacity: 0.9; }
.primary:disabled { opacity: 0.5; cursor: not-allowed; }
.log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.log-header span { font-weight: 600; }
.log-header button, .result-header button { padding: 4px 10px; border-radius: 4px; border: 1px solid #475569; background: #334155; color: #e2e8f0; cursor: pointer; font-size: 12px; }
.log { background: #0f172a; border-radius: 8px; padding: 12px; height: 300px; overflow-y: auto; font-family: monospace; font-size: 13px; line-height: 1.6; }
.log .trying { color: #fbbf24; }
.log .failed { color: #ef4444; }
.log .success { color: #22c55e; }
.log .info { color: #94a3b8; }
.log .error { color: #ef4444; font-weight: bold; }
.result { background: #0f172a; border-radius: 8px; padding: 12px; max-height: 400px; overflow-y: auto; font-size: 12px; white-space: pre-wrap; word-break: break-all; }
