:root {
  --bg: #0f172a;
  --panel: #16213a;
  --border: #2a3a5c;
  --text: #e6ebf5;
  --muted: #93a2bf;
  --bet: #1fbf75;
  --preliminar: #e0a72a;
  --no: #6b7686;
  --accent: #3b82f6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px; background: var(--panel); border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: .9rem; }
nav a:hover { color: var(--text); }
main { padding: 24px 28px; max-width: 1200px; margin: 0 auto; }

.run-bar { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.muted { color: var(--muted); font-size: .9rem; }
h1 { margin: 0 0 4px 0; font-size: 1.4rem; }
h2 { font-size: 1.1rem; margin-top: 32px; }

.btn-run {
  background: var(--accent); color: white; border: none; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; cursor: pointer; font-size: .9rem;
}
.btn-run:hover { opacity: .9; }

.filters { margin-bottom: 12px; display: flex; gap: 10px; }
.filters select {
  background: var(--panel); color: var(--text); border: 1px solid var(--border);
  padding: 6px 10px; border-radius: 6px;
}

table { width: 100%; border-collapse: collapse; background: var(--panel);
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
th, td { padding: 10px 12px; text-align: left; font-size: .85rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: .72rem; letter-spacing: .04em; }
tr:last-child td { border-bottom: none; }
.reason { color: var(--muted); font-size: .78rem; max-width: 320px; }

.badge { padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.badge-BET { background: rgba(31,191,117,.15); color: var(--bet); }
.badge-PRELIMINAR { background: rgba(224,167,42,.15); color: var(--preliminar); }
.badge-NO-APOSTAR { background: rgba(107,118,134,.15); color: var(--no); }

.config-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.config-form label { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); gap: 4px; }
.config-form input {
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  padding: 8px 10px; border-radius: 6px; font-size: .9rem;
}
