/* ============================================================
   Dugout Labs — Staff Tab + Director Dashboard Styles
   ============================================================ */

.staff-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  padding: 6px 0 10px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 8px;
}

.staff-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
}

/* ---- Staff card ---- */
.staff-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
}
.staff-card:last-of-type { border-bottom: none; }
.staff-card.pending { opacity: 0.7; }

.staff-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.staff-card-info { flex: 1; min-width: 0; }

.staff-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.staff-card-role {
  font-size: 12px;
  color: var(--accent-light);
  margin-top: 2px;
}

.staff-card-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.staff-you-badge {
  font-size: 10px;
  background: rgba(26,86,219,.15);
  color: var(--accent-light);
  padding: 1px 6px;
  border-radius: 20px;
  font-weight: 600;
}

/* ---- Director dashboard ---- */
.dir-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(26,86,219,.15);
  color: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(26,86,219,.3);
}

.dir-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dir-team-row:last-child { border-bottom: none; }
.dir-team-row:hover { background: var(--row-hover); margin: 0 -14px; padding: 10px 14px; border-radius: 6px; }

.dir-team-info { flex: 1; }
.dir-team-name { font-size: 14px; font-weight: 500; color: var(--text); }
.dir-team-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.dir-team-staff-count { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }

.dir-coach-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
}
.dir-coach-row:last-child { border-bottom: none; }
.dir-coach-info { flex: 1; min-width: 0; }
.dir-coach-name { font-size: 14px; font-weight: 500; color: var(--text); }
.dir-coach-role { font-size: 12px; color: var(--accent-light); margin-top: 2px; }

/* ---- My Organization nav button ---- */
.nav-org-btn {
  display: none; /* shown only for directors via JS */
  background: rgba(26,86,219,.12);
  border: 1px solid rgba(26,86,219,.25);
  color: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 8px 16px;
  width: calc(100% - 32px);
  text-align: left;
}
.nav-org-btn:hover { background: rgba(26,86,219,.2); }