:root {
  --feyenoord-red: #e2001a;
  --feyenoord-black: #0a0a0a;
  --bg: #141414;
  --card: #1f1f1f;
  --card-border: #2e2e2e;
  --text: #f2f2f2;
  --text-dim: #a8a8a8;
  --success: #2fa84f;
  --warning: #e2a800;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(160deg, var(--feyenoord-black) 0%, #240005 100%);
  color: var(--text);
  min-height: 100vh;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.1s, opacity 0.15s;
  border-radius: 8px;
}
button:active { transform: scale(0.97); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

input, select, textarea {
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: #0f0f0f;
  color: var(--text);
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
}

.btn-primary { background: var(--feyenoord-red); color: white; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.btn-secondary { background: #2a2a2a; color: var(--text); padding: 10px 18px; font-size: 14px; }
.btn-danger { background: #7a1010; color: white; padding: 8px 14px; font-size: 13px; }
.btn-small { padding: 6px 12px; font-size: 13px; }

.container { max-width: 1100px; margin: 0 auto; padding: 16px; }

.header {
  background: rgba(0,0,0,0.6);
  border-bottom: 2px solid var(--feyenoord-red);
  position: sticky; top: 0; z-index: 20;
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 18px; letter-spacing: 0.5px; }
.brand span { color: var(--feyenoord-red); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav button { background: transparent; color: var(--text-dim); padding: 8px 14px; font-size: 14px; font-weight: 600; }
.nav button.active { background: var(--feyenoord-red); color: white; }
.user-menu { display: flex; align-items: center; gap: 10px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.match-card { display: flex; flex-direction: column; gap: 10px; }
.match-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.match-logo { width: 48px; height: 48px; object-fit: contain; background: white; border-radius: 8px; padding: 4px; flex-shrink: 0; }
.match-logo-placeholder { width: 48px; height: 48px; border-radius: 8px; background: #2a2a2a; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink: 0; }
.match-title { font-weight: 700; font-size: 16px; }
.match-meta { color: var(--text-dim); font-size: 13px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.badge-eredivisie { background: #1e3a8a; color: #dbeafe; }
.badge-champions_league { background: #142850; color: #a8c6ff; border: 1px solid #3a5aa0; }
.badge-beker { background: #7a4a00; color: #ffe1a8; }
.badge-assigned { background: var(--success); color: white; }
.badge-open { background: var(--card-border); color: var(--text-dim); }
.badge-urgent { background: var(--warning); color: #241a00; }

.people-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #2a2a2a; padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.chip-selected { background: var(--success); color: white; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.stat-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stat-table th, .stat-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--card-border); }
.stat-table th { color: var(--text-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { width: 100%; max-width: 360px; text-align: center; }
.login-card h1 { font-size: 22px; margin-bottom: 4px; }
.login-card p.sub { color: var(--text-dim); font-size: 13px; margin-bottom: 20px; }
.login-form { display: flex; flex-direction: column; gap: 12px; }
.error-text { color: #ff8080; font-size: 13px; }

.notif-panel {
  position: absolute; right: 16px; top: 60px; width: 320px; max-height: 400px; overflow-y: auto;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 10px; z-index: 30;
}
.notif-item { padding: 10px; border-radius: 8px; font-size: 13px; margin-bottom: 4px; }
.notif-item.unread { background: rgba(226,0,26,0.12); }
.bell-btn { position: relative; background: transparent; color: var(--text); font-size: 18px; padding: 6px 10px; }
.bell-dot { position: absolute; top: 2px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--feyenoord-red); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.section-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.muted { color: var(--text-dim); font-size: 13px; }
.pill-list { display: flex; gap: 6px; flex-wrap: wrap; }

.alert-box { border: 1px solid var(--warning); background: rgba(226,168,0,0.1); border-radius: 10px; padding: 12px; margin-bottom: 14px; }
