:root {
  --teal: #004445; --teal-light: #005f60; --green: #79D729;
  --green-light: #8de840; --text: #0f1d2d; --text-secondary: #4a5568;
  --text-muted: #718096; --border: #e2e8f0; --surface: #fff;
  --surface-alt: #f8fafc; --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--surface-alt); color: var(--text); line-height: 1.6; font-size: 14px; }

/* Login */
.login-screen { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, var(--teal), #003032); }
.login-box { background: #fff; border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); text-align: center; }
.login-logo { height: 48px; width: auto; margin: 0 auto 1rem; display: block; }
.login-box h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.25rem; }
.login-box p { color: var(--text-muted); font-size: 0.8125rem; margin-bottom: 1.25rem; }
.login-box input { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.875rem; margin-bottom: 1rem; outline: none; }
.login-box input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(121,215,41,0.15); }
.login-box button { width: 100%; border: 0; border-radius: var(--radius); padding: 0.75rem; background: var(--teal); color: #fff; font-weight: 700; font-size: 0.875rem; cursor: pointer; transition: all 0.2s; }
.login-box button:hover { background: var(--teal-light); }
.login-error { color: #c0392b; font-size: 0.8125rem; margin-top: 0.75rem; display: none; font-weight: 600; }
.login-back { display: block; margin-top: 1rem; font-size: 0.8125rem; font-weight: 600; color: var(--teal); transition: color 0.2s; }
.login-back:hover { color: var(--green); }

/* Dashboard */
.dash-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.dash-header-inner { max-width: 1200px; margin: 0 auto; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.dash-brand { display: flex; align-items: center; gap: 0.625rem; }
.dash-brand img { height: 28px; width: auto; }
.dash-brand span { font-weight: 800; font-size: 0.875rem; color: var(--text-muted); }
.dash-actions { display: flex; gap: 0.5rem; }
.dash-btn { padding: 0.5rem 0.875rem; border-radius: var(--radius); font-weight: 700; font-size: 0.8125rem; border: 0; background: var(--green); color: #fff; cursor: pointer; transition: all 0.2s; }
.dash-btn:hover { background: var(--green-light); }
.dash-btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.dash-btn-outline:hover { background: var(--surface-alt); }
.dash-btn-sm { font-size: 0.75rem; padding: 0.375rem 0.75rem; margin-top: 0.75rem; }

.dash-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; text-align: center; }
.stat-label { display: block; font-size: 0.6875rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 900; color: var(--teal); margin-top: 0.25rem; }

/* Sections */
.dash-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.dash-section h3 { font-size: 0.9375rem; font-weight: 800; margin-bottom: 1rem; color: var(--text); }
.dash-section h4 { font-size: 0.8125rem; font-weight: 700; color: var(--teal); margin-bottom: 0.25rem; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.75rem; min-width: 700px; }
th { background: var(--surface-alt); padding: 0.625rem 0.75rem; text-align: left; font-weight: 700; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; position: sticky; top: 0; }
td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); white-space: nowrap; }
tr:hover td { background: var(--surface-alt); }

/* Filters */
.filters { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.filters input, .filters select { padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.8125rem; outline: none; }
.filters input { flex: 1; min-width: 160px; }
.filters input:focus, .filters select:focus { border-color: var(--green); }

/* Prize Track */
.prize-track-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.prize-track-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.prize-track-card p { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.prize-progress { display: flex; align-items: center; gap: 0.75rem; }
.prize-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.prize-fill { height: 100%; background: var(--green); border-radius: 4px; transition: width 0.5s ease; }
.prize-progress span { font-size: 0.75rem; font-weight: 700; color: var(--teal); white-space: nowrap; }

/* Status badges */
.status-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; }
.status-pending { background: #fff8e1; color: #f9a825; }
.status-verified { background: #e8f5e9; color: #2e7d32; }
.status-duplicate { background: #fce4ec; color: #c62828; }
.status-invalid { background: #f5f5f5; color: #757575; }

/* Inline status select in table rows */
.status-select {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  outline: none;
  font-family: inherit;
}
.status-select:focus { border-color: var(--green); }
.status-select:disabled { opacity: 0.5; cursor: not-allowed; }

/* Loading */
.loading { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.875rem; }

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .prize-track-grid { grid-template-columns: 1fr 1fr; }
  .dash-main { padding: 2rem 2rem 4rem; }
  .dash-header-inner { padding: 0.75rem 2rem; }
}
