/* ============================================================
   Planmatrix Sport - Stylesheet
   ============================================================ */

/* ---- Variables ---- */
:root {
  --bg-dark:    #0B1D3A;
  --bg-mid:     #1B3B7A;
  --bg-light:   #243B6E;
  --accent:     #F5A623;
  --primary:    #2B6CF6;
  --primary-h:  #1A5CE0;
  --success:    #10B981;
  --warning:    #EAB308;
  --danger:     #EF4444;
  --text:       #1A2744;
  --text-muted: #6B7280;
  --border:     #E5E7EB;
  --white:      #FFFFFF;
  --card-bg:    #FFFFFF;
  --nav-bg:     #0D2040;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.15);
  --font:       'Outfit', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: var(--font); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---- Utilities ---- */
.hidden    { display: none !important; }
.d-block   { display: block; }
.text-muted{ color: var(--text-muted); font-size: .875rem; }
.text-success{ color: var(--success); }
.text-danger { color: var(--danger); }
.p0        { padding: 0 !important; }

/* ---- Login page ---- */
.login-body {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--bg-dark) 0%, var(--bg-mid) 60%, #1E4D8C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-wrapper { width: 100%; max-width: 420px; padding: 1rem; }
.login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}
.login-logo { text-align: center; margin-bottom: 2rem; }
.brand-text { font-size: 2rem; font-weight: 700; color: var(--text); }
.brand-dot  { font-size: 2rem; font-weight: 700; color: var(--accent); }
.brand-tagline { font-size: .875rem; color: var(--text-muted); margin-top: .25rem; }
.brand-sub  { font-size: .75rem; color: var(--text-muted); display: block; margin-top: .125rem; }
.login-title{ font-size: 1.375rem; font-weight: 600; margin-bottom: .25rem; }
.login-sub  { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.login-hint { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 1.25rem; }
.login-form .form-group { margin-bottom: .875rem; }

/* ---- Admin layout ---- */
.admin-body {
  background: #F3F5FA;
  min-height: 100vh;
}
.admin-nav {
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.nav-brand { display: flex; align-items: baseline; gap: .25rem; flex-shrink: 0; flex-direction: row; flex-wrap: wrap; }
.nav-brand .brand-text { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.nav-brand .brand-dot  { font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.nav-brand .brand-sub  { color: rgba(255,255,255,.5); font-size: .7rem; margin-left: .5rem; }
.nav-links { display: flex; list-style: none; gap: .25rem; }
.nav-link {
  color: rgba(255,255,255,.7);
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: all .15s;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); text-decoration: none; }
.nav-user { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.user-name { color: rgba(255,255,255,.7); font-size: .875rem; display: flex; align-items: center; gap: .5rem; }
.btn-logout { color: rgba(255,255,255,.6); font-size: .8rem; padding: .375rem .75rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2); transition: all .15s; }
.btn-logout:hover { color: var(--white); border-color: rgba(255,255,255,.5); text-decoration: none; }

.admin-main { max-width: 1300px; margin: 0 auto; padding: 2rem 2rem 4rem; }

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.page-header h1 { font-size: 1.625rem; font-weight: 700; }
.page-sub { color: var(--text-muted); font-size: .875rem; margin-left: .75rem; }

/* ---- Stats grid ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.stat-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

/* ---- Content grid ---- */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 1000px) { .content-grid { grid-template-columns: 1fr; } }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.card-header h2 { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.card-body { padding: 1.25rem; }

/* ---- Tables ---- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.data-table th {
  background: #F8FAFC;
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid #F1F3F9;
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #F8FAFC; }
.row-dim td { opacity: .5; }
.actions { display: flex; gap: .375rem; white-space: nowrap; }
.table-actions { padding: .75rem 1rem; display: flex; gap: .5rem; border-bottom: 1px solid var(--border); }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  padding: .2em .6em;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-success   { background: #D1FAE5; color: #059669; }
.badge-warning   { background: #FEF3C7; color: #D97706; }
.badge-danger    { background: #FEE2E2; color: #DC2626; }
.badge-secondary { background: #E5E7EB; color: #6B7280; }

.cat-pill {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: .2em .7em;
  border-radius: 999px;
}
.cat-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: .375rem;
}
.role-badge {
  font-size: .78rem;
  font-weight: 600;
  padding: .2em .6em;
  border-radius: 999px;
}
.role-admin  { background: #EFF6FF; color: #2B6CF6; }
.role-member { background: #F0FDF4; color: #059669; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .375rem; }
.form-control {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,108,246,.12); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-full { grid-column: 1 / -1; }
.form-inline { display: flex; gap: 1rem; }
.form-inline > * { flex: 1; }
.form-actions { display: flex; gap: .75rem; align-items: center; padding-top: .5rem; grid-column: 1 / -1; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.125rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover  { background: var(--primary-h); }
.btn-success  { background: var(--success); color: var(--white); }
.btn-success:hover  { background: #0DA070; }
.btn-danger   { background: var(--danger); color: var(--white); }
.btn-danger:hover   { background: #DC2626; }
.btn-outline  { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover  { border-color: var(--primary); color: var(--primary); }
.btn-block    { width: 100%; justify-content: center; }
.btn-sm  { font-size: .825rem; padding: .4rem .875rem; }
.btn-xs  { font-size: .775rem; padding: .25rem .625rem; }

/* ---- Alerts ---- */
.alert {
  padding: .875rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}
.alert-success { background: #D1FAE5; color: #065F46; border-left: 4px solid var(--success); }
.alert-danger  { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--danger); }

/* ---- Tab bar ---- */
.tab-bar { display: flex; gap: .375rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab {
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .15s;
}
.tab:hover { color: var(--primary); border-color: var(--primary); text-decoration: none; }
.tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---- Empty state ---- */
.empty-state { text-align: center; color: var(--text-muted); padding: 2.5rem; font-size: .9rem; }

/* ============================================================
   PWA Member App
   ============================================================ */
.pwa-body {
  background: #F3F5FA;
  min-height: 100vh;
  padding-bottom: 80px;
  max-width: 600px;
  margin: 0 auto;
}

.pwa-header {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-mid));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  padding-top: max(1rem, env(safe-area-inset-top));
  position: sticky;
  top: 0;
  z-index: 50;
}
.pwa-brand { display: flex; align-items: baseline; }
.pwa-brand .brand-text { font-size: 1.25rem; font-weight: 700; }
.pwa-brand .brand-dot  { font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.pwa-header-actions { display: flex; align-items: center; gap: .75rem; }
.notif-btn {
  position: relative;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  cursor: pointer;
  font-size: .9rem;
}
.notif-dot {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: .6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.btn-logout-pwa {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  padding: .375rem .5rem;
}
.btn-logout-pwa:hover { color: var(--white); text-decoration: none; }

/* Notification panel */
.notif-panel {
  position: fixed;
  top: 60px; right: 0;
  width: min(340px, 100vw);
  background: var(--white);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 0 var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .25s ease;
  max-height: 60vh;
  overflow-y: auto;
}
.notif-panel.open { transform: translateX(0); }
.notif-header {
  padding: .875rem 1rem;
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.notif-read-all { font-size: .8rem; font-weight: 400; }
.notif-item { padding: .875rem 1rem; border-bottom: 1px solid #F1F3F9; font-size: .85rem; }
.notif-item.unread { background: #EFF6FF; }
.notif-item strong { display: block; margin-bottom: .2rem; }
.notif-item p { color: var(--text-muted); margin: .2rem 0; }
.notif-item small { color: #9CA3AF; font-size: .75rem; }
.notif-empty { padding: 1.5rem; text-align: center; color: var(--text-muted); font-size: .875rem; }

/* Greeting */
.pwa-greeting { padding: 1.5rem 1.25rem .5rem; }
.pwa-greeting h1 { font-size: 1.5rem; font-weight: 700; }
.pwa-greeting p  { color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }

/* PWA alert */
.pwa-alert {
  margin: .75rem 1.25rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pwa-alert-success { background: #D1FAE5; color: #065F46; }
.pwa-alert-error   { background: #FEE2E2; color: #991B1B; }

/* PWA Tabs */
.pwa-tabs {
  display: flex;
  gap: .5rem;
  padding: .75rem 1.25rem;
  position: sticky;
  top: 60px;
  background: #F3F5FA;
  z-index: 40;
}
.pwa-tab {
  flex: 1;
  padding: .625rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .825rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  transition: all .15s;
  font-family: var(--font);
}
.pwa-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* PWA Tab content */
.pwa-tab-content { display: none; padding: 0 1.25rem 1.25rem; }
.pwa-tab-content.active { display: block; }

/* Shift cards */
.shift-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}
.shift-card.shift-full { opacity: .65; }
.shift-card-header {
  padding: .75rem 1rem .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.shift-card-body { padding: .25rem 1rem .75rem; }
.shift-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.shift-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .875rem;
  font-size: .825rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.shift-meta span { display: flex; align-items: center; gap: .35rem; }
.shift-meta i { color: var(--primary); }
.shift-desc { font-size: .825rem; color: var(--text-muted); }
.shift-card-footer {
  padding: .75rem 1rem;
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shift-status-text { font-size: .825rem; font-weight: 500; display: flex; align-items: center; gap: .375rem; color: var(--text-muted); }

/* PWA empty */
.pwa-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.pwa-empty i { font-size: 2.5rem; display: block; margin-bottom: .875rem; opacity: .4; }

/* Bottom navigation */
.pwa-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 100vw);
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 50;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}
.pwa-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .625rem .5rem;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 500;
  transition: color .15s;
}
.pwa-nav-item i { font-size: 1.1rem; }
.pwa-nav-item.active { color: var(--primary); }
.pwa-nav-item:hover { color: var(--primary); text-decoration: none; }

/* ============================================================
   Uitwedstrijden & Chauffeurs module
   ============================================================ */
:root {
  --away-color: #E05A1C;
  --away-bg:    rgba(224,90,28,.1);
  --away-border:rgba(224,90,28,.25);
}

/* ---- Away game cards (member) ---- */
.away-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 1.25rem 1.25rem;
  overflow: hidden;
  border-left: 4px solid var(--away-color);
}
.away-card-header {
  background: linear-gradient(135deg, #0B1D3A, #1B3B7A);
  padding: 1rem 1.25rem;
  color: var(--white);
}
.away-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--away-bg);
  color: var(--away-color);
  border: 1px solid var(--away-border);
  padding: .2rem .75rem;
  border-radius: 999px;
  margin-bottom: .625rem;
}
.away-game-info h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.away-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .875rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}
.away-meta span { display: flex; align-items: center; gap: .3rem; }
.away-meta i { color: var(--accent); font-size: .75rem; }
.away-notes { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .5rem; }

.away-section { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }
.away-section:first-of-type { border-top: none; }
.away-section-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.away-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  padding: .5rem 0;
}

/* ---- Trip direction label ---- */
.trip-direction-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin: .625rem 0 .375rem;
}

/* ---- Trip rows (member) ---- */
.trip-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem;
  margin-bottom: .5rem;
}
.trip-row-info { flex: 1; }
.trip-row-info strong { font-size: .875rem; display: block; margin-bottom: .25rem; }
.trip-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .6rem;
  font-size: .75rem;
  color: var(--text-muted);
}
.trip-row-meta span { display: flex; align-items: center; gap: .25rem; }
.trip-row-action { display: flex; flex-direction: column; align-items: flex-end; gap: .375rem; flex-shrink: 0; }

/* ---- Chauffeur admin cards ---- */
.direction-block { margin-bottom: 2rem; }
.direction-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.direction-header h2 { font-size: 1.125rem; font-weight: 700; }
.direction-icon {
  width: 36px; height: 36px;
  background: var(--away-bg);
  color: var(--away-color);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

.trip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.trip-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}
.trip-info { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.driver-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 600;
  font-size: .875rem;
  background: #EFF6FF;
  color: var(--primary);
  padding: .3rem .75rem;
  border-radius: 999px;
}
.trip-meta {
  display: flex;
  align-items: center;
  gap: .5rem .875rem;
  font-size: .825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.trip-meta span { display: flex; align-items: center; gap: .3rem; }
.passengers-list { border-top: 1px solid var(--border); }

/* ---- Swap modal ---- */
.swap-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}
.swap-modal {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 480px;
  padding: 1.5rem;
  box-shadow: 0 -8px 40px rgba(0,0,0,.2);
  animation: slideUp .25s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.swap-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.swap-modal-header h3 { font-size: 1rem; font-weight: 700; }
.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 0 .25rem;
}
.swap-modal-body .form-group { margin-bottom: .875rem; }

/* ---- Extra badges ---- */
.badge-info   { background: #EFF6FF; color: #1E6ECC; }
.badge-purple { background: #EEF2FF; color: #5B4ACA; }

/* ---- Away color for admin highlights ---- */
.admin-nav .nav-link[href*="away_games"],
.admin-nav .nav-link[href*="chauffeurs"],
.admin-nav .nav-link[href*="swaps"] {
  border-left: 2px solid transparent;
}

/* ============================================================
   Instellingen - Sport picker
   ============================================================ */
.sport-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:.5rem; margin-top:.375rem; }
@media(max-width:700px){ .sport-grid { grid-template-columns:repeat(4,1fr); } }
.sport-option {
  display:flex; flex-direction:column; align-items:center; gap:.25rem;
  padding:.625rem .25rem; border:1.5px solid var(--border);
  border-radius:var(--radius-sm); cursor:pointer; transition:all .15s; text-align:center;
}
.sport-option input { display:none; }
.sport-option:hover { border-color:var(--primary); }
.sport-option.selected { border-color:var(--primary); background:#EFF6FF; }
.sport-icon { font-size:1.5rem; }
.sport-name { font-size:.7rem; font-weight:600; color:var(--text-muted); }
.sport-option.selected .sport-name { color:var(--primary); }

/* ============================================================
   Competition admin - result badges
   ============================================================ */
.our-team-row { background:#EFF6FF !important; }
.result-badge { display:inline-block; font-weight:700; font-size:.85rem; padding:.15rem .5rem; border-radius:6px; }
.result-win  { background:#D1FAE5; color:#065F46; }
.result-draw { background:#FEF3C7; color:#92400E; }
.result-loss { background:#FEE2E2; color:#991B1B; }

.row-pending { background: #FFFBEB !important; }
.row-pending:hover { background: #FEF3C7 !important; }

