.capability-manager {
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.tenant-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tenant-selector input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.capability-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.capability-card h3 {
  margin: 0 0 10px 0;
  color: #333;
}

.capability-id {
  font-family: monospace;
  font-size: 12px;
  color: #666;
  margin: 5px 0;
}

.version {
  font-size: 12px;
  color: #999;
  margin: 5px 0;
}

.state-indicator {
  margin: 15px 0;
}

.state-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.state-disabled {
  background-color: #f0f0f0;
  color: #666;
}

.state-pilot {
  background-color: #fff3cd;
  color: #856404;
}

.state-enabled {
  background-color: #d4edda;
  color: #155724;
}

.state-suspended {
  background-color: #f8d7da;
  color: #721c24;
}

.state-drain {
  background-color: #d1ecf1;
  color: #0c5460;
}

.actions select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.actions select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
}
