/* balia-lead-hunter-console - ダークテーマ（balia-osブランド準拠） */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: #050709;
  color: #e8edf5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", sans-serif;
  font-size: 14px;
}

/* ログイン画面 */
.login-body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-box {
  background: #0d1420;
  border: 1px solid #1a2535;
  border-radius: 12px;
  padding: 40px;
  width: 340px;
  text-align: center;
}
.login-box h1 {
  color: #00e5a0;
  font-size: 20px;
  margin: 0 0 4px;
}
.login-box .subtitle {
  color: #8a95a8;
  font-size: 12px;
  margin: 0 0 24px;
}
.login-box input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #1a2535;
  background: #050709;
  color: #e8edf5;
  margin-bottom: 12px;
  font-size: 14px;
}
.login-box button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: #00e5a0;
  color: #050709;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}
.login-box button:hover { opacity: 0.9; }
.error-msg {
  color: #f87171;
  font-size: 12px;
  margin-top: 12px;
  min-height: 14px;
}

/* コンソール画面 */
.topbar {
  padding: 16px 24px;
  border-bottom: 1px solid #1a2535;
  background: #0d1420;
}
.topbar h1 {
  color: #00e5a0;
  font-size: 18px;
  margin: 0 0 12px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filters input, .filters select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #1a2535;
  background: #050709;
  color: #e8edf5;
  font-size: 13px;
}
.filters button {
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  background: #00e5a0;
  color: #050709;
  font-weight: bold;
  cursor: pointer;
}

main {
  padding: 24px;
}

#loading-msg {
  color: #8a95a8;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #1a2535;
  vertical-align: top;
}
th {
  color: #8a95a8;
  font-weight: normal;
  position: sticky;
  top: 0;
  background: #050709;
}
td.snippet-cell {
  max-width: 320px;
  color: #a0aec0;
}
td a { color: #00e5a0; text-decoration: none; }
td a:hover { text-decoration: underline; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  margin: 2px 4px 2px 0;
  background: #1a2535;
  color: #a78bfa;
}
.badge-warn {
  background: #3a2412;
  color: #fbbf24;
}

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}
.status-pending { background: #1a2535; color: #8a95a8; }
.status-ok { background: #0d3324; color: #00e5a0; }
.status-excluded { background: #3a1414; color: #f87171; }

.action-buttons { display: flex; gap: 6px; }
.action-buttons button {
  padding: 4px 10px;
  border-radius: 6px;
  border: none;
  font-size: 11px;
  cursor: pointer;
}
.btn-ok { background: #00e5a0; color: #050709; }
.btn-exclude { background: #f87171; color: #050709; }
.btn-pending { background: #1a2535; color: #e8edf5; }

#total-count {
  color: #8a95a8;
  font-size: 12px;
  margin-top: 12px;
}
